51 this =
this@dscomponents.ACoreFun(system);
54 K0 = this.
System.K0(free,free);
55 this.
fDim= size(K0,1);
56 this.
xDim= size(K0,2);
94 error(
" not implemented ")
103 if isempty(this.currentx) || (norm(this.currentx - x) > 1e-8)
106 [Kx_full, dKx_full] = this.weak_form(x(1:length(m.free)));
109 this.Kx= Kx_full(m.free);
113 this.dKx= dKx_full(m.free, m.free);
115 this.dKx= [this.dKx zeros(size(this.dKx))];
122 function [R , K ] = weak_form(u) {
126 fdim = 7*data.num_knots;
132 nK = zeros(nel,1); nR = nK;
134 nR(
k) = length(el[
k].getGlobalIndices);
137 i = zeros(sum(nR.^2),1); j = i; K = i;
138 R = zeros(sum(nR),1); ir = R;
140 u_full = zeros(fdim,1);
142 u_full(m.dir_u) = m.u_dir;
148 index_glob = el[
k].getGlobalIndices;
149 [K_lok, R_lok] = el[
k].getLocalTangentials(u_full(index_glob));
154 [li,lj] = meshgrid(index_glob);
155 pos = Koff + (1:nR(
k)^2);
160 pos = Roff + (1:nR(k));
161 ir(pos) = index_glob;
165 Koff = Koff + nR(k)^2;
168 K = sparse(i,j,K,fdim,fdim);
170 R = sparse(ir,ones(size(ir)),R,fdim,1);
integer fDim
The current output dimension of the function.
function pr = project(V, W)
Model
The Model this System is attached to.
Basic interface for all dynamical system's core functions Inherits the AProjectable interface...
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,double t)
Daten nicht aktuell? (check inside)
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...
sparse< logical > JSparsityPattern
Sparsity pattern for the jacobian matrix.
function J = getStateJacobian(colvec< double > x,double t,colvec< double > mu)
Daten nicht aktuell? (check inside)
DLTNonlinearCoreFun(system)
W
The matrix of the biorthogonal pair .