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

Function N_VConst

externalpackages/PVODE/source/nvector.cpp:275–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

273
274
275void N_VConst(real c, N_Vector z)
276{
277 integer N;
278 real *zd;
279
280 N = z->length;
281 zd = z->data;
282
283#ifndef _OPENMP
284 for (integer i=0; i < N; i++)
285 *zd++ = c;
286#else
287 #pragma omp parallel for
288 for (integer i=0; i < N; i++)
289 zd[i] = c;
290#endif
291}
292
293
294void N_VProd(N_Vector x, N_Vector y, N_Vector z)

Callers 6

SpgmrSolveFunction · 0.85
CVSpgmrSolveFunction · 0.85
CVSpgmrAtimesDQFunction · 0.85
CVAdjustAdamsFunction · 0.85
CVnlsFunctionalFunction · 0.85
CVnlsNewtonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected