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

#include <CGFixedStencilIteration.h>

Public Types

typedef GhostLayerField< real_t, 1 > Field_T
 

Public Member Functions

 CGFixedStencilIteration (BlockStorage &blocks, const BlockDataID &uId, const BlockDataID &rId, const BlockDataID &dId, const BlockDataID &zId, const BlockDataID &fId, const std::vector< real_t > &weights, const uint_t iterations, const std::function< void() > &synchronizeD, const real_t residualNormThreshold=real_t(0), const Set< SUID > &requiredSelectors=Set< SUID >::emptySet(), const Set< SUID > &incompatibleSelectors=Set< SUID >::emptySet())
 
void operator() ()
 

Protected Member Functions

void calcR ()
 
real_t scalarProductRR ()
 
void copyRToD ()
 
void calcAd ()
 
real_t scalarProductDZ ()
 
void updateU (const real_t alpha)
 
void updateR (const real_t alpha)
 
void updateD (const real_t beta)
 

Protected Attributes

BlockStorage & blocks_
 
const BlockDataID uId_
 
const BlockDataID rId_
 
const BlockDataID dId_
 
const BlockDataID zId_
 
const BlockDataID fId_
 
real_t cells_
 
real_t w_ [Stencil_T::Size]
 
uint_t iterations_
 
real_t residualNormThreshold_
 
std::function< void() > synchronizeD_
 
Set< SUID > requiredSelectors_
 
Set< SUID > incompatibleSelectors_
 

Member Typedef Documentation

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

Constructor & Destructor Documentation

template<typename Stencil_T >
walberla::pde::CGFixedStencilIteration< Stencil_T >::CGFixedStencilIteration ( BlockStorage &  blocks,
const BlockDataID &  uId,
const BlockDataID &  rId,
const BlockDataID &  dId,
const BlockDataID &  zId,
const BlockDataID &  fId,
const std::vector< real_t > &  weights,
const uint_t  iterations,
const std::function< void() > &  synchronizeD,
const real_t  residualNormThreshold = real_t(0),
const Set< SUID > &  requiredSelectors = Set<SUID>::emptySet(),
const Set< SUID > &  incompatibleSelectors = Set<SUID>::emptySet() 
)

Member Function Documentation

template<typename Stencil_T >
void walberla::pde::CGFixedStencilIteration< Stencil_T >::calcAd ( )
protected
template<typename Stencil_T >
void walberla::pde::CGFixedStencilIteration< Stencil_T >::calcR ( )
protected
template<typename Stencil_T >
void walberla::pde::CGFixedStencilIteration< Stencil_T >::copyRToD ( )
protected
template<typename Stencil_T >
void walberla::pde::CGFixedStencilIteration< Stencil_T >::operator() ( )
template<typename Stencil_T >
real_t walberla::pde::CGFixedStencilIteration< Stencil_T >::scalarProductDZ ( )
protected
template<typename Stencil_T >
real_t walberla::pde::CGFixedStencilIteration< Stencil_T >::scalarProductRR ( )
protected
template<typename Stencil_T >
void walberla::pde::CGFixedStencilIteration< Stencil_T >::updateD ( const real_t  beta)
protected
template<typename Stencil_T >
void walberla::pde::CGFixedStencilIteration< Stencil_T >::updateR ( const real_t  alpha)
protected
template<typename Stencil_T >
void walberla::pde::CGFixedStencilIteration< Stencil_T >::updateU ( const real_t  alpha)
protected

Member Data Documentation

template<typename Stencil_T >
BlockStorage& walberla::pde::CGFixedStencilIteration< Stencil_T >::blocks_
protected
template<typename Stencil_T >
real_t walberla::pde::CGFixedStencilIteration< Stencil_T >::cells_
protected
template<typename Stencil_T >
const BlockDataID walberla::pde::CGFixedStencilIteration< Stencil_T >::dId_
protected
template<typename Stencil_T >
const BlockDataID walberla::pde::CGFixedStencilIteration< Stencil_T >::fId_
protected
template<typename Stencil_T >
Set<SUID> walberla::pde::CGFixedStencilIteration< Stencil_T >::incompatibleSelectors_
protected
template<typename Stencil_T >
uint_t walberla::pde::CGFixedStencilIteration< Stencil_T >::iterations_
protected
template<typename Stencil_T >
Set<SUID> walberla::pde::CGFixedStencilIteration< Stencil_T >::requiredSelectors_
protected
template<typename Stencil_T >
real_t walberla::pde::CGFixedStencilIteration< Stencil_T >::residualNormThreshold_
protected
template<typename Stencil_T >
const BlockDataID walberla::pde::CGFixedStencilIteration< Stencil_T >::rId_
protected
template<typename Stencil_T >
std::function< void () > walberla::pde::CGFixedStencilIteration< Stencil_T >::synchronizeD_
protected
template<typename Stencil_T >
const BlockDataID walberla::pde::CGFixedStencilIteration< Stencil_T >::uId_
protected
template<typename Stencil_T >
real_t walberla::pde::CGFixedStencilIteration< Stencil_T >::w_[Stencil_T::Size]
protected
template<typename Stencil_T >
const BlockDataID walberla::pde::CGFixedStencilIteration< Stencil_T >::zId_
protected

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