walberla::pe::BodyStatistics Class Reference

#include <BodyStatistics.h>

Public Member Functions

 BodyStatistics (const shared_ptr< BlockStorage > &blockStorage, const BlockDataID &bodyStorageID)
 
void operator() ()
 
void toStream (std::ostream &os) const
 
uint_t numBodies () const
 
uint_t numShadowCopies () const
 
real_t minVelocity () const
 
real_t maxVelocity () const
 
real_t avgVelocity () const
 
real_t totalMass () const
 

Private Attributes

const shared_ptr< BlockStorageblockStorage_
 
const BlockDataID bodyStorageID_
 
math::Sample localBodiesBlockSample_
 
math::Sample shadowBodiesBlockSample_
 
math::Sample localBodiesProcessSample_
 
math::Sample shadowBodiesProcessSample_
 
uint_t numBodies_
 
uint_t numShadowCopies_
 
math::DistributedSample velocitySample_
 
math::DistributedSample massSample_
 

Constructor & Destructor Documentation

◆ BodyStatistics()

walberla::pe::BodyStatistics::BodyStatistics ( const shared_ptr< BlockStorage > &  blockStorage,
const BlockDataID bodyStorageID 
)
inline

Member Function Documentation

◆ avgVelocity()

real_t walberla::pe::BodyStatistics::avgVelocity ( ) const
inline

◆ maxVelocity()

real_t walberla::pe::BodyStatistics::maxVelocity ( ) const
inline

◆ minVelocity()

real_t walberla::pe::BodyStatistics::minVelocity ( ) const
inline

◆ numBodies()

uint_t walberla::pe::BodyStatistics::numBodies ( ) const
inline

◆ numShadowCopies()

uint_t walberla::pe::BodyStatistics::numShadowCopies ( ) const
inline

◆ operator()()

void walberla::pe::BodyStatistics::operator() ( )

◆ toStream()

void walberla::pe::BodyStatistics::toStream ( std::ostream &  os) const

◆ totalMass()

real_t walberla::pe::BodyStatistics::totalMass ( ) const
inline

Member Data Documentation

◆ blockStorage_

const shared_ptr<BlockStorage> walberla::pe::BodyStatistics::blockStorage_
private

◆ bodyStorageID_

const BlockDataID walberla::pe::BodyStatistics::bodyStorageID_
private

◆ localBodiesBlockSample_

math::Sample walberla::pe::BodyStatistics::localBodiesBlockSample_
private

◆ localBodiesProcessSample_

math::Sample walberla::pe::BodyStatistics::localBodiesProcessSample_
private

◆ massSample_

math::DistributedSample walberla::pe::BodyStatistics::massSample_
private

◆ numBodies_

uint_t walberla::pe::BodyStatistics::numBodies_
private

◆ numShadowCopies_

uint_t walberla::pe::BodyStatistics::numShadowCopies_
private

◆ shadowBodiesBlockSample_

math::Sample walberla::pe::BodyStatistics::shadowBodiesBlockSample_
private

◆ shadowBodiesProcessSample_

math::Sample walberla::pe::BodyStatistics::shadowBodiesProcessSample_
private

◆ velocitySample_

math::DistributedSample walberla::pe::BodyStatistics::velocitySample_
private

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