walberla::pe_coupling::discrete_particle_methods::PressureGradientFieldEvaluator< LatticeModel_T, BoundaryHandling_T > Class Template Reference

Detailed Description

template<typename LatticeModel_T, typename BoundaryHandling_T>
class walberla::pe_coupling::discrete_particle_methods::PressureGradientFieldEvaluator< LatticeModel_T, BoundaryHandling_T >

Evaluator of the pressure gradient field, given a pressure field.

#include <PressureGradientFieldEvaluator.h>

Public Types

using VectorField_T = GhostLayerField< Vector3< real_t >, 1 >
 
using ScalarField_T = GhostLayerField< real_t, 1 >
 
using Stencil_T = typename LatticeModel_T::Stencil
 

Public Member Functions

 PressureGradientFieldEvaluator (const BlockDataID &pressureGradientFieldID, const ConstBlockDataID &pressureFieldID, const ConstBlockDataID &boundaryHandlingID)
 
void operator() (IBlock *const block)
 

Private Member Functions

Vector3< real_tgetPressureGradient (const Cell &cell, const ScalarField_T *pressureField, const BoundaryHandling_T *boundaryHandling)
 

Private Attributes

const BlockDataID pressureGradientFieldID_
 
const ConstBlockDataID pressureFieldID_
 
const ConstBlockDataID boundaryHandlingID_
 

Member Typedef Documentation

◆ ScalarField_T

◆ Stencil_T

template<typename LatticeModel_T , typename BoundaryHandling_T >
using walberla::pe_coupling::discrete_particle_methods::PressureGradientFieldEvaluator< LatticeModel_T, BoundaryHandling_T >::Stencil_T = typename LatticeModel_T::Stencil

◆ VectorField_T

Constructor & Destructor Documentation

◆ PressureGradientFieldEvaluator()

template<typename LatticeModel_T , typename BoundaryHandling_T >
walberla::pe_coupling::discrete_particle_methods::PressureGradientFieldEvaluator< LatticeModel_T, BoundaryHandling_T >::PressureGradientFieldEvaluator ( const BlockDataID pressureGradientFieldID,
const ConstBlockDataID pressureFieldID,
const ConstBlockDataID boundaryHandlingID 
)
inline

Member Function Documentation

◆ getPressureGradient()

template<typename LatticeModel_T , typename BoundaryHandling_T >
Vector3<real_t> walberla::pe_coupling::discrete_particle_methods::PressureGradientFieldEvaluator< LatticeModel_T, BoundaryHandling_T >::getPressureGradient ( const Cell cell,
const ScalarField_T pressureField,
const BoundaryHandling_T boundaryHandling 
)
inlineprivate

◆ operator()()

template<typename LatticeModel_T , typename BoundaryHandling_T >
void walberla::pe_coupling::discrete_particle_methods::PressureGradientFieldEvaluator< LatticeModel_T, BoundaryHandling_T >::operator() ( IBlock *const  block)
inline

Member Data Documentation

◆ boundaryHandlingID_

template<typename LatticeModel_T , typename BoundaryHandling_T >
const ConstBlockDataID walberla::pe_coupling::discrete_particle_methods::PressureGradientFieldEvaluator< LatticeModel_T, BoundaryHandling_T >::boundaryHandlingID_
private

◆ pressureFieldID_

template<typename LatticeModel_T , typename BoundaryHandling_T >
const ConstBlockDataID walberla::pe_coupling::discrete_particle_methods::PressureGradientFieldEvaluator< LatticeModel_T, BoundaryHandling_T >::pressureFieldID_
private

◆ pressureGradientFieldID_

template<typename LatticeModel_T , typename BoundaryHandling_T >
const BlockDataID walberla::pe_coupling::discrete_particle_methods::PressureGradientFieldEvaluator< LatticeModel_T, BoundaryHandling_T >::pressureGradientFieldID_
private

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