#include "SpectralKSpace_fwd.H"
#include "Utils/WarpX_Complex.H"
#include <AMReX_Array.H>
#include <AMReX_BoxArray.H>
#include <AMReX_Config.H>
#include <AMReX_GpuContainers.H>
#include <AMReX_LayoutData.H>
#include <AMReX_REAL.H>
#include <AMReX_RealVect.H>
#include <AMReX_Vector.H>
#include <AMReX_BaseFwd.H>
Go to the source code of this file.
|
| amrex::Vector< amrex::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...
|
| |
◆ KVectorComponent
◆ RealKVector
| using RealKVector = amrex::Gpu::DeviceVector<amrex::Real> |
◆ SpectralShiftFactor
◆ getFornbergStencilCoefficients()
| amrex::Vector<amrex::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).
- Parameters
-
| [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 |