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

Function CVEwtSetSV

externalpackages/PVODE/source/cvode.cpp:1185–1196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1183********************************************************************/
1184
1185static boole CVEwtSetSV(CVodeMem cv_mem, real *rtol, N_Vector atol,
1186 N_Vector ycur, N_Vector ewtvec, integer neq)
1187{
1188 real rtoli;
1189
1190 rtoli = *rtol;
1191 N_VAbs(ycur, tempv);
1192 N_VLinearSum(rtoli, tempv, ONE, atol, tempv);
1193 if (N_VMin(tempv) <= ZERO) return(FALSE);
1194 N_VInv(tempv, ewtvec);
1195 return(TRUE);
1196}
1197
1198/******************* CVHin ***************************************
1199

Callers 1

CVEwtSetFunction · 0.85

Calls 4

N_VAbsFunction · 0.85
N_VLinearSumFunction · 0.85
N_VMinFunction · 0.85
N_VInvFunction · 0.85

Tested by

no test coverage detected