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

Detailed Description

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

Restriction sweep for multigrid.

Template Parameters
Stencil_TThe stencil used for the discrete operator

#include <Multigrid.h>

Public Types

typedef GhostLayerField< real_t, 1 > Field_T
 

Public Member Functions

 Restrict (const shared_ptr< domain_decomposition::StructuredBlockStorage > &blocks, const BlockDataID &fineFieldId, const BlockDataID &coarseFieldId)
 
void operator() (IBlock *const block) const
 

Private Attributes

shared_ptr< domain_decomposition::StructuredBlockStorageblocks_
 
BlockDataID fineFieldId_
 
BlockDataID coarseFieldId_
 

Member Typedef Documentation

◆ Field_T

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

Constructor & Destructor Documentation

◆ Restrict()

template<typename Stencil_T >
walberla::pde::Restrict< Stencil_T >::Restrict ( const shared_ptr< domain_decomposition::StructuredBlockStorage > &  blocks,
const BlockDataID fineFieldId,
const BlockDataID coarseFieldId 
)
inline

Member Function Documentation

◆ operator()()

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

Member Data Documentation

◆ blocks_

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

◆ coarseFieldId_

template<typename Stencil_T >
BlockDataID walberla::pde::Restrict< Stencil_T >::coarseFieldId_
private

◆ fineFieldId_

template<typename Stencil_T >
BlockDataID walberla::pde::Restrict< Stencil_T >::fineFieldId_
private

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