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

Go to the source code of this file.

Functions

static void compute_plm_coeff (const Vec *const values, const uint k, Vec a[2], const Realf threshold)

Function Documentation

◆ compute_plm_coeff()

void compute_plm_coeff ( const Vec *const values,
const uint k,
Vec a[2],
const Realf threshold )
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 cpu_1d_plm.hpp.

Here is the call graph for this function:
Here is the caller graph for this function: