IPPL (Independent Parallel Particle Layer)
IPPL
Loading...
Searching...
No Matches
ippl::ExtrapolateFace< Field > Class Template Reference

#include <BcTypes.h>

Inheritance diagram for ippl::ExtrapolateFace< Field >:
Collaboration diagram for ippl::ExtrapolateFace< Field >:

Public Types

using base_type = detail::BCondBase<Field>
using Layout_t = typename detail::BCondBase<Field>::Layout_t

Public Member Functions

 ExtrapolateFace (unsigned face, T offset, T slope)
virtual ~ExtrapolateFace ()=default
virtual FieldBC getBCType () const
virtual void findBCNeighbors (Field &)
virtual void apply (Field &field)
virtual void assignGhostToPhysical (Field &field)
virtual void write (std::ostream &out) const
const TgetOffset () const
const TgetSlope () const
unsigned int getFace () const
bool changesPhysicalCells () const

Protected Attributes

T offset_m
T slope_m
unsigned int face_m
bool changePhysical_m

Private Types

using T = typename Field::value_type

Static Private Attributes

static constexpr unsigned Dim = Field::dim

Detailed Description

template<typename Field>
class ippl::ExtrapolateFace< Field >

Definition at line 84 of file BcTypes.h.

Member Typedef Documentation

◆ base_type

template<typename Field>
using ippl::ExtrapolateFace< Field >::base_type = detail::BCondBase<Field>

Definition at line 93 of file BcTypes.h.

◆ Layout_t

template<typename Field>
using ippl::ExtrapolateFace< Field >::Layout_t = typename detail::BCondBase<Field>::Layout_t

Definition at line 94 of file BcTypes.h.

◆ T

template<typename Field>
using ippl::ExtrapolateFace< Field >::T = typename Field::value_type
private

Definition at line 86 of file BcTypes.h.

Constructor & Destructor Documentation

◆ ExtrapolateFace()

template<typename Field>
ippl::ExtrapolateFace< Field >::ExtrapolateFace ( unsigned face,
T offset,
T slope )
inline

Definition at line 96 of file BcTypes.h.

References offset_m, and slope_m.

Referenced by ippl::ConstantFace< Field >::ConstantFace().

Here is the caller graph for this function:

◆ ~ExtrapolateFace()

template<typename Field>
virtual ippl::ExtrapolateFace< Field >::~ExtrapolateFace ( )
virtualdefault

Member Function Documentation

◆ apply()

◆ assignGhostToPhysical()

template<typename Field>
void ippl::ExtrapolateFace< Field >::assignGhostToPhysical ( Field & field)
virtual

Implements ippl::detail::BCondBase< Field >.

Definition at line 408 of file BcTypes.hpp.

References ippl::apply(), ippl::createRangePolicy(), Dim, ippl::detail::BCondBase< Field >::face_m, ippl::BareField< T, Dim, ViewArgs >::getLayout(), ippl::BareField< T, Dim, ViewArgs >::getNghost(), ippl::BareField< T, Dim, ViewArgs >::getView(), ippl::max, ippl::min(), and ippl::parallel_for().

Here is the call graph for this function:

◆ changesPhysicalCells()

template<typename Field>
bool ippl::detail::BCondBase< Field >::changesPhysicalCells ( ) const
inlineinherited

Definition at line 68 of file BcTypes.h.

References changePhysical_m.

◆ findBCNeighbors()

template<typename Field>
virtual void ippl::ExtrapolateFace< Field >::findBCNeighbors ( Field & )
inlinevirtual

Implements ippl::detail::BCondBase< Field >.

Definition at line 105 of file BcTypes.h.

◆ getBCType()

template<typename Field>
virtual FieldBC ippl::ExtrapolateFace< Field >::getBCType ( ) const
inlinevirtual

Reimplemented from ippl::detail::BCondBase< Field >.

Reimplemented in ippl::ConstantFace< Field >, and ippl::ZeroFace< Field >.

Definition at line 103 of file BcTypes.h.

References ippl::EXTRAPOLATE_FACE.

◆ getFace()

template<typename Field>
unsigned int ippl::detail::BCondBase< Field >::getFace ( ) const
inlineinherited

Definition at line 65 of file BcTypes.h.

References face_m.

◆ getOffset()

template<typename Field>
const T & ippl::ExtrapolateFace< Field >::getOffset ( ) const
inline

Definition at line 111 of file BcTypes.h.

References offset_m.

◆ getSlope()

template<typename Field>
const T & ippl::ExtrapolateFace< Field >::getSlope ( ) const
inline

Definition at line 112 of file BcTypes.h.

References slope_m.

◆ write()

template<typename Field>
void ippl::ExtrapolateFace< Field >::write ( std::ostream & out) const
virtual

Member Data Documentation

◆ changePhysical_m

template<typename Field>
bool ippl::detail::BCondBase< Field >::changePhysical_m
protectedinherited

Definition at line 75 of file BcTypes.h.

Referenced by BCondBase(), and changesPhysicalCells().

◆ Dim

template<typename Field>
unsigned ippl::ExtrapolateFace< Field >::Dim = Field::dim
staticconstexprprivate

Definition at line 85 of file BcTypes.h.

Referenced by apply(), and assignGhostToPhysical().

◆ face_m

◆ offset_m

template<typename Field>
T ippl::ExtrapolateFace< Field >::offset_m
protected

Definition at line 115 of file BcTypes.h.

Referenced by apply(), ExtrapolateFace(), getOffset(), and ippl::ConstantFace< Field >::write().

◆ slope_m

template<typename Field>
T ippl::ExtrapolateFace< Field >::slope_m
protected

Definition at line 116 of file BcTypes.h.

Referenced by apply(), ExtrapolateFace(), and getSlope().


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