walberla::free_surface::TotalMassComputer< FreeSurfaceBoundaryHandling_T, PdfField_T, FlagField_T, ScalarField_T > Class Template Reference

#include <TotalMassComputer.h>

Public Member Functions

 TotalMassComputer (const std::weak_ptr< const StructuredBlockForest > &blockForest, const std::weak_ptr< const FreeSurfaceBoundaryHandling_T > &freeSurfaceBoundaryHandling, const ConstBlockDataID &pdfFieldID, const ConstBlockDataID &fillFieldID, uint_t frequency, const std::shared_ptr< real_t > &totalMass)
 
 TotalMassComputer (const std::weak_ptr< const StructuredBlockForest > &blockForest, const std::weak_ptr< const FreeSurfaceBoundaryHandling_T > &freeSurfaceBoundaryHandling, const ConstBlockDataID &pdfFieldID, const ConstBlockDataID &fillFieldID, const ConstBlockDataID &excessMassFieldID, uint_t frequency, const std::shared_ptr< real_t > &totalMass, const std::shared_ptr< real_t > &excessMass)
 
void operator() ()
 
void computeMass (const std::shared_ptr< const StructuredBlockForest > &blockForest, const std::shared_ptr< const FreeSurfaceBoundaryHandling_T > &freeSurfaceBoundaryHandling)
 

Private Attributes

std::weak_ptr< const StructuredBlockForestblockForest_
 
std::weak_ptr< const FreeSurfaceBoundaryHandling_T > freeSurfaceBoundaryHandling_
 
const ConstBlockDataID pdfFieldID_
 
const ConstBlockDataID fillFieldID_
 
const ConstBlockDataID excessMassFieldID_ = ConstBlockDataID()
 
std::shared_ptr< real_ttotalMass_
 
std::shared_ptr< real_texcessMass_ = nullptr
 
uint_t frequency_
 
uint_t executionCounter_
 

Constructor & Destructor Documentation

◆ TotalMassComputer() [1/2]

template<typename FreeSurfaceBoundaryHandling_T , typename PdfField_T , typename FlagField_T , typename ScalarField_T >
walberla::free_surface::TotalMassComputer< FreeSurfaceBoundaryHandling_T, PdfField_T, FlagField_T, ScalarField_T >::TotalMassComputer ( const std::weak_ptr< const StructuredBlockForest > &  blockForest,
const std::weak_ptr< const FreeSurfaceBoundaryHandling_T > &  freeSurfaceBoundaryHandling,
const ConstBlockDataID pdfFieldID,
const ConstBlockDataID fillFieldID,
uint_t  frequency,
const std::shared_ptr< real_t > &  totalMass 
)
inline

◆ TotalMassComputer() [2/2]

template<typename FreeSurfaceBoundaryHandling_T , typename PdfField_T , typename FlagField_T , typename ScalarField_T >
walberla::free_surface::TotalMassComputer< FreeSurfaceBoundaryHandling_T, PdfField_T, FlagField_T, ScalarField_T >::TotalMassComputer ( const std::weak_ptr< const StructuredBlockForest > &  blockForest,
const std::weak_ptr< const FreeSurfaceBoundaryHandling_T > &  freeSurfaceBoundaryHandling,
const ConstBlockDataID pdfFieldID,
const ConstBlockDataID fillFieldID,
const ConstBlockDataID excessMassFieldID,
uint_t  frequency,
const std::shared_ptr< real_t > &  totalMass,
const std::shared_ptr< real_t > &  excessMass 
)
inline

Member Function Documentation

◆ computeMass()

template<typename FreeSurfaceBoundaryHandling_T , typename PdfField_T , typename FlagField_T , typename ScalarField_T >
void walberla::free_surface::TotalMassComputer< FreeSurfaceBoundaryHandling_T, PdfField_T, FlagField_T, ScalarField_T >::computeMass ( const std::shared_ptr< const StructuredBlockForest > &  blockForest,
const std::shared_ptr< const FreeSurfaceBoundaryHandling_T > &  freeSurfaceBoundaryHandling 
)
inline

