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

Detailed Description

template<typename Stencil_T>
class walberla::pde::ComputeResidualFixedStencil< Stencil_T >

Residual calculation sweep for multigrid with fixed stencil weights.

Template Parameters
Stencil_TThe stencil used for the discrete operator

#include <Multigrid.h>

Public Types

typedef GhostLayerField< real_t, 1 > Field_T
 
typedef std::vector< real_tWeight_T
 

Public Member Functions

 ComputeResidualFixedStencil (const shared_ptr< domain_decomposition::StructuredBlockStorage > &blocks, const BlockDataID &uId, const BlockDataID &fId, const std::vector< real_t > &weights, const BlockDataID &rId)
 
void operator() (IBlock *const block) const
 

Private Attributes

shared_ptr< domain_decomposition::StructuredBlockStorageblocks_
 
BlockDataID uId_
 
BlockDataID fId_
 
Weight_T weights_
 
BlockDataID rId_
 

Member Typedef Documentation

◆ Field_T

template<typename Stencil_T >
typedef GhostLayerField< real_t, 1 > walberla::pde::ComputeResidualFixedStencil< Stencil_T >::Field_T

◆ Weight_T

template<typename Stencil_T >
typedef std::vector< real_t > walberla::pde::ComputeResidualFixedStencil< Stencil_T >::Weight_T

Constructor & Destructor Documentation

◆ ComputeResidualFixedStencil()

template<typename Stencil_T >
walberla::pde::ComputeResidualFixedStencil< Stencil_T >::ComputeResidualFixedStencil ( const shared_ptr< domain_decomposition::StructuredBlockStorage > &  blocks,
const BlockDataID uId,
const BlockDataID fId,
const std::vector< real_t > &  weights,
const BlockDataID rId 
)
inline

Member Function Documentation

◆ operator()()

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

Member Data Documentation

◆ blocks_

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

◆ fId_

template<typename Stencil_T >
BlockDataID walberla::pde::ComputeResidualFixedStencil< Stencil_T >::fId_
private

◆ rId_

template<typename Stencil_T >
BlockDataID walberla::pde::ComputeResidualFixedStencil< Stencil_T >::rId_
private

◆ uId_

template<typename Stencil_T >
BlockDataID walberla::pde::ComputeResidualFixedStencil< Stencil_T >::uId_
private

◆ weights_

template<typename Stencil_T >
Weight_T walberla::pde::ComputeResidualFixedStencil< Stencil_T >::weights_
private

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