|
WarpX
|
#include "SpectralKSpace.H"#include "Utils/WarpXConst.H"#include <AMReX_BLassert.H>#include <AMReX_Box.H>#include <AMReX_BoxList.H>#include <AMReX_GpuComplex.H>#include <AMReX_GpuDevice.H>#include <AMReX_GpuLaunch.H>#include <AMReX_GpuQualifiers.H>#include <AMReX_IndexType.H>#include <AMReX_IntVect.H>#include <AMReX_MFIter.H>#include <array>#include <cmath>#include <vector>Functions | |
| Vector< Real > | getFornbergStencilCoefficients (const int n_order, const bool nodal) |
Returns an array of coefficients (Fornberg coefficients), corresponding to the weight of each point in a finite-difference approximation of a derivative (up to order n_order). More... | |
| Vector<Real> getFornbergStencilCoefficients | ( | const int | n_order, |
| const bool | nodal | ||
| ) |
Returns an array of coefficients (Fornberg coefficients), corresponding to the weight of each point in a finite-difference approximation of a derivative (up to order n_order).
| [in] | n_order | order of the finite-difference approximation |
| [in] | nodal | whether the finite-difference approximation is computed on a nodal grid or a staggered grid |
1.8.13