walberla::pe_coupling::BodiesForceTorqueContainer Class Reference

#include <BodiesForceTorqueContainer.h>

Public Types

using ForceTorqueStorage_T = std::map< walberla::id_t, std::array< real_t, 6 > >
 

Public Member Functions

 BodiesForceTorqueContainer (const shared_ptr< StructuredBlockForest > &blockForest, const BlockDataID &bodyStorageID, const std::function< bool(pe::BodyID)> &bodySelectorFct=selectRegularBodies)
 
void operator() ()
 
void store ()
 
void setOnBodies ()
 
void clear ()
 
void swap (BodiesForceTorqueContainer &other)
 

Private Attributes

shared_ptr< StructuredBlockStorageblockForest_
 
const BlockDataID bodyStorageID_
 
BlockDataID bodyForceTorqueStorageID_
 
std::function< bool(pe::BodyID)> bodySelectorFct_
 

Member Typedef Documentation

◆ ForceTorqueStorage_T

Constructor & Destructor Documentation

◆ BodiesForceTorqueContainer()

walberla::pe_coupling::BodiesForceTorqueContainer::BodiesForceTorqueContainer ( const shared_ptr< StructuredBlockForest > &  blockForest,
const BlockDataID bodyStorageID,
const std::function< bool(pe::BodyID)> &  bodySelectorFct = selectRegularBodies 
)
inline

Member Function Documentation

◆ clear()

void walberla::pe_coupling::BodiesForceTorqueContainer::clear ( )

◆ operator()()

void walberla::pe_coupling::BodiesForceTorqueContainer::operator() ( )
inline

◆ setOnBodies()

void walberla::pe_coupling::BodiesForceTorqueContainer::setOnBodies ( )

◆ store()

void walberla::pe_coupling::BodiesForceTorqueContainer::store ( )

◆ swap()

void walberla::pe_coupling::BodiesForceTorqueContainer::swap ( BodiesForceTorqueContainer other)

Member Data Documentation

◆ blockForest_

shared_ptr<StructuredBlockStorage> walberla::pe_coupling::BodiesForceTorqueContainer::blockForest_
private

◆ bodyForceTorqueStorageID_

BlockDataID walberla::pe_coupling::BodiesForceTorqueContainer::bodyForceTorqueStorageID_
private

◆ bodySelectorFct_

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

◆ bodyStorageID_

const BlockDataID walberla::pe_coupling::BodiesForceTorqueContainer::bodyStorageID_
private

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