Alamo
Public Member Functions | Static Public Member Functions | Static Public Attributes
Numeric::Advect::Centered Class Reference

#include <Centered.H>

Public Member Functions

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE int NGhost () const
 
template<class Phi , class Velocity >
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Set::Scalar operator() (Phi const &phi, Velocity const &velocity, int i, int j, int k, int comp, const Set::Scalar *DX, Options options={}, std::array< Numeric::StencilType, AMREX_SPACEDIM > stencil=Numeric::DefaultType) const
 
template<class Phi , class Velocity >
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Set::Scalar Scalar (Phi const &phi, Velocity const &velocity, int i, int j, int k, int comp, const Set::Scalar *DX, Options options={}, std::array< Numeric::StencilType, AMREX_SPACEDIM > stencil=Numeric::DefaultType) const
 

Static Public Member Functions

static void Parse (Centered &, IO::ParmParse &)
 

Static Public Attributes

static constexpr const char * name = "centered"
 
static constexpr Set::HC phi_location = Set::HC::Cell
 
static constexpr Set::HC velocity_location = Set::HC::Cell
 

Detailed Description

Definition at line 32 of file Centered.H.

Member Function Documentation

◆ NGhost()

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE int Numeric::Advect::Centered::NGhost ( ) const
inline

Definition at line 42 of file Centered.H.

◆ operator()()

template<class Phi , class Velocity >
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Set::Scalar Numeric::Advect::Centered::operator() ( Phi const &  phi,
Velocity const &  velocity,
int  i,
int  j,
int  k,
int  comp,
const Set::Scalar DX,
Options  options = {},
std::array< Numeric::StencilType, AMREX_SPACEDIM >  stencil = Numeric::DefaultType 
) const
inline

Definition at line 49 of file Centered.H.

◆ Parse()

static void Numeric::Advect::Centered::Parse ( Centered ,
IO::ParmParse  
)
inlinestatic

Definition at line 39 of file Centered.H.

◆ Scalar()

template<class Phi , class Velocity >
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Set::Scalar Numeric::Advect::Centered::Scalar ( Phi const &  phi,
Velocity const &  velocity,
int  i,
int  j,
int  k,
int  comp,
const Set::Scalar DX,
Options  options = {},
std::array< Numeric::StencilType, AMREX_SPACEDIM >  stencil = Numeric::DefaultType 
) const
inline

Definition at line 94 of file Centered.H.

Field Documentation

◆ name

constexpr const char* Numeric::Advect::Centered::name = "centered"
staticconstexpr

Definition at line 35 of file Centered.H.

◆ phi_location

constexpr Set::HC Numeric::Advect::Centered::phi_location = Set::HC::Cell
staticconstexpr

Definition at line 36 of file Centered.H.

◆ velocity_location

constexpr Set::HC Numeric::Advect::Centered::velocity_location = Set::HC::Cell
staticconstexpr

Definition at line 37 of file Centered.H.


The documentation for this class was generated from the following file: