walberla::JacobiIterationResidual Class Reference

Public Member Functions

 JacobiIterationResidual (const BlockDataID &srcID, const BlockDataID &dstID, const BlockDataID &rhsID, const std::vector< real_t > &weights, const shared_ptr< StructuredBlockStorage > &blocks, blockforest::communication::UniformBufferedScheme< Stencil_T > &myCommScheme, const uint_t &maxIterations, const real_t &residualThreshold)
 
void operator() ()
 
void init ()
 
real_t residualNorm ()
 

Private Attributes

const BlockDataID srcID_
 
const BlockDataID dstID_
 
const BlockDataID rhsID_
 
std::vector< real_tweights_
 
const shared_ptr< StructuredBlockStorageblocks_
 
blockforest::communication::UniformBufferedScheme< Stencil_TmyCommScheme_
 
const uint_t maxIterations_
 
real_t cells_
 
const real_t residualThreshold_
 

Constructor & Destructor Documentation

◆ JacobiIterationResidual()

walberla::JacobiIterationResidual::JacobiIterationResidual ( const BlockDataID srcID,
const BlockDataID dstID,
const BlockDataID rhsID,
const std::vector< real_t > &  weights,
const shared_ptr< StructuredBlockStorage > &  blocks,
blockforest::communication::UniformBufferedScheme< Stencil_T > &  myCommScheme,
const uint_t maxIterations,
const real_t residualThreshold 
)
inline

Member Function Documentation

◆ init()

void walberla::JacobiIterationResidual::init ( )

◆ operator()()

void walberla::JacobiIterationResidual::operator() ( )

◆ residualNorm()

real_t walberla::JacobiIterationResidual::residualNorm ( )

Member Data Documentation

◆ blocks_

const shared_ptr< StructuredBlockStorage > walberla::JacobiIterationResidual::blocks_
private

◆ cells_

real_t walberla::JacobiIterationResidual::cells_
private

◆ dstID_

const BlockDataID walberla::JacobiIterationResidual::dstID_
private

◆ maxIterations_

const uint_t walberla::JacobiIterationResidual::maxIterations_
private

◆ myCommScheme_

blockforest::communication::UniformBufferedScheme< Stencil_T > walberla::JacobiIterationResidual::myCommScheme_
private

◆ residualThreshold_

const real_t walberla::JacobiIterationResidual::residualThreshold_
private

◆ rhsID_

const BlockDataID walberla::JacobiIterationResidual::rhsID_
private

◆ srcID_

const BlockDataID walberla::JacobiIterationResidual::srcID_
private

◆ weights_

std::vector< real_t > walberla::JacobiIterationResidual::weights_
private

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