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

Function CVRescale

externalpackages/PVODE/source/cvode.cpp:1556–1568  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1554***************************************************************/
1555
1556static void CVRescale(CVodeMem cv_mem)
1557{
1558 int j;
1559 real factor;
1560
1561 factor = eta;
1562 for (j=1; j <= q; j++) {
1563 N_VScale(factor, zn[j], zn[j]);
1564 factor *= eta;
1565 }
1566 h = hscale * eta;
1567 hscale = h;
1568}
1569
1570/********************* CVPredict *************************************
1571

Callers 3

CVAdjustParamsFunction · 0.85
CVHandleNFlagFunction · 0.85
CVDoErrorTestFunction · 0.85

Calls 1

N_VScaleFunction · 0.85

Tested by

no test coverage detected