2 % reduced model
for linear stationary problems as given by a
6 enable_error_estimator =
false;
10 function rm = ReducedModel(dmodel, bg_descr)
11 %
function rm = ReducedModel(detailed_model, basis_generator)
12 % Constructor
for the reduced model.
17 %
this implements a copy constructor
if necessary...
26 rb_sim_data = rb_simulation(
this, reduced_data);
28 function rb_sim_data = rb_reconstruction(
this, detailed_data, rb_sim_data)
29 %
function rb_sim_data = rb_reconstruction(
this, detailed_data, rb_sim_data)
34 % rb_sim_data:
struct holding reduced simulation data returned by
IReducedModelrb_simulation().
37 % rb_sim_data: struct holding the reduced simulation results and their
40 % (trivial) function computing a detailed reconstruction by linear
41 % combination of the coefficients in the simulation data with the
42 % orthonormal reduced basis RB
44 % Bernard Haasdonk 22.2.2011
46 if ~isfield(rb_sim_data,'uh')
47 rb_sim_data.uh =
femdiscfunc([],detailed_data.model_data.df_info);
49 rb_sim_data.uh.dofs = ...
50 detailed_data.RB(:,1:length(rb_sim_data.uN)) * rb_sim_data.uN;
53 function c = copy(this)
54 % function c = copy(this)
65 function Delta = get_estimators_from_sim_data(rb_sim_data)
66 % function Delta = get_estimators_from_sim_data(sim_data)
67 % @copybrief IReducedModel.get_estimators_from_sim_data()
69 % @copydetails IReducedModel.get_estimators_from_sim_data()
70 Delta = rb_sim_data.Delta;
73 function Delta = get_estimator_from_sim_data(rb_sim_data)
74 % function Delta = get_estimator_from_sim_data(sim_data)
78 Delta = rb_sim_data.Delta(end);
class representing a continous piecewise polynomial function of arbitrary dimension. DOFS correspond to the values of Lagrange-nodes.
reduced model for linear stationary problems as given by a LinStat.DetailedModel. ...
static function Delta = get_estimator_from_sim_data(rb_sim_data)
Static helper method returning an error estimator for the whole reduced trajectory generated by rb_s...
Reduced basis implementation for linear stationary PDEs.
virtual function IReducedModel c = copy()
function that deep copies this handle class
Reduced data implementation for linear stationary problems with finite element discretizations.
So far, this only implements the SimpleDetailedData class.
Detailed model for a linear stationary problem with a Finite element discretization.
This is the interface for a reduced model providing methods to compute low dimensional reduced simula...
virtual function rb_sim_data = rb_reconstruction(detailed_data, rb_sim_data)
reconstructs the reduced simulation snapshots generated by rb_simulation() in the reduced space ...