68 this =
this@models.BaseFullModel;
79 this.
System= models.burgers.BurgersSys(
this);
81 this.
SaveTag= sprintf(
" burgers_1D_d%d_combRHS ",dim);
82 this.
Name= sprintf(
" 1D-%dd unsteady Burgers equation (combined RHS) ",dim);
84 this.
System= models.burgers.BurgersSys_A(
this);
86 this.
ODESolver= solvers.SemiImplicitEuler(
this);
88 this.
SaveTag= sprintf(
" burgers_1D_d%d ",dim);
89 this.
Name= sprintf(
" 1D-%dd unsteady Burgers equation ",dim);
96 a = approx.DEIM(this.
System);
121 y = [zeros(nt,1) y^t zeros(nt,1)];
123 xx = linspace(this.
Omega(1), this.
Omega(2), this.fDim+2);
126 pm_ax = pm_ax.nextPlot(
" burgers ",sprintf(
" %s: dim=%d ",this.
Name,this.fDim),
" x ",
" t ");
139 #if 0 //mtoc++: 'set.Dimension'
150 #if 0 //mtoc++: 'get.Dimension'
char Name
The name of the Model.
PlotAzEl
Azimuth and elevation to use for model plotting.
error.BaseEstimator ErrorEstimator
The associated error estimator for this model.
Burgers(integer dim,integer version)
Creates a new instance of the Burgers model.
The base class for any KerMor detailed model.
double dt
The desired time-stepsize for simulations.
models.BaseFirstOrderSystem System
The actual dynamical system used in the model.
PlotManager: Small class that allows the same plots generated by some script to be either organized a...
logical LeaveOpen
Flag indicating if the plots should be left open once the PlotManager is deleted (as variable) ...
solvers.BaseSolver ODESolver
The solver to use for the ODE. Must be an instance of any solvers.BaseSolver subclass.
approx.BaseApprox Approx
The approximation method for the CoreFunction.
double T
The final timestep up to which to simulate.
data.ModelData Data
The full model's data container. Defaults to an empty container.
spacereduction.BaseSpaceReducer SpaceReducer
The reduction algorithm for subspaces.
function plot(double t,matrix< double > y, pm_ax)
double MaxTimestep
The maximum timestep allowed for any ODE solvers.
char SaveTag
A custom tag that can be used as a prefix to files for corresponding model identification.