96 copy = error.DefaultEstimator;
97 copy =
clone@error.BaseEstimator(
this, copy);
147 [~, yf, ct, xf] = m.
simulate(this.
mu, inputidx);
161 ct = ct +
postProcess@error.BaseEstimator(
this, x, t, inputidx);
function ct = prepareConstants(colvec< double > mu,integer inputidx)
Return values: ct: The time needed for postprocessing.
function copy = clone()
Clones this DefaultEstimator.
models.BaseFullModel FullModel
The full model this reduced model was created from.
models.BaseFirstOrderSystem System
The actual dynamical system used in the model.
StateError
The reduction state-space error from the last simulation.
matrix< double > G
The custom scalar product matrix .
DEFAULTESTIMATOR Default error "estimator" for reduced models Standard estimator that is independent ...
The KerMor reduced model class.
matrix< double > V
The matrix that has been used for projection.
Base class for all error estimators.
Enabled
Flag that indicates whether error estimation is used or not.
A variable number of input arguments.
static function errmsg = validModelForEstimator(varargin)
function prepared = prepareForReducedModel(models.ReducedModel rmodel)
Default implementation which simply clones this (subclass!)instance and returns the copy to use in re...
function eint = evalODEPart()
The default estimator does not have an ODE part as it computes the full error in the postprocessing s...
DefaultEstimator(models.ReducedModel rmodel)
Creates the default error estimator that works with every model since it computes the full system err...
static function rowvec< double > n = LG(matrix< double > x, G)
Returns the -induced norm for each column vector in .
function ct = postProcess(colvec< double > x,double t,integer inputidx)
Overwrites the default postprocess method.
function y = computeOutput(matrix< double > x,colvec< double > mu)
Computes the output from a given state result vector , using the system's time and current mu (if gi...
static function rowvec< double > n = L2(matrix< double > x)
Returns the discrete norm for each column vector in x.
RealOutputError
The true output error for .
function offlineComputations(models.BaseFullModel model)
Performs a validity check for the given model and sets up the estimator for use with the specified mo...
models.ReducedModel ReducedModel
The reduced model associated with the error estimator.
Norm: Static class for commonly used norms on sets of vectors.
ExtraODEDims
The dimensions added to the ODE function by the estimator.
function [ rowvec< double > t , matrix< double > y , double sec , x ] = simulate(colvec< double > mu,integer inputidx)
Simulates the system and produces the system's output.
function e0 = getE0(colvec< double > mu)
This error estimator does not use any ODE dimensions, so the initial error part is an empty matrix...