#include <suBodyPointIndAcc.h>
Inheritance diagram for suBodyPointIndAcc:

Public Member Functions | |
| suBodyPointIndAcc (rdModel *aModel, int aBody, double aPoint[3]) | |
| Construct an instance for computing the induced accelerations of a point on a segment of a model during a simulation. | |
| suBodyPointIndAcc (rdModel *aModel, int aBody, double aPoint[3], rdStorage *aStates, rdStorage *aControls, char *aBaseName, char *aDir=NULL, char *aExtension=NULL) | |
| Construct an instance for computing the induced accelerations of a point on a segment of a model from a set of force decomposition files. | |
| virtual | ~suBodyPointIndAcc () |
| Destructor. | |
| void | setBody (int aBody) |
| Set the body for which the induced accelerations are to be computed. | |
| int | getBody () |
| Get the body for which the induced accelerations are to be computed. | |
| void | setPoint (double aPoint[3]) |
| Set the point for which the induced accelerations are to be computed. | |
| void | getPoint (double rPoint[3]) |
| Get the point for which the induced accelerations are to be computed. | |
| void | setPointName (const char *aName) |
| Set a name for the point. | |
| const char * | getPointName () |
| Get the point name. | |
| virtual void | setStorageCapacityIncrements (int aIncrement) |
| Set the capacity increments of all storage instances. | |
| char * | getColumnLabels (const char *aTag) |
| Construct column labels for the inducded induced accelerations of the body points. | |
| int | computePointAccelerations () |
| Compute the acceleration of a point on a body induced by the active force components of the model given a force decomposition and a set of states. | |
| virtual int | printResults (char *aBaseName, char *aDir=NULL, double aDT=-1.0, char *aExtension=".sto") |
| Print results. | |
Static Public Attributes | |
| const int | NAME_LENGTH = suBodyPointIndAcc_NAME_LENGTH |
| const int | BUFFER_LENGTH = suBodyPointIndAcc_BUFFER_LENGTH |
Protected Attributes | |
| int | _body |
| double | _point [3] |
| char | _pointName [suBodyPointIndAcc_NAME_LENGTH] |
| rdStorage * | _axPointStore |
| rdStorage * | _ayPointStore |
| rdStorage * | _azPointStore |
| rdStorage * | _vxPointStore |
| rdStorage * | _vyPointStore |
| rdStorage * | _vzPointStore |
| rdStorage * | _pxPointStore |
| rdStorage * | _pyPointStore |
| rdStorage * | _pzPointStore |
Private Member Functions | |
| void | setNull () |
| Set the default or null values for the member variables. | |
| void | constructDescription () |
| Construct a description for the body kinematics files. | |
| void | allocatePointStorage () |
| Allocate storage. | |
| void | deletePointStorage () |
| Delete storage objects. | |
Private Attributes | |
| char | _buffer [suBodyPointIndAcc_BUFFER_LENGTH] |
| char | _tmp [suBodyPointIndAcc_BUFFER_LENGTH] |
|
||||||||||||||||
|
Construct an instance for computing the induced accelerations of a point on a segment of a model during a simulation.
|
|
||||||||||||||||||||||||||||||||||||
|
Construct an instance for computing the induced accelerations of a point on a segment of a model from a set of force decomposition files. Note that the induced accelerations are not read in from file. The induced accelerations are recomputed based on the force decomposition.
|
|
|
Compute the acceleration of a point on a body induced by the active force components of the model given a force decomposition and a set of states.
|
|
|
Get the body for which the induced accelerations are to be computed.
|
|
|
Get the point for which the induced accelerations are to be computed.
|
|
|
Get the point name.
|
|
||||||||||||||||||||
|
Print results. The file names are constructed as aDir + "/" + aBaseName + "_" + ComponentName + aExtension
Reimplemented from suIndAcc. |
|
|
Set the body for which the induced accelerations are to be computed.
|
|
|
Set the point for which the induced accelerations are to be computed.
|
|
|
Set a name for the point.
|
|
|
Set the capacity increments of all storage instances.
Reimplemented from suIndAcc. |
1.3