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.
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. | |
SimpleDetailedData.SimpleDetailedData | ( | rmodel, | |
model_data | |||
) |
constructor for the SimpleDetailedData class
rmodel | rmodel |
model_data | model data |
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.
function SimpleDetailedData.delete_rb | ( | index | ) |
removes certain reduced basis functions.
index | an 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
dummy | dummy |
siz | siz |
Definition at line 145 of file SimpleDetailedData.m.
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.