Public Member Functions |
| | Body (const std::string &name) |
| | constructor
|
|
virtual | ~Body () |
| | destructor
|
|
void | setInitialGeneralizedPosition (const fmatvec::Vec &q0_) |
|
void | setInitialGeneralizedVelocity (const fmatvec::Vec &u0_) |
|
void | setInitialGeneralizedPosition (double q0_) |
|
void | setInitialGeneralizedVelocity (double u0_) |
|
void | sethSize (int hSize_, int i=0) |
|
void | sethInd (int hInd_, int i=0) |
| virtual void | plot (double t, double dt=1) |
| | plots time dependent data
|
|
virtual void | closePlot () |
| | closes plot file
|
| virtual std::string | getType () const |
| virtual void | setDynamicSystemSolver (DynamicSystemSolver *sys) |
| | sets the used dynamics system solver to the element
|
|
virtual void | init (InitStage stage) |
| | initialize object at start of simulation with respect to contours and frames
|
| virtual Contour * | getContour (const std::string &name, bool check=true) const |
| virtual Frame * | getFrame (const std::string &name, bool check=true) const |
| virtual Frame * | getFrameOfReference () |
| virtual const Frame * | getFrameOfReference () const |
| virtual void | setFrameOfReference (Frame *frame) |
|
const std::vector< Frame * > & | getFrames () const |
|
const std::vector< Contour * > & | getContours () const |
| int | frameIndex (const Frame *frame_) const |
| int | contourIndex (const Contour *contour_) const |
|
virtual void | initializeUsingXML (xercesc::DOMElement *element) |
|
virtual xercesc::DOMElement * | writeXMLFile (xercesc::DOMNode *element) |
|
virtual Element * | getChildByContainerAndName (const std::string &container, const std::string &name) const |
| | Get the Element named name in the container named container.
|
Protected Member Functions |
| virtual void | addFrame (Frame *frame) |
| virtual void | addContour (Contour *contour) |
Protected Attributes |
|
std::vector< Frame * > | frame |
| | vector of frames and contours
|
|
std::vector< Contour * > | contour |
|
Frame * | R |
| | frame of reference of the object
|
Private Attributes |
|
std::string | saved_frameOfReference |
base class for all mechanical bodies with mass and generalised coordinates
- Author:
- Martin Foerg
- Date:
- 2009-04-06 object and body divided (Markus Schneider)
The following part is only a test for equation and image output for the XML documentation. A not inline equation
And a inline equation
. And a image
The image caption
End of the test.