22 #ifndef ABSTRACTFORCESTRUCT_HPP
23 #define ABSTRACTFORCESTRUCT_HPP
45 std::shared_ptr<nodes::GeometryNode> >& nodes) = 0;
62 virtual unsigned int getType(
void)
const = 0;
74 #endif // ABSTRACTFORCESTRUCT_HPP
virtual ~AbstractForceStruct()
Destructor.
virtual void calculateForce(const std::map< unsigned int, std::shared_ptr< nodes::GeometryNode > > &nodes)=0
calculates the force on the geometry nodes
virtual unsigned int getType(void) const =0
Returns the force type.
virtual void writeForceStruct(std::ofstream *const stream) const =0
writes the force struct to the ostream
the base class for all forces
virtual unsigned int getPartnerGeometryNode(void) const =0
getPartnerGeometryNode