|
PLUTO
|
Compute linear reconstruction coefficients. More...
#include "pluto.h"
Go to the source code of this file.
Functions | |
| void | PLM_CoefficientsSet (Grid *grid) |
| void | PLM_CoefficientsGet (PLM_Coeffs *plm_coeffs, int dir) |
Variables | |
| static double ** | cp3D |
| static double ** | cm3D |
| static double ** | wp3D |
| static double ** | wm3D |
| static double ** | dp3D |
| static double ** | dm3D |
Compute linear reconstruction coefficients.
Reconstruction coefficients needed for linear interpolation are computed in the PLM_CoefficientsSet() each time a new grid is created. There's a different set of 1D coefficients in each direction.
The function PLM_CoefficientsGet() can be used to obtain a set of coefficients along a desired direction.
References
Definition in file plm_coeffs.c.
| void PLM_CoefficientsGet | ( | PLM_Coeffs * | plm_coeffs, |
| int | dir | ||
| ) |
Retrieve reconstruction coefficients in the PLM_Coeffs structure. This function can be called only if the previous one has been completed already.
| [out] | plm_coeffs | a pointer to a PLM_Coeffs structure containing the 1D coefficients needed for reconstruction |
| [in] | dir | the desired direction |
Definition at line 79 of file plm_coeffs.c.


| void PLM_CoefficientsSet | ( | Grid * | grid | ) |
Compute interpolation coefficients for linear reconstruction.
| [in] | grid | pointer to array of grid structure |
Definition at line 30 of file plm_coeffs.c.

|
static |
Definition at line 25 of file plm_coeffs.c.
|
static |
Definition at line 25 of file plm_coeffs.c.
|
static |
Definition at line 27 of file plm_coeffs.c.
|
static |
Definition at line 27 of file plm_coeffs.c.
|
static |
Definition at line 26 of file plm_coeffs.c.
|
static |
Definition at line 26 of file plm_coeffs.c.