walberla::pe_coupling::ForceTorqueOnBodiesScaler Class Reference

#include <ForceTorqueOnBodiesScaler.h>

Public Member Functions

 ForceTorqueOnBodiesScaler (const shared_ptr< StructuredBlockStorage > &blockStorage, const BlockDataID &bodyStorageID, const real_t &scalingFactor, const std::function< bool(pe::BodyID)> &bodySelectorFct=selectRegularBodies)
 
void operator() ()
 
void resetScalingFactor (const real_t newScalingFactor)
 

Private Attributes

shared_ptr< StructuredBlockStorageblockStorage_
 
const BlockDataID bodyStorageID_
 
real_t scalingFactor_
 
const std::function< bool(pe::BodyID)> bodySelectorFct_
 

Constructor & Destructor Documentation

◆ ForceTorqueOnBodiesScaler()

walberla::pe_coupling::ForceTorqueOnBodiesScaler::ForceTorqueOnBodiesScaler ( const shared_ptr< StructuredBlockStorage > &  blockStorage,
const BlockDataID bodyStorageID,
const real_t scalingFactor,
const std::function< bool(pe::BodyID)> &  bodySelectorFct = selectRegularBodies 
)
inline

Member Function Documentation

◆ operator()()

void walberla::pe_coupling::ForceTorqueOnBodiesScaler::operator() ( )

◆ resetScalingFactor()

void walberla::pe_coupling::ForceTorqueOnBodiesScaler::resetScalingFactor ( const real_t  newScalingFactor)

Member Data Documentation

◆ blockStorage_

shared_ptr<StructuredBlockStorage> walberla::pe_coupling::ForceTorqueOnBodiesScaler::blockStorage_
private

◆ bodySelectorFct_

const std::function<bool(pe::BodyID)> walberla::pe_coupling::ForceTorqueOnBodiesScaler::bodySelectorFct_
private

◆ bodyStorageID_

const BlockDataID walberla::pe_coupling::ForceTorqueOnBodiesScaler::bodyStorageID_
private

◆ scalingFactor_

real_t walberla::pe_coupling::ForceTorqueOnBodiesScaler::scalingFactor_
private

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