rbmatlab  1.16.09
 All Classes Namespaces Files Functions Variables Modules Pages
List of all members | Public Member Functions | Public Attributes
SimpleDetailedData Class Reference

Detailed Description

a very simple detailed data implementation gathering several detailed snapshots spanning the reduced basis space.

If this IDetailedData implementation is used, a simple reduced basis with snapshots from detailed simulations for directly specified parameters is generated. The list of parameters is given by mu_list. Alternatively, the basis generation method can be customized with the field customized_basis_generation_ptr.

Definition at line 17 of file SimpleDetailedData.m.

Inheritance diagram for SimpleDetailedData:
Inheritance graph
[legend]
Collaboration diagram for SimpleDetailedData:
Collaboration graph
[legend]

Public Member Functions

 SimpleDetailedData (rmodel, model_data)
 constructor for the SimpleDetailedData class More...
 
function  delete_rb (index)
 removes certain reduced basis functions. More...
 
function siz = get_rb_size (dummy)
 returns the dimension of the stored reduced basis space More...
 
- Public Member Functions inherited from IDetailedData
 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

 RB
 matrix of size H x N holding the Dof vectors of the reduced basis snapshot vectors spanning the reduced basis space \({\cal W}_{\text{red}} \subset {\cal W}_h\)
 
 mu_list
 a list of mu vectors for which snapshots shall be added to the reduced basis space More...
 
 do_pod = false
 boolean flag indicating whether a POD shall be applied to the reduced basis vectors. More...
 
 do_orthonormalize = false
 boolean flag indicating whether the reduced basis vectors shall be orthonormalized. More...
 
 customized_basis_generation_ptr = "[]"
 
- Public Attributes inherited from IDetailedData
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.
 

Constructor & Destructor Documentation

SimpleDetailedData.SimpleDetailedData (   rmodel,
  model_data 
)

constructor for the SimpleDetailedData class

Parameters
rmodelrmodel
model_datamodel data
Required fields of rmodel:
  • bg_descr —  bg descr
  • descr.mu_ranges —  descr.mu ranges
  • get_dofs_from_sim_data —  get dofs from sim data
  • descr.get_inner_product_matrix —  descr.get inner product matrix

Definition at line 85 of file SimpleDetailedData.m.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Function Documentation

function SimpleDetailedData.delete_rb (   index)

removes certain reduced basis functions.

Parameters
indexan index vector of reduced basis functions to be removed

Definition at line 134 of file SimpleDetailedData.m.

function siz = SimpleDetailedData.get_rb_size (   dummy)

returns the dimension of the stored reduced basis space

Parameters
dummydummy
Return values
sizsiz

Definition at line 145 of file SimpleDetailedData.m.

Member Data Documentation

SimpleDetailedData.do_orthonormalize = false

boolean flag indicating whether the reduced basis vectors shall be orthonormalized.


Default: false

Definition at line 69 of file SimpleDetailedData.m.

SimpleDetailedData.do_pod = false

boolean flag indicating whether a POD shall be applied to the reduced basis vectors.


Default: false

Definition at line 59 of file SimpleDetailedData.m.

SimpleDetailedData.mu_list

a list of mu vectors for which snapshots shall be added to the reduced basis space

: By default only the barycenter of the parameter domain defined by ModelDescr.mu_ranges is in this list.

Definition at line 46 of file SimpleDetailedData.m.


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