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

#include <ResidualNorm.h>

Public Types

typedef GhostLayerField< real_t, 1 > Field_T
 

Public Member Functions

 ResidualNorm (const BlockStorage &blocks, const ConstBlockDataID &uId, const ConstBlockDataID &fId, const std::vector< real_t > &weights, const Set< SUID > &requiredSelectors=Set< SUID >::emptySet(), const Set< SUID > &incompatibleSelectors=Set< SUID >::emptySet())
 
real_t operator() () const
 
real_t weightedL2 () const
 

Protected Member Functions

void init ()
 

Protected Attributes

const BlockStorageblocks_
 
ConstBlockDataID uId_
 
ConstBlockDataID fId_
 
real_t weights_ [Stencil_T::Size]
 
real_t cells_
 
Set< SUID > requiredSelectors_
 
Set< SUID > incompatibleSelectors_
 

Member Typedef Documentation

◆ Field_T

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

Constructor & Destructor Documentation

◆ ResidualNorm()

template<typename Stencil_T >
walberla::pde::ResidualNorm< Stencil_T >::ResidualNorm ( const BlockStorage blocks,
const ConstBlockDataID uId,
const ConstBlockDataID fId,
const std::vector< real_t > &  weights,
const Set< SUID > &  requiredSelectors = Set<SUID>::emptySet(),
const Set< SUID > &  incompatibleSelectors = Set<SUID>::emptySet() 
)
inline

Member Function Documentation

◆ init()

template<typename Stencil_T >
void walberla::pde::ResidualNorm< Stencil_T >::init
protected

◆ operator()()

template<typename Stencil_T >
real_t walberla::pde::ResidualNorm< Stencil_T >::operator() ( ) const
inline

◆ weightedL2()

template<typename Stencil_T >
real_t walberla::pde::ResidualNorm< Stencil_T >::weightedL2

Member Data Documentation

◆ blocks_

template<typename Stencil_T >
const BlockStorage& walberla::pde::ResidualNorm< Stencil_T >::blocks_
protected

◆ cells_

template<typename Stencil_T >
real_t walberla::pde::ResidualNorm< Stencil_T >::cells_
protected

◆ fId_

template<typename Stencil_T >
ConstBlockDataID walberla::pde::ResidualNorm< Stencil_T >::fId_
protected

◆ incompatibleSelectors_

template<typename Stencil_T >
Set<SUID> walberla::pde::ResidualNorm< Stencil_T >::incompatibleSelectors_
protected

◆ requiredSelectors_

template<typename Stencil_T >
Set<SUID> walberla::pde::ResidualNorm< Stencil_T >::requiredSelectors_
protected

◆ uId_

template<typename Stencil_T >
ConstBlockDataID walberla::pde::ResidualNorm< Stencil_T >::uId_
protected

◆ weights_

template<typename Stencil_T >
real_t walberla::pde::ResidualNorm< Stencil_T >::weights_[Stencil_T::Size]
protected

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