LBIBCell
|
the base class for all forces More...
#include <AbstractForceStruct.hpp>
Public Member Functions | |
virtual void | calculateForce (const std::map< unsigned int, std::shared_ptr< nodes::GeometryNode > > &nodes)=0 |
calculates the force on the geometry nodes More... | |
virtual | ~AbstractForceStruct () |
Destructor. | |
virtual void | writeForceStruct (std::ofstream *const stream) const =0 |
writes the force struct to the ostream More... | |
virtual unsigned int | getType (void) const =0 |
Returns the force type. More... | |
virtual unsigned int | getPartnerGeometryNode (void) const =0 |
getPartnerGeometryNode More... | |
the base class for all forces
Definition at line 39 of file AbstractForceStruct.hpp.
|
pure virtual |
calculates the force on the geometry nodes
nodes | the nodes where the force is applied |
Implemented in LbmLib::solver::ForceStructs::ForceType7, LbmLib::solver::ForceStructs::ForceType6, LbmLib::solver::ForceStructs::ForceType5, LbmLib::solver::ForceStructs::ForceType4, LbmLib::solver::ForceStructs::ForceType3, LbmLib::solver::ForceStructs::ForceType2, LbmLib::solver::ForceStructs::ForceType1, and LbmLib::solver::ForceStructs::ForceType0.
|
pure virtual |
getPartnerGeometryNode
Implemented in LbmLib::solver::ForceStructs::ForceType7, LbmLib::solver::ForceStructs::ForceType6, LbmLib::solver::ForceStructs::ForceType5, LbmLib::solver::ForceStructs::ForceType4, LbmLib::solver::ForceStructs::ForceType3, LbmLib::solver::ForceStructs::ForceType2, LbmLib::solver::ForceStructs::ForceType1, and LbmLib::solver::ForceStructs::ForceType0.
|
pure virtual |
Returns the force type.
Implemented in LbmLib::solver::ForceStructs::ForceType7, LbmLib::solver::ForceStructs::ForceType6, LbmLib::solver::ForceStructs::ForceType5, LbmLib::solver::ForceStructs::ForceType4, LbmLib::solver::ForceStructs::ForceType3, LbmLib::solver::ForceStructs::ForceType2, LbmLib::solver::ForceStructs::ForceType1, and LbmLib::solver::ForceStructs::ForceType0.
|
pure virtual |
writes the force struct to the ostream
stream | the output stream |
Implemented in LbmLib::solver::ForceStructs::ForceType7, LbmLib::solver::ForceStructs::ForceType6, LbmLib::solver::ForceStructs::ForceType5, LbmLib::solver::ForceStructs::ForceType4, LbmLib::solver::ForceStructs::ForceType3, LbmLib::solver::ForceStructs::ForceType2, LbmLib::solver::ForceStructs::ForceType1, and LbmLib::solver::ForceStructs::ForceType0.