◆ operator()()

template<typename FreeSurfaceBoundaryHandling_T , typename PdfField_T , typename FlagField_T , typename ScalarField_T >
void walberla::free_surface::TotalMassComputer< FreeSurfaceBoundaryHandling_T, PdfField_T, FlagField_T, ScalarField_T >::operator() ( )
inline

Member Data Documentation

◆ blockForest_

template<typename FreeSurfaceBoundaryHandling_T , typename PdfField_T , typename FlagField_T , typename ScalarField_T >
std::weak_ptr< const StructuredBlockForest > walberla::free_surface::TotalMassComputer< FreeSurfaceBoundaryHandling_T, PdfField_T, FlagField_T, ScalarField_T >::blockForest_
private

◆ excessMass_

template<typename FreeSurfaceBoundaryHandling_T , typename PdfField_T , typename FlagField_T , typename ScalarField_T >
std::shared_ptr< real_t > walberla::free_surface::TotalMassComputer< FreeSurfaceBoundaryHandling_T, PdfField_T, FlagField_T, ScalarField_T >::excessMass_ = nullptr
private

◆ excessMassFieldID_

template<typename FreeSurfaceBoundaryHandling_T , typename PdfField_T , typename FlagField_T , typename ScalarField_T >
const ConstBlockDataID walberla::free_surface::TotalMassComputer< FreeSurfaceBoundaryHandling_T, PdfField_T, FlagField_T, ScalarField_T >::excessMassFieldID_ = ConstBlockDataID()
private

◆ executionCounter_

template<typename FreeSurfaceBoundaryHandling_T , typename PdfField_T , typename FlagField_T , typename ScalarField_T >
uint_t walberla::free_surface::TotalMassComputer< FreeSurfaceBoundaryHandling_T, PdfField_T, FlagField_T, ScalarField_T >::executionCounter_
private

◆ fillFieldID_

template<typename FreeSurfaceBoundaryHandling_T , typename PdfField_T , typename FlagField_T , typename ScalarField_T >
const ConstBlockDataID walberla::free_surface::TotalMassComputer< FreeSurfaceBoundaryHandling_T, PdfField_T, FlagField_T, ScalarField_T >::fillFieldID_
private

◆ freeSurfaceBoundaryHandling_

template<typename FreeSurfaceBoundaryHandling_T , typename PdfField_T , typename FlagField_T , typename ScalarField_T >
std::weak_ptr< const FreeSurfaceBoundaryHandling_T > walberla::free_surface::TotalMassComputer< FreeSurfaceBoundaryHandling_T, PdfField_T, FlagField_T, ScalarField_T >::freeSurfaceBoundaryHandling_
private

◆ frequency_

template<typename FreeSurfaceBoundaryHandling_T , typename PdfField_T , typename FlagField_T , typename ScalarField_T >
uint_t walberla::free_surface::TotalMassComputer< FreeSurfaceBoundaryHandling_T, PdfField_T, FlagField_T, ScalarField_T >::frequency_
private

◆ pdfFieldID_

template<typename FreeSurfaceBoundaryHandling_T , typename PdfField_T , typename FlagField_T , typename ScalarField_T >
const ConstBlockDataID walberla::free_surface::TotalMassComputer< FreeSurfaceBoundaryHandling_T, PdfField_T, FlagField_T, ScalarField_T >::pdfFieldID_
private

◆ totalMass_

template<typename FreeSurfaceBoundaryHandling_T , typename PdfField_T , typename FlagField_T , typename ScalarField_T >
std::shared_ptr< real_t > walberla::free_surface::TotalMassComputer< FreeSurfaceBoundaryHandling_T, PdfField_T, FlagField_T, ScalarField_T >::totalMass_
private

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