MODEL Abstract model class.
This class represents abstract RB problems that define common interfaces.
Andreas Schmidt, 2016
Public Member Functions | |
virtual function dsim = | detailed_simulation (ModelData model_data) |
DETAILED_SIMULATION The function DETAILED_SIMULATION returns an instance of SimData and. More... | |
virtual function rsim = | rb_simulation (IReducedData reduced_data) |
REDUCED_SIMULATION This function should return a reduced simulation of type RBSimData. More... | |
function ModelData model_data = | gen_model_data () |
GEN_MODEL_DATA Use this function in order to create a class of type ModelData which contains all the large-scale model data such as the discretized operators. More... | |
function IDetailedData detailed_data = | gen_detailed_data (ModelData model_data) |
GEN_DETAILED_DATA Call the basis generation algorithm. More... | |
function IReducedData reduced_data = | gen_reduced_data (IDetailedData detailed_data) |
GEN_REDUCED_DATA Get the reduced data structures. More... | |
function pt = | problem_type () |
PROBLEM_TYPE Use this function to determine the problem type. So consider overwriting it if necessary! TODO: implement a smart interface that automatically generates the correct. More... | |
function mu = | get_mu () |
Get the parameter values. More... | |
function this = | set_mu (mu) |
Set the parameter values. More... | |
Public Attributes | |
mu | |
mu_names | |
mu_ranges | |
|
pure virtual |
DETAILED_SIMULATION The function DETAILED_SIMULATION returns an instance of SimData and.
DETAILED_SIMULATION Perform a detailed simulation, i.e. a high-dimensional solve of the DARE.
sim_data = riccati_detailed_simulation(model, model_data)
model_data | Matlab structure storing (possibly) high dimensional data needed by IDetailedModel.detailed_simulation(). |
dsim | dsim |
Calculate the full solution for a given problem. This function relies on the M.E.S.S. package from the MPI!
sim_data is a structure containing the following information Z ..................... The low rank factor, P = Z Z' time .................. Time for the solve
Andreas Schmidt, 2015
model_data | Matlab structure storing (possibly) high dimensional data needed by IDetailedModel.detailed_simulation(). |
sim_data | sim data |
K_in —
K inP —
P Z —
Z time —
time K —
Kmodel_data | Matlab structure storing (possibly) high dimensional data needed by IDetailedModel.detailed_simulation(). |
sim_data | sim data |
Z —
Z P —
P time —
time K —
K Definition at line 19 of file detailed_simulation.m.
function IDetailedData detailed_data = DARE.Model.gen_detailed_data | ( | ModelData | model_data | ) |
GEN_DETAILED_DATA Call the basis generation algorithm.
GEN_DETAILED_DATA Wrapper for the generation of the detailed data.
model_data | Matlab structure storing (possibly) high dimensional data needed by IDetailedModel.detailed_simulation(). |
detailed_data | detailed data |
Definition at line 91 of file Model.m.
function ModelData model_data = AbstractModel.Model.gen_model_data | ( | ) |
function IReducedData reduced_data = AbstractModel.Model.gen_reduced_data | ( | IDetailedData | detailed_data | ) |
GEN_REDUCED_DATA Get the reduced data structures.
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. |
reduced_data | reduced data |
Definition at line 107 of file Model.m.
function mu = AbstractModel.Model.get_mu | ( | ) |
function pt = AbstractModel.Model.problem_type | ( | ) |
|
pure virtual |
REDUCED_SIMULATION This function should return a reduced simulation of type RBSimData.
RB_SIMULATION Perform a reduced simulation.
reduced_data | an object constructing and storing all (low-dimensional) reduced matrices and vectors needed for reduced simulations. |
rsim | rsim |
Andreas Schmidt, 2015
reduced_data | an object constructing and storing all (low-dimensional) reduced matrices and vectors needed for reduced simulations. |
rbsim | rbsim |
gamma_function —
gamma function gamma_mode —
gamma mode estim.normE —
estim.normE estim.normEinv —
estim.normEinvPN —
PN time_sim —
time sim time_residual —
time residual residual —
residual nresidual —
nresidual nnresidual —
nnresidual gamma —
gamma time_gamma —
time gamma L —
L validity_crit —
validity crit valid —
valid error_estimate —
error estimate stab_crit —
stab crit stable —
stable time_errorestim —
time errorestimreduced_data | an object constructing and storing all (low-dimensional) reduced matrices and vectors needed for reduced simulations. |
rbsim | rbsim |
gamma_function —
gamma function gamma_mode —
gamma mode estim —
estim RB_W —
RB WPN —
PN time_sim —
time sim time_residual —
time residual residual —
residual nresidual —
nresidual gamma —
gamma time_gamma —
time gamma time_closed_loop_norm —
time closed loop norm validity_crit —
validity crit valid —
valid stab_crit —
stab crit stable —
stable closed_loop_stable —
closed loop stable closed_loop_max_eig —
closed loop max eig error_estimate —
error estimate time_error_estim —
time error estim Definition at line 19 of file rb_simulation.m.
function this = AbstractModel.Model.set_mu | ( | mu | ) |