Class TempLat::AbstractField
template <typename T, size_t _NDim>
ClassList > TempLat > AbstractField
A base class for a one-component field, providing common functionality and holding relevant pointers to memory tools.
#include <abstractfield.h>
Inherited by the following classes: TempLat::ConfigView, TempLat::FourierView, TempLat::ConfigView, TempLat::FourierView
Public Static Attributes
| Type | Name |
|---|---|
| constexpr size_t | NDim = \_NDim |
Public Functions
| Type | Name |
|---|---|
| AbstractField (std::string name, device::memory::host_ptr< MemoryToolBox< NDim > > toolBox, LatticeParameters< T > pLatPar) |
|
| bool | areGhostsStale () const |
| device::Idx | confirmGhostsUpToDate () const |
| void | confirmSpace (const LayoutStruct< NDim > & newLayout, const SpaceStateType & spaceType) const |
| auto | getDx () const |
| auto | getKIR () const |
| auto | getLatParams () const |
| device::memory::host_ptr< MemoryManager< T, NDim > > | getMemoryManager () const |
| device::memory::host_ptr< MemoryToolBox< NDim > > | getToolBox () const |
| bool | isConfigSpace () const Check the current state. |
| bool | isFourierSpace () const Check the current state. |
| void | setGhostsAreStale () const |
Protected Attributes
| Type | Name |
|---|---|
| const LatticeParameters< T > | latPar |
| device::memory::host_ptr< MemoryManager< T, NDim > > | mManager |
| device::memory::host_ptr< MemoryToolBox< NDim > > | mToolBox |
Public Static Attributes Documentation
variable NDim
Public Functions Documentation
function AbstractField
inline TempLat::AbstractField::AbstractField (
std::string name,
device::memory::host_ptr < MemoryToolBox < NDim > > toolBox,
LatticeParameters < T > pLatPar
)
function areGhostsStale
function confirmGhostsUpToDate
function confirmSpace
inline void TempLat::AbstractField::confirmSpace (
const LayoutStruct < NDim > & newLayout,
const SpaceStateType & spaceType
) const
function getDx
function getKIR
function getLatParams
function getMemoryManager
inline device::memory::host_ptr < MemoryManager < T, NDim > > TempLat::AbstractField::getMemoryManager () const
function getToolBox
inline device::memory::host_ptr < MemoryToolBox < NDim > > TempLat::AbstractField::getToolBox () const
function isConfigSpace
Check the current state.
Returns:
true if in configuration space
function isFourierSpace
Check the current state.
Returns:
true if in fourier space
function setGhostsAreStale
Protected Attributes Documentation
variable latPar
variable mManager
variable mToolBox
The documentation for this class was generated from the following file cosmolatticeweb/tmp/code_source/templat/include/TempLat/lattice/field/abstractfield.h