walberla::field::GradientRefinement< VectorField_T, Filter_T, Pseudo2D > Class Template Reference

#include <GradientRefinement.h>

Public Member Functions

 GradientRefinement (const ConstBlockDataID &fieldId, const Filter_T &filter, const real_t upperLimit, const real_t lowerLimit, const uint_t maxLevel)
 
void operator() (std::vector< std::pair< const Block *, uint_t > > &minTargetLevels, std::vector< const Block * > &blocksAlreadyMarkedForRefinement, const BlockForest &forest)
 

Private Member Functions

void calculate (const Vector3< real_t > &v, const Vector3< real_t > &vn, real_t *gradient)
 

Private Attributes

ConstBlockDataID fieldId_
 
Filter_T filter_
 
real_t upperLimit_
 
real_t lowerLimit_
 
uint_t maxLevel_
 

Constructor & Destructor Documentation

◆ GradientRefinement()

template<typename VectorField_T , typename Filter_T , bool Pseudo2D = false>
walberla::field::GradientRefinement< VectorField_T, Filter_T, Pseudo2D >::GradientRefinement ( const ConstBlockDataID fieldId,
const Filter_T &  filter,
const real_t  upperLimit,
const real_t  lowerLimit,
const uint_t  maxLevel 
)
inline

Member Function Documentation

◆ calculate()

template<typename VectorField_T , typename Filter_T , bool Pseudo2D = false>
void walberla::field::GradientRefinement< VectorField_T, Filter_T, Pseudo2D >::calculate ( const Vector3< real_t > &  v,
const Vector3< real_t > &  vn,
real_t gradient 
)
inlineprivate

◆ operator()()

template<typename VectorField_T , typename Filter_T , bool Pseudo2D>
void walberla::field::GradientRefinement< VectorField_T, Filter_T, Pseudo2D >::operator() ( std::vector< std::pair< const Block *, uint_t > > &  minTargetLevels,
std::vector< const Block * > &  blocksAlreadyMarkedForRefinement,
const BlockForest forest 
)

Member Data Documentation

◆ fieldId_

template<typename VectorField_T , typename Filter_T , bool Pseudo2D = false>
ConstBlockDataID walberla::field::GradientRefinement< VectorField_T, Filter_T, Pseudo2D >::fieldId_
private

◆ filter_

template<typename VectorField_T , typename Filter_T , bool Pseudo2D = false>
Filter_T walberla::field::GradientRefinement< VectorField_T, Filter_T, Pseudo2D >::filter_
private

◆ lowerLimit_

template<typename VectorField_T , typename Filter_T , bool Pseudo2D = false>
real_t walberla::field::GradientRefinement< VectorField_T, Filter_T, Pseudo2D >::lowerLimit_
private

◆ maxLevel_

template<typename VectorField_T , typename Filter_T , bool Pseudo2D = false>
uint_t walberla::field::GradientRefinement< VectorField_T, Filter_T, Pseudo2D >::maxLevel_
private

◆ upperLimit_

template<typename VectorField_T , typename Filter_T , bool Pseudo2D = false>
real_t walberla::field::GradientRefinement< VectorField_T, Filter_T, Pseudo2D >::upperLimit_
private

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