|
rbmatlab 0.10.01
|
generates an IReducedModel instance from a description structure. More...
Go to the source code of this file.
Functions | |
| function rmodel = | gen_reduced_model ( dmodel, BasisGenDescr bg_descr) |
| generates an IReducedModel instance from a description structure. | |
generates an IReducedModel instance from a description structure.
Definition in file gen_reduced_model.m.
| function rmodel = gen_reduced_model | ( | dmodel, | |
| BasisGenDescr | bg_descr | ||
| ) |
generates an IReducedModel instance from a description structure.
This function constructs the correct IReducedModel instance for a BasisGenDescr structure. The field rb_problem_type should contain the package name of the ReducedModel class. If e.g. descr.rb_problem_type equals the string LinEvol, an object of type LinEvol.ReducedModel is returned.
The class type of the returned object can also be chosen explictly by specifying the field descr.rmodel_constructor.
| dmodel | dmodel |
| bg_descr | a Matlab structure |
| rmodel | rmodel |
descr — descr rb_problem_type — rb problem typermodel_constructor — rmodel constructor rb_problem_type — rb problem type detailed_data_constructor — detailed data constructor reduced_data_constructor — reduced data constructor Definition at line 1 of file gen_reduced_model.m.
1.7.4