Re: [Libmesh-users] checking truth solution with RBConstruction

2012-06-22 Thread David Knezevic
Hi K, The print_info you're quoting are the parameters that are read in from the input file. But you can of course set parameters for any subclass of RBParametrized (which includes RBEvaluation, RBConstruction, etc) just by calling set_parameters. To check an object's current parameters, just

Re: [Libmesh-users] checking truth solution with RBConstruction

2012-06-22 Thread Kyunghoon Lee
After checking the implementation of RBParametrized::initialize_parameters (const std::string& parameters_filename) I figured out I can set the initial parameter values at the third location as follows: load_Fx = '-2. 2. 1.1' load_Fy = '-2. 2. 1.2' I wonder if this is the only way we can set th

[Libmesh-users] checking truth solution with RBConstruction

2012-06-21 Thread Kyunghoon Lee
Hi all, I used to the following to get the truth solution to see if my model works correctly: rb_con.initialize_rb_construction(); std::vector online_mu_vector(rb_con.get_n_params()); for(unsigned int i=0; i online_mu_vector(rb_con.get_n_params()); for(unsigned int i=0; ihttp://ww