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

#include <SORFixedStencil.h>

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

Public Types

typedef StencilSweepBase< Stencil_T >::Field_T Field_T
 
- Public Types inherited from walberla::pde::StencilSweepBase< Stencil_T >
typedef SweepBase::Field_T Field_T
 
- Public Types inherited from walberla::pde::SweepBase
typedef GhostLayerField< real_t, 1 > Field_T
 

Public Member Functions

 SORFixedStencil (const shared_ptr< domain_decomposition::StructuredBlockStorage > &blocks, const BlockDataID &uFieldId, const BlockDataID &fFieldId, const std::vector< real_t > &weights, const real_t omega)
 
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::StencilSweepBase< Stencil_T >
 StencilSweepBase (const BlockDataID &uFieldId, const BlockDataID &fFieldId, const std::vector< real_t > &weights)
 
 StencilSweepBase (const BlockDataID &src, const BlockDataID &dst, const BlockDataID &fFieldId, const std::vector< real_t > &weights)
 
- 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_
 
real_t omega_
 

Additional Inherited Members

- Protected Member Functions inherited from walberla::pde::StencilSweepBase< Stencil_T >
real_t w (const uint_t i) const
 
- 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::StencilSweepBase< Stencil_T >
real_t w_ [Stencil_T::Size]
 
- 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

template<typename Stencil_T >
typedef StencilSweepBase< Stencil_T >::Field_T walberla::pde::SORFixedStencil< Stencil_T >::Field_T

Constructor & Destructor Documentation

template<typename Stencil_T >
walberla::pde::SORFixedStencil< Stencil_T >::SORFixedStencil ( const shared_ptr< domain_decomposition::StructuredBlockStorage > &  blocks,
const BlockDataID &  uFieldId,
const BlockDataID &  fFieldId,
const std::vector< real_t > &  weights,
const real_t  omega 
)
inline

Member Function Documentation

template<typename Stencil_T >
std::function< void ( IBlock * const ) > walberla::pde::SORFixedStencil< Stencil_T >::getBlackSweep ( )
inline
template<typename Stencil_T >
std::function< void ( IBlock * const ) > walberla::pde::SORFixedStencil< Stencil_T >::getRedSweep ( )
inline
template<typename Stencil_T >
void walberla::pde::SORFixedStencil< Stencil_T >::operator() ( IBlock *const  block) const
inline
template<typename Stencil_T >
void walberla::pde::SORFixedStencil< Stencil_T >::update ( IBlock *const  block,
const bool  rb 
)

Member Data Documentation

template<typename Stencil_T >
shared_ptr< domain_decomposition::StructuredBlockStorage > walberla::pde::SORFixedStencil< Stencil_T >::blocks_
private
template<typename Stencil_T >
real_t walberla::pde::SORFixedStencil< Stencil_T >::omega_
private

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