walberla::pde::Zeroize Class Reference

Detailed Description

Sweep that sets all values in a field to zero.

#include <Multigrid.h>

Public Types

typedef GhostLayerField< real_t, 1 > Field_T
 

Public Member Functions

 Zeroize (const shared_ptr< domain_decomposition::StructuredBlockStorage > &blocks, const BlockDataID &fieldId)
 
void operator() (IBlock *const block) const
 

Private Attributes

shared_ptr< domain_decomposition::StructuredBlockStorageblocks_
 
BlockDataID fieldId_
 

Member Typedef Documentation

◆ Field_T

Constructor & Destructor Documentation

◆ Zeroize()

walberla::pde::Zeroize::Zeroize ( const shared_ptr< domain_decomposition::StructuredBlockStorage > &  blocks,
const BlockDataID fieldId 
)
inline

Member Function Documentation

◆ operator()()

void walberla::pde::Zeroize::operator() ( IBlock *const  block) const
inline

Member Data Documentation

◆ blocks_

shared_ptr< domain_decomposition::StructuredBlockStorage > walberla::pde::Zeroize::blocks_
private

◆ fieldId_

BlockDataID walberla::pde::Zeroize::fieldId_
private

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