Vlasiator ebf0dd394 on dev (v5.4.0 + 1054 commits)
Loading...
Searching...
No Matches
gpu_1d_plm.hpp File Reference
Include dependency graph for gpu_1d_plm.hpp:
This graph shows which files directly or indirectly include this file:

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)

Function Documentation

◆ compute_plm_coeff()

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.

Here is the call graph for this function: