|
Vlasiator ebf0dd394 on dev (v5.4.0 + 1054 commits)
|


Go to the source code of this file.
Functions | |
| static ARCH_DEV void | compute_plm_coeff (const Realf *__restrict__ const values, int k, Realf a[2], const Realf threshold, const int index, const int stride) |
|
inlinestatic |
Compute PLM coefficients f(v) = a[0] + a[1]/2.0*t t=(v-v_{i-0.5})/dv where v_{i-0.5} is the left face of a cell The factor 2.0 is in the polynom to ease integration, then integral is a[0]*t + a[1]*t**2
Definition at line 38 of file gpu_1d_plm.hpp.
