On Fri, Feb 7, 2020 at 1:34 PM Nikhil Vaidya <nikhilvaidy...@gmail.com> wrote:
> Ah, I should've put my question clearly. I meant which NumericVector is the > solution saved in? I am asking this because I would like to compute the RB > vs FE error in energy norm and check if it is indeed lower than the error > bound returned by TransientRBEvaluation::rb_solve() > TransientRBConstruction is a subclass of System, and it stores each time step in the System's solution vector. In particular, it calls solve_for_matrix_and_rhs() at each time step, which uses the solution vector. Note also that there is a boolean compute_truth_projection_error that can be used to compute the error between the RB solution and FE solution (that is used in the RB training), so you might want to look into that, and the set_error_temporal_data() function. You'll have to dig around in TransientRBConstruction a bit in order to do what you want, I think. Note that the TransientRB code hasn't had much attention lately, so if you want to make any updates or improvements to the code, please feel free to submit a PR. Best regards, David > > On Fri, Feb 7, 2020, 4:54 PM David Knezevic <david.kneze...@akselos.com> > wrote: > > > I would like to know where the transient RB truth solution is saved > during > >> the execution of the function TransientRBConstruction::truth_solve(). > >> > > > > I believe it just writes it to the current directory. You specify > > "write_interval" and then it will write out the solution at those > > intervals, e.g. if write_interval = 10, it will write out every 10th time > > step. If write_interval is <= 0, then it doesn't write anything. > > > > Best regards, > > David > > > > > > _______________________________________________ > Libmesh-users mailing list > Libmesh-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/libmesh-users > _______________________________________________ Libmesh-users mailing list Libmesh-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-users