47 this =
this@dscomponents.ACompEvalCoreFun(sys);
54 fx = - x.*(this.
Ax*x);
59 hlp = bsxfun(@times,this.
Ax,x);
60 J = -hlp - spdiags(this.
Ax*x,0,size(x,1),size(x,1));
67 dx = (m.Omega(2) - m.Omega(1))/(n+1);
70 this.
Ax= spdiags([-d1 0*d1 d1], -1:1, n, n);
79 copy =
clone@dscomponents.ACompEvalCoreFun(
this, models.burgers.BurgersF_NoA(
this.System));
87 fxj = zeros(length(pts),size(X,2));
96 xidx = (st+1):ends(idx);
98 fxj(idx,:) = - x(
self(xidx),:) .* (this.
Ax(pt,argidx(xidx))*x);
integer fDim
The current output dimension of the function.
CustomProjection
Set this property if the projection process is customized by overriding the default project method...
logical TimeDependent
Flag that indicates if the ACoreFun is (truly) time-dependent.
Model
The Model this System is attached to.
function fxj = evaluateComponents(rowvec< integer > pts,rowvec< integer > ends,rowvec< integer > argidx,rowvec< integer > self,matrix< double > X, unused1, unused2)
Evaluates the burgers nonlinearity pointwise.
A variable number of input arguments.
integer xDim
The current state space dimension of the function's argument .
models.BaseFirstOrderSystem System
The system associated with the current ACoreFun.
function fx = evaluateCoreFun(colvec< double > x, unused1, unused2)
sparse< logical > JSparsityPattern
Sparsity pattern for the jacobian matrix.
function fxj = evaluateComponentsMulti(varargin)
ACompEvalCoreFun: A normal CoreFun which supports single-component evaluation.
function J = getStateJacobian(colvec< double > x, unused1, unused2)