Interface class for the generation and storage of reduced basis spaces as described in Module (M2).
Definition at line 17 of file IDetailedData.m.
Public Member Functions | |
IDetailedData (BasisGenDescr bg_descr, model_data) | |
constructor generating the reduced basis spaces More... | |
function ret = | subsref (S) |
forwarding of fieldnames access to the underlying model_data struct More... | |
virtual function
rb_size = | get_rb_size (IReducedModel rmodel) |
returns the dimension of the stored reduced basis space. More... | |
Public Attributes | |
BasisGenDescr | bg_descr |
struct describing how the basis shall be generated. More... | |
::ModelData | model_data |
struct holding \(H\)-dimensional model data, which is needed for an IDetailedModel.detailed_simulation(), e.g. a grid object. | |
IDetailedData.IDetailedData | ( | BasisGenDescr | bg_descr, |
model_data | |||
) |
constructor generating the reduced basis spaces
It overwrites all properties of the IDetailedData implementation with values given in the BasisGenDescr structure.
bg_descr | struct |
model_data | model data |
Definition at line 53 of file IDetailedData.m.
|
pure virtual |
returns the dimension of the stored reduced basis space.
rmodel | model specifying which basis space dimension shall be returned in case different spaces have been generated different parameters, time intervals or variables. In most implementations this parameter is unused. |
rb_size | rb size |
Implemented in NonlinEvol.DetailedData, TwoPhaseFlow.DetailedData, LinEvol.DetailedData, and Test.DetailedData.
function ret = IDetailedData.subsref | ( | S | ) |
forwarding of fieldnames access to the underlying model_data struct
If the user calls detailed_data.parameter
and the field parameter
exists in the underlying model_data
structure, the value of model_data.parameter
is returned. This method is implemented for compatibility reasons, such that a basis generation object can be used like an old model. Try to prevent usage of this method in the future.
RBmatlab:Compatibility
warning if a description field is accessed.S | S |
ret | ret |
Definition at line 88 of file IDetailedData.m.
IDetailedData.bg_descr |
struct describing how the basis shall be generated.
The fields in this structure usually override the default values of the used IDetailedData object. See gen_reduced_model() for more details.
Definition at line 30 of file IDetailedData.m.