Class that defines the type of Load 'Force'. More...
#include <Force.h>
Inheritance diagram for Force:
Collaboration diagram for Force:Public Member Functions | |
| void | ansysPrint (std::ostream &) const override |
| Redefinition of ansysPrint to print in ansys format. More... | |
| Force () | |
| default constructor More... | |
Public Member Functions inherited from Load | |
| void | addEvent (ValueEvent *ve) |
| Insert an event from the particular load the load is set to value v when time is equal to t. More... | |
| void | addTarget (std::string currentData) |
| add a lots of new targets using a description string (...) More... | |
| void | addTarget (unsigned int target) |
| add a new target More... | |
| void | addValueEvent (const double v, const double d) |
| set the valueEvent. More... | |
| Direction | getDirection () const |
| get direction object (a copy) More... | |
| void | getDirection (double &x, double &y, double &z) const |
| Get the direction. More... | |
| int | getTarget (const unsigned int target) const |
| Get a target by index. More... | |
| TargetList | getTargetList () const |
| get the complete list More... | |
| std::string | getType () const |
| get the type string, has to be impleted in subclasses More... | |
| Unit | getUnit () const |
| get the unit More... | |
| double | getValue (const double d=0.0) |
| The current value at date d (default: d = 0.0). More... | |
| ValueEvent * | getValueEvent (const unsigned int i) const |
| Get a the ValueEvent. More... | |
| bool | isActive (const double t) |
| return true if the load is active at time t More... | |
| Load () | |
| Constructor. More... | |
| unsigned int | numberOfTargets () const |
| get the number of target More... | |
| unsigned int | numberOfValueEvents () const |
| get the nr of value event More... | |
| void | setAllEvents (std::vector< ValueEvent * > &) |
| set all value events More... | |
| void | setDirection (const Direction &) |
| Set the direction using another direction. More... | |
| void | setDirection (const double x, const double y, const double z) |
| Set the direction using 3 coordinates. More... | |
| void | setTargetList (const TargetList &) |
| set the complete list More... | |
| void | setUnit (const Unit u) |
| set the unit More... | |
| void | xmlPrint (std::ostream &) const |
| Print to an ostream. More... | |
| virtual | ~Load () |
| destructor is deleting all the value events (BEWARE!!!) More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Load | |
| static Load * | LoadFactory (std::string type) |
| static method to create a new load using a specific type (return nullptr if type is unknown) More... | |
Protected Attributes inherited from Load | |
| Direction | dir |
| std::string | typeString |
| Unit | unit |
| Force::Force | ( | ) |
default constructor
References ForceUnit::N(), Load::typeString, and Load::unit.
Here is the call graph for this function:
|
overridevirtual |
Redefinition of ansysPrint to print in ansys format.
Reimplemented from Load.
References Load::ansysPrint().
Here is the call graph for this function: