Skip to content

Class TempLat::MemoryLayoutState

ClassList > TempLat > MemoryLayoutState

A class which tracks the three layout states the memory can have. If state is undefined, all the is___Space() variants return true. So you don't wast time FFT'ing trash etc. More...

  • #include <memorylayoutstate.h>

Public Functions

Type Name
MemoryLayoutState ()
bool isConfigSpace () const
bool isFFTConfigSpace () const
bool isFourierSpace () const
void setToConfigSpace ()
void setToFFTConfigSpace ()
void setToFourierSpace ()

Detailed Description

Unit test: ctest -R test-memorylayoutstate

Public Functions Documentation

function MemoryLayoutState

inline TempLat::MemoryLayoutState::MemoryLayoutState () 

function isConfigSpace

inline bool TempLat::MemoryLayoutState::isConfigSpace () const

function isFFTConfigSpace

inline bool TempLat::MemoryLayoutState::isFFTConfigSpace () const

function isFourierSpace

inline bool TempLat::MemoryLayoutState::isFourierSpace () const

function setToConfigSpace

inline void TempLat::MemoryLayoutState::setToConfigSpace () 

function setToFFTConfigSpace

inline void TempLat::MemoryLayoutState::setToFFTConfigSpace () 

function setToFourierSpace

inline void TempLat::MemoryLayoutState::setToFourierSpace () 

Friends Documentation

friend operator<<

inline std::ostream & TempLat::MemoryLayoutState::operator<< (
    std::ostream & ostream,
    const MemoryLayoutState & mls
) 


The documentation for this class was generated from the following file cosmolatticeweb/tmp/code_source/templat/include/TempLat/lattice/memory/memorylayoutstate.h