50 this =
this@general.DEIM;
51 this =
this@approx.BaseApprox(sys);
64 fx =
evaluate@general.DEIM(
this, x, t);
91 error(
" Do not call me! ");
101 projected = this.
clone;
102 projected =
project@approx.BaseApprox(
this, V, W, projected);
103 projected =
project@general.DEIM(
this, V, W, projected);
108 copy = approx.DEIM(this.
System);
109 copy =
clone@approx.BaseApprox(
this, copy);
110 copy =
clone@general.DEIM(
this, copy);
117 obj =
loadobj@general.DEIM(obj, varargin[:]);
118 obj =
loadobj@approx.BaseApprox(obj, varargin[:]);
125 m = models.pcd.PCDModel(1);
126 m.EnableTrajectoryCaching=
false;
127 m.Approx= approx.DEIM(m.System);
128 m.Approx.MaxOrder= 40;
129 m.System.Params(1).Desired = 10;
130 m.SpaceReducer= spacereduction.PODGreedy;
131 m.offlineGenerations;
132 m.Approx.Order= [20 4];
133 r = m.buildReducedModel;
134 mu = m.getRandomParam;
136 r.System.f.Order= [15 2];
138 r.System.f.Order= 40;
function prepareSimulation(colvec< double > mu)
DEIM: Implements the DEIM-Algorithm from .
static function res = test_DEIM()
data.FileMatrix fxi
The evaluations of , stored row-wise in a data.FileMatrix.
The base class for any KerMor detailed model.
CustomProjection
Set this property if the projection process is customized by overriding the default project method...
models.BaseFirstOrderSystem System
The actual dynamical system used in the model.
function fx = evaluateMulti(colvec< double > x,double t,colvec< double > mu)
function prepareSimulation(colvec< double > mu)
A method that allows parameter-dependent computations to be performed before a simulation using this ...
logical TimeDependent
Flag that indicates if the ACoreFun is (truly) time-dependent.
function J = getStateJacobian(colvec< double > x,double t)
function projected = project(V, W)
dscomponents.ACompEvalCoreFun f
The function which DEIM is applied to.
function fx = evaluate(colvec< double > x,double t)
A variable number of input arguments.
function approximateSystemFunction(models.BaseFullModel model)
models.BaseFirstOrderSystem System
The system associated with the current ACoreFun.
V
The matrix of the biorthogonal pair .
colvec< double > mu
The current model parameter mu for evaluations. Will not be persisted as only valid for runtime durin...
data.ModelData Data
The full model's data container. Defaults to an empty container.
function fx = evaluateCoreFun()
do nothing as evaluate is overridden directly
function computeDEIM(dscomponents.ACompEvalCoreFun f,matrix< double > fxi)
Implementation of the DEIM algorithm.
Abstract base class for all core function approximations inside dynamical systems.
dscomponents.ACoreFun f
The core f function from the dynamical system.
DEIM: Wrapper for KerMor dynamical systems of the general.DEIM class.
W
The matrix of the biorthogonal pair .
data.ApproxTrainData ApproxTrainData
Training data for the core function approximation.
static function obj = loadobj(obj, varargin)