walberla::free_surface::SurfaceMeshWriter< ScalarField_T, FlagField_T > Class Template Reference

#include <SurfaceMeshWriter.h>

Public Member Functions

 SurfaceMeshWriter (const std::weak_ptr< StructuredBlockForest > &blockForest, const ConstBlockDataID &fillFieldID, const ConstBlockDataID &flagFieldID, const Set< FlagUID > &liquidInterfaceGasFlagIDSet, real_t obstacleFillLevel, uint_t writeFrequency, const std::string &baseFolder)
 
 SurfaceMeshWriter (const std::weak_ptr< StructuredBlockForest > &blockForest, const ConstBlockDataID &fillFieldID, const ConstBlockDataID &flagFieldID, const Set< FlagUID > &liquidInterfaceGasFlagIDSet, real_t obstacleFillLevel, const std::weak_ptr< Config > &config)
 
void operator() ()
 

Private Member Functions

void createBaseFolder () const
 
void writeMesh ()
 
void updateFillFieldClone (const shared_ptr< StructuredBlockForest > &blockForest)
 

Private Attributes

std::weak_ptr< StructuredBlockForestblockForest_
 
ConstBlockDataID fillFieldID_
 
ConstBlockDataID flagFieldID_
 
Set< FlagUID > liquidInterfaceGasFlagIDSet_
 
real_t obstacleFillLevel_
 
uint_t writeFrequency_
 
std::string baseFolder_
 
uint_t executionCounter_
 
BlockDataID fillFieldCloneID_
 

Constructor & Destructor Documentation

◆ SurfaceMeshWriter() [1/2]

template<typename ScalarField_T , typename FlagField_T >
walberla::free_surface::SurfaceMeshWriter< ScalarField_T, FlagField_T >::SurfaceMeshWriter ( const std::weak_ptr< StructuredBlockForest > &  blockForest,
const ConstBlockDataID fillFieldID,
const ConstBlockDataID flagFieldID,
const Set< FlagUID > &  liquidInterfaceGasFlagIDSet,
real_t  obstacleFillLevel,
uint_t  writeFrequency,
const std::string &  baseFolder 
)
inline

◆ SurfaceMeshWriter() [2/2]

template<typename ScalarField_T , typename FlagField_T >
walberla::free_surface::SurfaceMeshWriter< ScalarField_T, FlagField_T >::SurfaceMeshWriter ( const std::weak_ptr< StructuredBlockForest > &  blockForest,
const ConstBlockDataID fillFieldID,
const ConstBlockDataID flagFieldID,
const Set< FlagUID > &  liquidInterfaceGasFlagIDSet,
real_t  obstacleFillLevel,
const std::weak_ptr< Config > &  config 
)
inline

Member Function Documentation

◆ createBaseFolder()

template<typename ScalarField_T , typename FlagField_T >
void walberla::free_surface::SurfaceMeshWriter< ScalarField_T, FlagField_T >::createBaseFolder ( ) const
inlineprivate

◆ operator()()

template<typename ScalarField_T , typename FlagField_T >
void walberla::free_surface::SurfaceMeshWriter< ScalarField_T, FlagField_T >::operator() ( )
inline

◆ updateFillFieldClone()

template<typename ScalarField_T , typename FlagField_T >
void walberla::free_surface::SurfaceMeshWriter< ScalarField_T, FlagField_T >::updateFillFieldClone ( const shared_ptr< StructuredBlockForest > &  blockForest)
inlineprivate

◆ writeMesh()

template<typename ScalarField_T , typename FlagField_T >
void walberla::free_surface::SurfaceMeshWriter< ScalarField_T, FlagField_T >::writeMesh ( )
inlineprivate

Member Data Documentation

◆ baseFolder_

template<typename ScalarField_T , typename FlagField_T >
std::string walberla::free_surface::SurfaceMeshWriter< ScalarField_T, FlagField_T >::baseFolder_
private

◆ blockForest_

template<typename ScalarField_T , typename FlagField_T >
std::weak_ptr< StructuredBlockForest > walberla::free_surface::SurfaceMeshWriter< ScalarField_T, FlagField_T >::blockForest_
private

◆ executionCounter_

template<typename ScalarField_T , typename FlagField_T >
uint_t walberla::free_surface::SurfaceMeshWriter< ScalarField_T, FlagField_T >::executionCounter_
private

◆ fillFieldCloneID_

template<typename ScalarField_T , typename FlagField_T >
BlockDataID walberla::free_surface::SurfaceMeshWriter< ScalarField_T, FlagField_T >::fillFieldCloneID_
private

◆ fillFieldID_

template<typename ScalarField_T , typename FlagField_T >
ConstBlockDataID walberla::free_surface::SurfaceMeshWriter< ScalarField_T, FlagField_T >::fillFieldID_
private

◆ flagFieldID_

template<typename ScalarField_T , typename FlagField_T >
ConstBlockDataID walberla::free_surface::SurfaceMeshWriter< ScalarField_T, FlagField_T >::flagFieldID_
private

◆ liquidInterfaceGasFlagIDSet_

template<typename ScalarField_T , typename FlagField_T >
Set< FlagUID > walberla::free_surface::SurfaceMeshWriter< ScalarField_T, FlagField_T >::liquidInterfaceGasFlagIDSet_
private

◆ obstacleFillLevel_

template<typename ScalarField_T , typename FlagField_T >
real_t walberla::free_surface::SurfaceMeshWriter< ScalarField_T, FlagField_T >::obstacleFillLevel_
private

◆ writeFrequency_

template<typename ScalarField_T , typename FlagField_T >
uint_t walberla::free_surface::SurfaceMeshWriter< ScalarField_T, FlagField_T >::writeFrequency_
private

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