Interface class for all kind of reduced basis generation algorithms
Definition at line 18 of file Interface.m.
Public Member Functions | |
function Greedy.Combined summ = | horzcat () |
combines an arbitrary number of basis generation algorithms | |
function
detailed_data = | gen_detailed_data (IReducedModel rmodel, detailed_data,Greedy.Checkpoint checkpoint) |
main entry function construction the detailed data tree storing the reduced basis functions. | |
virtual function | prepare (IReducedModel rmodel,ModelData model_data) |
initialization routine for basis extension | |
virtual function
Greedy.DataTree.Detailed.INode detailed_data = | init_basis (IReducedModel rmodel,ModelData model_data) |
construction of an initial reduced basis | |
virtual function
Greedy.DataTree.Detailed.INode detailed_data = | basis_extension (IReducedModel rmodel,Greedy.DataTree.Detailed.INode detailed_data, checkpoint) |
basis extension routine | |
function value = | get_generated_basis_type () |
returns the generated_basis_type property. Why??? | |
Public Attributes | |
generated_basis_type | |
string specifying the detailed data produced by this basis generation algorithm object. | |
id | |
This is an id string inherited by the underlying extension algorithm object implementing a Greedy.Plugin.Interface. | |
boolean | enable_checkpointing = true |
control variable variable controlling whether check points shall be created after every reduced basis extension step. | |
|
pure virtual |
basis extension routine
This method is run by the gen_detailed_data() method at the very end, and shall actually construct the reduced basis.
rmodel | object specifying how the reduced simulations can be computed. |
detailed_data | object defining the basis generation algorithm and storage for storing high dimensional data, i.e. dependent on dimension \(H\). This data is necessary for detailed simulations, construction of online matrices, reduced_data and reconstruction of reduced simulations. |
checkpoint | checkpoint |
detailed_data | object storing the reduced basis information in the leaf nodes and information on the reduced basis generation in every node. |
function detailed_data = Greedy.Interface.gen_detailed_data | ( | IReducedModel | rmodel, |
detailed_data, | |||
Greedy.Checkpoint | checkpoint | ||
) |
main entry function construction the detailed data tree storing the reduced basis functions.
This method starts the reduced basis generation process, by calling the abstract interface methods init_basis() and basis_extension() subsequently. If enable_checkpointing is set to true
, checkpoint shall be created periodically storing all data necessary to resume from this point in the algorithm, when the checkpoint is given as the optional third argument.
rmodel | object providing descriptions of the entire model needed for basis generation. |
detailed_data | either a struct containing high dimensional model data needed to execute detailed simulations or an object of type Greedy.DataTree.Detailed.INode in case of resume from a checkpoint. |
checkpoint | object specifying a given point in the algorithm where it basis generation can be resumed. |
detailed_data | object storing the reduced basis information in the leaf nodes and information on the reduced basis generation in every node. |
store —
store child —
child Definition at line 108 of file Interface.m.
function value = Greedy.Interface.get_generated_basis_type | ( | ) |
returns the generated_basis_type property. Why???
value | value |
Hidden
set to true. Definition at line 234 of file Interface.m.
function Greedy.Combined summ = Greedy.Interface.horzcat | ( | ) |
combines an arbitrary number of basis generation algorithms
This constructs a Greedy.Combined object from a horizontal concatenation of basis generation objects.
summ | the constructed object |
Definition at line 86 of file Interface.m.
|
pure virtual |
construction of an initial reduced basis
This method is called at the beginning of the gen_detailed_data() method right after a call to prepare(). It should be used to construct an initial reduced basis, e.g. approximating the initial value functions in case of evolution problems.
rmodel | object specifying how the reduced simulations can be computed. |
model_data | Matlab structure storing (possibly) high dimensional data needed by IDetailedModel.detailed_simulation(). |
detailed_data | object storing the reduced basis information in the leaf nodes and information on the reduced basis generation in every node. |
|
pure virtual |
initialization routine for basis extension
This method is run by the gen_detailed_data() method before the execution of the init_basis() methods and should be used for preparation purposes, like
rmodel | object specifying how the reduced simulations can be computed. |
model_data | Matlab structure storing (possibly) high dimensional data needed by IDetailedModel.detailed_simulation(). |
Implemented in Greedy.Algorithm, Greedy.Combined, and Greedy.MetaInterface.
Greedy.Interface.enable_checkpointing = true |
control variable variable controlling whether check points shall be created after every reduced basis extension step.
SetAccess = Protected, GetAccess = Public
Definition at line 70 of file Interface.m.
Greedy.Interface.generated_basis_type |
string specifying the detailed data produced by this basis generation algorithm object.
This should be one of
ei
: for empirical interpolation basisrb
: for reduced basiseirb
: for combination fo empirical interpolation and reduced basisDependent
set to true. SetAccess = Private, GetAccess = Public
Definition at line 32 of file Interface.m.
Greedy.Interface.id |
This is an id string inherited by the underlying extension algorithm object implementing a Greedy.Plugin.Interface.
At the moment this id is not used.
Dependent
set to true. SetAccess = Private, GetAccess = Public
Definition at line 51 of file Interface.m.