combines two or more instances of a Greedy.Interface class by executing them subsequently.
Definition at line 18 of file Combined.m.
Public Member Functions | |
Combined (Greedy.Interface varargin) | |
constructor storing the Greedy.Interface instances to be combined. More... | |
function | prepare (IReducedModel rmodel,ModelData model_data) |
initialization routine for basis extension More... | |
function IDetailedData detailed_data = | init_basis (Greedy.User.IReducedModel rmodel,ModelData model_data) |
construction of an initial reduced basis More... | |
function
Greedy.User.IDetailedData detailed_data = | basis_extension (Greedy.User.IReducedModel rmodel,Greedy.User.IDetailedData detailed_data, checkpoint) |
basis extension routine More... | |
function
SnapshotsGenerator.Cached rb_basis_gen = | get_rb_basis_generator () |
returns the snapshot generator for the reduced basis construction More... | |
function
SnapshotsGenerator.Cached rb_basis_gen = | get_ei_basis_generator () |
returns the snapshot generator for the reduced basis construction More... | |
Public Member Functions inherited from Greedy.Interface | |
function Greedy.Combined summ = | horzcat () |
combines an arbitrary number of basis generation algorithms More... | |
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. More... | |
virtual function
Greedy.DataTree.Detailed.INode detailed_data = | init_basis (IReducedModel rmodel,ModelData model_data) |
construction of an initial reduced basis More... | |
virtual function
Greedy.DataTree.Detailed.INode detailed_data = | basis_extension (IReducedModel rmodel,Greedy.DataTree.Detailed.INode detailed_data, checkpoint) |
basis extension routine More... | |
function value = | get_generated_basis_type () |
returns the generated_basis_type property. Why??? More... | |
Public Attributes | |
generated_basis_type | |
id | |
Public Attributes inherited from Greedy.Interface | |
generated_basis_type | |
string specifying the detailed data produced by this basis generation algorithm object. More... | |
id | |
This is an id string inherited by the underlying extension algorithm object implementing a Greedy.Plugin.Interface. More... | |
boolean | enable_checkpointing = true |
control variable variable controlling whether check points shall be created after every reduced basis extension step. More... | |
Greedy.Combined.Combined | ( | Greedy.Interface | varargin | ) |
constructor storing the Greedy.Interface instances to be combined.
varargin | a list of greedy algorithm instances |
Definition at line 46 of file Combined.m.
function Greedy.User.IDetailedData detailed_data = Greedy.Combined.basis_extension | ( | Greedy.User.IReducedModel | rmodel, |
Greedy.User.IDetailedData | detailed_data, | ||
checkpoint | |||
) |
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. |
Definition at line 148 of file Combined.m.
function SnapshotsGenerator.Cached rb_basis_gen = Greedy.Combined.get_ei_basis_generator | ( | ) |
returns the snapshot generator for the reduced basis construction
rb_basis_gen | snapshot generator |
Definition at line 201 of file Combined.m.
function SnapshotsGenerator.Cached rb_basis_gen = Greedy.Combined.get_rb_basis_generator | ( | ) |
returns the snapshot generator for the reduced basis construction
rb_basis_gen | snapshot generator |
Definition at line 186 of file Combined.m.
function IDetailedData detailed_data = Greedy.Combined.init_basis | ( | Greedy.User.IReducedModel | rmodel, |
ModelData | model_data | ||
) |
construction of an initial reduced basis
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. |
Definition at line 100 of file Combined.m.
|
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(). |
Implements Greedy.Interface.
Definition at line 93 of file Combined.m.
Greedy.Combined.generated_basis_type |
Definition at line 29 of file Combined.m.
Greedy.Combined.id |
Definition at line 32 of file Combined.m.