Detailed model for the Thermalblock problem.
This is a specialization of a linear stationary problem with simplified methods for parameter handling, and a modified output method.
Definition at line 18 of file DetailedModel.m.
Public Member Functions | |
DetailedModel (ModelDescr descr) | |
constructor based on problem description | |
function this = | set_mu (mu) |
sets the active parameter vector \(\mu \in {\cal M}\) | |
function mu = | get_mu () |
returns the active parameter vector \(\boldsymbol\mu \in {\cal M}\) | |
function p = | plot_sim_data (ModelData model_data, sim_data, plot_params) |
plots the simulation data as returned by detailed_simulation() | |
Public Member Functions inherited from LinStat.DetailedModel | |
DetailedModel (ModelDescr descr) | |
constructor based on problem description | |
function
sim_data = | detailed_simulation (ModelData model_data) |
function performing the detailed simulation of a lin-stat model, i.e. the matrix and RHS assembly and solving of the system, possibly also output computation. | |
function ModelData model_data = | gen_model_data () |
generates large model data. | |
function p = | plot_sim_data (ModelData model_data, sim_data, plot_params) |
plots the simulation data as returned by detailed_simulation() | |
Public Member Functions inherited from IDetailedModel | |
IDetailedModel (descr) | |
constructor | |
function
isequal = | eq (IDetailedModel other) |
overloaded equality (== ) operator, by default comparing the descr variables | |
virtual function
sim_data = | detailed_simulation (model_data) |
executes a detailed simulation for a given parameter | |
virtual function p = | plot_sim_data (model_data, sim_data, plot_params) |
plots the simulation data as returned by detailed_simulation() | |
Additional Inherited Members | |
Static Public Member Functions inherited from LinStat.DetailedModel | |
static function U = | get_dofs_from_sim_data (sim_data) |
extracts the \(H\) dimensional Dof vector from the sim_data structure | |
Public Attributes inherited from IDetailedModel | |
descr | |
The description structure holding information about the analytical parametrized problem and its discretization. | |
decomp_mode | |
mu_names | |
cell array of strings describing the parameters of the model | |
mu_ranges | |
cell array of vectors of size two defining the allowed interval range for the parameter components | |
verbose | |
an integer defining the verbosity level of information output during basis generation | |
debug | |
an integer defining the debugging level controlling error output and extra tests during basis generation | |
Static Public Attributes inherited from IDetailedModel | |
static const | base_checks |
this structure holds variable names that need to be defined by the descr structure. | |
ThermalBlock.DetailedModel.DetailedModel | ( | ModelDescr | descr | ) |
constructor based on problem description
descr | structure describing the problem and the discretization |
Definition at line 33 of file DetailedModel.m.
|
virtual |
returns the active parameter vector \(\boldsymbol\mu \in {\cal M}\)
The default implementation returns a vector of the values of the fields of the descr structure with names descr.mu_names
.
mu | The parameter vector \(\boldsymbol\mu\) |
Reimplemented from IDetailedModel.
Definition at line 53 of file DetailedModel.m.
function p = ThermalBlock.DetailedModel.plot_sim_data | ( | ModelData | model_data, |
sim_data, | |||
plot_params | |||
) |
plots the simulation data as returned by detailed_simulation()
This method actually calls femdiscfunc.plot().
model_data | Matlab structure storing (possibly) high dimensional data needed by IDetailedModel.detailed_simulation(). |
sim_data | simulation data structure as returned by detailed_simulation() |
plot_params | structure which controls the plot output |
p | GUI handle to the created MATLAB figure |
uh —
discrete Finite element function (c.f. femdiscfunc)subsampling_level —
number of sampling steps for interpolation of discrete Finite element functions. (default = 10) title —
title of the plot (default = none) no_lines —
boolean flag indicating whether lines between the grid cell shall be skipped drawing (default = 1) plot_blocks —
boolean flag indicating whether the thermal blocks shall be drawn. (default = 1) Definition at line 58 of file DetailedModel.m.
|
virtual |
sets the active parameter vector \(\mu \in {\cal M}\)
The parameter set here, is used by the detailed_simulation() function.
The default implementation sets all fieldnames descr.mu_names
in the descr struct.
mu | The parameter vector \(\boldsymbol\mu\). |
this | handle to the changed DetailedModel |
Reimplemented from IDetailedModel.
Definition at line 45 of file DetailedModel.m.