walberla::ForceLogger Class Reference

Detailed Description

Class for calculating (and logging) the force exerted by the fluid on an obstacle inside the domain.

Public Member Functions

 ForceLogger (const std::string &filename, const shared_ptr< StructuredBlockStorage > &blocks, const BlockDataID &pdfFieldId, const BlockDataID &flagFieldId, const FlagUID &fluid, const FlagUID &obstacle, const uint_t checkFrequency)
 
void operator() ()
 

Private Attributes

uint_t executionCounter_
 
uint_t checkFrequency_
 
std::string filename_
 
shared_ptr< StructuredBlockStorageblocks_
 
BlockDataID pdfFieldId_
 
BlockDataID flagFieldId_
 
FlagUID fluid_
 
FlagUID obstacle_
 

Constructor & Destructor Documentation

◆ ForceLogger()

walberla::ForceLogger::ForceLogger ( const std::string &  filename,
const shared_ptr< StructuredBlockStorage > &  blocks,
const BlockDataID pdfFieldId,
const BlockDataID flagFieldId,
const FlagUID &  fluid,
const FlagUID &  obstacle,
const uint_t  checkFrequency 
)
inline

Member Function Documentation

◆ operator()()

void walberla::ForceLogger::operator() ( )
inline

Member Data Documentation

◆ blocks_

shared_ptr< StructuredBlockStorage > walberla::ForceLogger::blocks_
private

◆ checkFrequency_

uint_t walberla::ForceLogger::checkFrequency_
private

◆ executionCounter_

uint_t walberla::ForceLogger::executionCounter_
private

◆ filename_

std::string walberla::ForceLogger::filename_
private

◆ flagFieldId_

BlockDataID walberla::ForceLogger::flagFieldId_
private

◆ fluid_

FlagUID walberla::ForceLogger::fluid_
private

◆ obstacle_

FlagUID walberla::ForceLogger::obstacle_
private

◆ pdfFieldId_

BlockDataID walberla::ForceLogger::pdfFieldId_
private

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