waLBerla 7.2
Loading...
Searching...
No Matches
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

using Field_T = GhostLayerField<real_t, 1>
 
using Weight_T = std::vector<real_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

◆ Weight_T

template<typename Stencil_T >
using walberla::pde::ComputeResidualFixedStencil< Stencil_T >::Weight_T = std::vector<real_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_

◆ fId_

◆ rId_

◆ uId_

◆ 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: