PLUTO
4.4-patch2
|
Compute linear reconstruction coefficients. More...
#include "pluto.h"
Functions | |
void | PLM_CoefficientsSet (Grid *grid) |
void | PLM_CoefficientsGet (PLM_Coeffs *plm_coeffs, int dir) |
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
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 |