KerMor  0.9
Model order reduction for nonlinear dynamical systems and nonlinear approximation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RiemBurgSys.m
Go to the documentation of this file.
1 namespace models{
2 namespace rbmatlab{
3 
4 
5 /* (Autoinserted by mtoc++)
6  * This source code has been filtered by the mtoc++ executable,
7  * which generates code that can be processed by the doxygen documentation tool.
8  *
9  * On the other hand, it can neither be interpreted by MATLAB, nor can it be compiled with a C++ compiler.
10  * Except for the comments, the function bodies of your M-file functions are untouched.
11  * Consequently, the FILTER_SOURCE_FILES doxygen switch (default in our Doxyfile.template) will produce
12  * attached source files that are highly readable by humans.
13  *
14  * Additionally, links in the doxygen generated documentation to the source code of functions and class members refer to
15  * the correct locations in the source code browser.
16  * However, the line numbers most likely do not correspond to the line numbers in the original MATLAB source files.
17  */
18 
39  public:
40 
42  this = this@models.BaseFirstOrderSystem(model);
43  this.TimeDependent= true;
44 
45  this.x0= dscomponents.PointerInitialValue(@(mu)this.getx0(mu));
46 
47  /* DS-Components */
48  this.f= models.rbmatlab.RiemBurgFun(this);
49  this.B= [];
50  this.Inputs= [];
51 
52  /* Parameters */
53  this.addParam(" ULeft ", .3);
54  this.addParam(" URight ", .5, " Range ", [.1, 1], " Desired ", 30);
55  this.addParam(" xFlux ", -.5);
56 
57  /* Output conversion
58  *c = zeros(1, params.xnumintervals*params.ynumintervals);
59  *c(round(.75*params.xnumintervals)) = 1;
60  *this.C = dscomponents.PointerOutputConv(@(t,mu)c,false); */
61  }
62 
63 
64  function x0 = getx0(colvec<double> mu) {
65  rbm = this.Model.RBMModel;
66  rbm = rbm.set_mu(rbm,mu);
67  /* initial values by midpoint evaluation */
68  x0 = rbm.init_values_algorithm(rbm,this.Model.RBMDataCont.RBMData);
69  }
70 
71 
72 
73 };
74 }
75 }
76 
The base class for any KerMor detailed model.
Definition: BaseFullModel.m:18
dscomponents.AInputConv B
The input conversion.
Model
The Model this System is attached to.
function x0 = getx0(colvec< double > mu)
Definition: RiemBurgSys.m:64
dscomponents.AInitialValue x0
Function handle to initial state evaluation.
RiemBurgSys(models.BaseFullModel model)
Definition: RiemBurgSys.m:41
mu
The current parameter for simulations, [] is none used.
Inputs
The system's possible input functions. A cell array of function handles, each taking a time argument ...
dscomponents.ACoreFun f
The core f function from the dynamical system.
function ModelParam p = addParam(char name, default, varargin)
Adds a parameter with the given values to the parameter collection of the current dynamical system...
Base class for all KerMor first-order dynamical systems.