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

Detailed Description

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

Prolongation and correction 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

 ProlongateAndCorrect (const shared_ptr< domain_decomposition::StructuredBlockStorage > &blocks, const BlockDataID &coarseFieldId, const BlockDataID &fineFieldId)
 
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::ProlongateAndCorrect< Stencil_T >::Field_T

Constructor & Destructor Documentation

◆ ProlongateAndCorrect()

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

Member Function Documentation

◆ operator()()

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

Member Data Documentation

◆ blocks_

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

◆ coarseFieldId_

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

◆ fineFieldId_

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

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