MCPcopy Create free account
hub / github.com/boutproject/BOUT-dev / CVYddNorm

Function CVYddNorm

externalpackages/PVODE/source/cvode.cpp:1308–1320  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1306******************************************************************/
1307
1308static real CVYddNorm(CVodeMem cv_mem, real hg)
1309{
1310 real yddnrm;
1311
1312 N_VLinearSum(hg, zn[1], ONE, zn[0], y);
1313 f(N, tn+hg, y, tempv, f_data);
1314 nfe++;
1315 N_VLinearSum(ONE, tempv, -ONE, zn[1], tempv);
1316 N_VScale(ONE/hg, tempv, tempv);
1317
1318 yddnrm = N_VWrmsNorm(tempv, ewt);
1319 return(yddnrm);
1320}
1321
1322/********************* CVStep **************************************
1323

Callers 1

CVHinFunction · 0.85

Calls 4

N_VLinearSumFunction · 0.85
fFunction · 0.85
N_VScaleFunction · 0.85
N_VWrmsNormFunction · 0.85

Tested by

no test coverage detected