rbmatlab  1.13.10
 All Classes Namespaces Files Functions Variables Groups Pages
List of all members | Public Member Functions | Public Attributes
Greedy.Combined Class Reference

Detailed Description

combines two or more instances of a Greedy.Interface class by executing them subsequently.

Definition at line 18 of file Combined.m.

Inheritance diagram for Greedy.Combined:
Inheritance graph
[legend]
Collaboration diagram for Greedy.Combined:
Collaboration graph
[legend]

Public Member Functions

 Combined (Greedy.Interface varargin)
 constructor storing the Greedy.Interface instances to be combined.
 
function  prepare (IReducedModel rmodel,ModelData model_data)
 initialization routine for basis extension
 
function IDetailedData
detailed_data = 
init_basis (Greedy.User.IReducedModel rmodel,ModelData model_data)
 construction of an initial reduced basis
 
function Greedy.User.IDetailedData
detailed_data = 
basis_extension (Greedy.User.IReducedModel rmodel,Greedy.User.IDetailedData detailed_data, checkpoint)
 basis extension routine
 
function SnapshotsGenerator.Cached
rb_basis_gen = 
get_rb_basis_generator ()
 returns the snapshot generator for the reduced basis construction
 
function SnapshotsGenerator.Cached
rb_basis_gen = 
get_ei_basis_generator ()
 returns the snapshot generator for the reduced basis construction
 
- Public Member Functions inherited from Greedy.Interface
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 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
 
 id
 
- Public Attributes inherited from Greedy.Interface
 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.
 

Constructor & Destructor Documentation

Greedy.Combined.Combined ( Greedy.Interface  varargin)

constructor storing the Greedy.Interface instances to be combined.

Parameters
varargina list of greedy algorithm instances

Definition at line 46 of file Combined.m.

Member Function Documentation

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.

Parameter values
checkpoint: an object of type Greedy.Checkpoint used for checkpointing.
Parameters
rmodelobject specifying how the reduced simulations can be computed.
detailed_dataobject 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.
checkpointcheckpoint
Return values
detailed_dataobject 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

Return values
rb_basis_gensnapshot 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

Return values
rb_basis_gensnapshot 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.

Parameters
rmodelobject specifying how the reduced simulations can be computed.
model_dataMatlab structure storing (possibly) high dimensional data needed by IDetailedModel.detailed_simulation().
Return values
detailed_dataobject 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.

function Greedy.Combined.prepare ( IReducedModel  rmodel,
ModelData  model_data 
)
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

  • initialization of the training and validation parameter space and
  • caching detailed simulations if necessary.
Parameters
rmodelobject specifying how the reduced simulations can be computed.
model_dataMatlab structure storing (possibly) high dimensional data needed by IDetailedModel.detailed_simulation().

Implements Greedy.Interface.

Definition at line 93 of file Combined.m.

Member Data Documentation

Greedy.Combined.generated_basis_type
Note
[readonly]

Definition at line 29 of file Combined.m.

Greedy.Combined.id
Note
[readonly]

Definition at line 32 of file Combined.m.


The documentation for this class was generated from the following file: