walberla::pde::RBGS< Stencil_T > Class Template Reference

#include <RBGS.h>

+ Inheritance diagram for walberla::pde::RBGS< Stencil_T >:

Public Types

typedef StencilFieldSweepBase< Stencil_T >::Field_T Field_T
 
typedef StencilFieldSweepBase< Stencil_T >::StencilField_T StencilField_T
 
- Public Types inherited from walberla::pde::StencilFieldSweepBase< Stencil_T >
typedef SweepBase::Field_T Field_T
 
typedef GhostLayerField< real_t, Stencil_T::Size > StencilField_T
 
- Public Types inherited from walberla::pde::SweepBase
using Field_T = GhostLayerField< real_t, 1 >
 

Public Member Functions

 RBGS (const shared_ptr< domain_decomposition::StructuredBlockStorage > &blocks, const BlockDataID &uFieldId, const BlockDataID &fFieldId, const BlockDataID &stencilFieldId)
 
void operator() (IBlock *const block) const
 
void update (IBlock *const block, const bool rb)
 
std::function< void(IBlock *const) > getRedSweep ()
 
std::function< void(IBlock *const) > getBlackSweep ()
 
- Public Member Functions inherited from walberla::pde::StencilFieldSweepBase< Stencil_T >
 StencilFieldSweepBase (const BlockDataID &uFieldId, const BlockDataID &fFieldId, const BlockDataID &stencilFieldId)
 
 StencilFieldSweepBase (const BlockDataID &src, const BlockDataID &dst, const BlockDataID &fFieldId, const BlockDataID &stencilFieldId)
 
- Public Member Functions inherited from walberla::pde::SweepBase
 SweepBase (const BlockDataID &uFieldId, const BlockDataID &fFieldId)
 
 SweepBase (const BlockDataID &src, const BlockDataID &dst, const BlockDataID &fFieldId)
 
virtual ~SweepBase ()
 

Private Attributes

shared_ptr< domain_decomposition::StructuredBlockStorageblocks_
 

Additional Inherited Members

- Protected Member Functions inherited from walberla::pde::StencilFieldSweepBase< Stencil_T >
StencilField_TgetStencilField (IBlock *const block) const
 
void getFields (IBlock *const block, Field_T *&u, Field_T *&f, StencilField_T *&stencil)
 
void getFields (IBlock *const block, Field_T *&src, Field_T *&dst, Field_T *&f, StencilField_T *&stencil)
 
void getFields (IBlock *const block, Field_T *&u, Field_T *&f)
 
void getFields (IBlock *const block, Field_T *&src, Field_T *&dst, Field_T *&f)
 
- Protected Member Functions inherited from walberla::pde::SweepBase
Field_TgetSrcField (IBlock *const block) const
 
Field_TgetDstField (IBlock *const block, Field_T *const src)
 
Field_TgetUField (IBlock *const block) const
 
Field_TgetFField (IBlock *const block) const
 
void getFields (IBlock *const block, Field_T *&u, Field_T *&f)
 
void getFields (IBlock *const block, Field_T *&src, Field_T *&dst, Field_T *&f)
 
- Protected Attributes inherited from walberla::pde::StencilFieldSweepBase< Stencil_T >
const BlockDataID stencil_
 
- Protected Attributes inherited from walberla::pde::SweepBase
const BlockDataID src_ {}
 
const BlockDataID f_ {}
 
const bool dstFromBlockData_
 
const BlockDataID dst_ {}
 
std::set< Field_T *, field::SwapableCompare< Field_T * > > dstFields_
 

Member Typedef Documentation

◆ Field_T

template<typename Stencil_T >
typedef StencilFieldSweepBase< Stencil_T >::Field_T walberla::pde::RBGS< Stencil_T >::Field_T

◆ StencilField_T

Constructor & Destructor Documentation

◆ RBGS()

template<typename Stencil_T >
walberla::pde::RBGS< Stencil_T >::RBGS ( const shared_ptr< domain_decomposition::StructuredBlockStorage > &  blocks,
const BlockDataID uFieldId,
const BlockDataID fFieldId,
const BlockDataID stencilFieldId 
)
inline

Member Function Documentation

◆ getBlackSweep()

template<typename Stencil_T >
std::function< void ( IBlock * const ) > walberla::pde::RBGS< Stencil_T >::getBlackSweep ( )
inline

◆ getRedSweep()

template<typename Stencil_T >
std::function< void ( IBlock * const ) > walberla::pde::RBGS< Stencil_T >::getRedSweep ( )
inline

◆ operator()()

template<typename Stencil_T >
void walberla::pde::RBGS< Stencil_T >::operator() ( IBlock *const  block) const
inline

◆ update()

template<typename Stencil_T >
void walberla::pde::RBGS< Stencil_T >::update ( IBlock *const  block,
const bool  rb 
)

Member Data Documentation

◆ blocks_

template<typename Stencil_T >
shared_ptr< domain_decomposition::StructuredBlockStorage > walberla::pde::RBGS< Stencil_T >::blocks_
private

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