Thank you for a reply, David.
I know the code, "libMesh::out << "Maximum error bound is " << training_greedy_error << std::endl" in rb_construction.C in order to print error bounds during the RB training. However, the "training_greedy_error" is a "Maximum solution error bound," not a "Maximum output error bound." If you look at the "Real RBEvaluation::rb_solve(unsigned int N)," variables associated with "Maximum solution error bound" and "Maximum output error bound" are as follows. ======================================================================================== * "abs_error_bound" at line 272 >> This is the "solution error bound," which is already in print at every step >> of RB training. * "RB_output_error_bounds" at line 277 >> This is the "output error bound," the error I want to print at every step of >> RB training. ===================================================================================== In other words, my question is as follows: Can I print a "Maximum output solution error bound" in each basis dimension? I look forward to hearing from you. Best regards, SKang From: David Knezevic <[email protected]> Sent: Friday, January 18, 2019 11:57 PM To: 강신성 <[email protected]> Cc: libmesh-users <[email protected]> Subject: Re: [Libmesh-users] [RB] How to print output error bounds in the offline stage (RB training) On Fri, Jan 18, 2019 at 1:37 AM <[email protected] <mailto:[email protected]> > wrote: Hello, all. I have a question about printing output error bounds in the offline stage. We can see that maximum solution error bounds of each step in the RB training process, such as ================================================================== . ---- Basis dimension: 1 ---- Performing RB solves on training set Maximum error bound is 1.07082 Performing truth solve at parameter: . ================================================================== Besides, using the code "rb_eval.RB_output_error_bounds[0]" in the main program, I printed the output error bound after the RB training. However, I cannot find any way to print all output error bounds during an RB training. In other words, I want to see output error bound corresponding the basis dimension similar to the above code. Could you please tell me how to print them? I always thank you for your help. I'm not really sure what you want to print... but the print statement you referred to above is in rb_construction.C, where it does "libMesh::out << "Maximum error bound is " << training_greedy_error << std::endl << std::endl;". I guess you could do something like that in your code, or add libMesh::out calls in your local libMesh in order to print more info? Best, David _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
