7#ifndef ABLASTR_MATH_FINITE_DIFFERENCE_H_
8#define ABLASTR_MATH_FINITE_DIFFERENCE_H_
25 [[nodiscard]] amrex::Vector<amrex::Real>
40 amrex::Vector<amrex::Real>& ordered_coeffs,
41 const amrex::Vector<amrex::Real>& unordered_coeffs,
int order);
amrex::Vector< amrex::Real > getFornbergStencilCoefficients(const int n_order, GridType a_grid_type)
Returns an array of coefficients (Fornberg coefficients), corresponding to the weight of each point i...
Definition FiniteDifference.cpp:19
void ReorderFornbergCoefficients(amrex::Vector< amrex::Real > &ordered_coeffs, const amrex::Vector< amrex::Real > &unordered_coeffs, const int order)
Re-orders the Fornberg coefficients so that they can be used more conveniently for finite-order cente...
Definition FiniteDifference.cpp:63
GridType
Definition Enums.H:23