#include <suPointMass3DIATaylor.h>
Public Member Functions | |
| suPointMass3DIATaylor () | |
| Default constructor. | |
| virtual | ~suPointMass3DIATaylor () |
| Destructor. | |
| void | setPerformDecomposition (bool aTrueFalse, int aCapcity=100) |
| Initialize new decomposition storage objects. | |
| rdStorage ** | getForceStorage () |
| Get the force decomposition storage. | |
| void | getStiffness (double aVel[3], double aPos[3], double aDFDP[3], double aDFDV[3]) |
| Create a new decomposition storage object. | |
| void | setStorageInterval (int aInterval) |
| Set the storage interval. | |
| int | getStorageInterval () |
| Get the storage interval. | |
| void | decompStep (double aDT, double aDFDP[3], double aDFDV[3], double aAcc[3], double aV[3], double aF[3]) |
| Take a step forward in a decomposition component. | |
| void | decompStep (double aDT, double aT, double aDFDP[3], double aDFDV[3], double aAcc[3], double aSVel[3], double aSFrc[3], double aV[3], double aF[3]) |
| Take a step forward in a decomposition component accounting for power balance requirements. | |
| void | compress (double aDT, double aDFDP, double aDFDV, double aAcc, double *aVe, double *aFe) |
| Compress an element in a decomposition. | |
| void | decompress (double aFrcLast, double aFrc, double aVelLast, double aVel, double *aVe, double *aFe) |
| Decompress an element in a decomposition. | |
| void | correctForSliding (double aAlpha[3], double aF[3]) |
| Correct spring components for sliding. | |
| void | correctForSliding (double aAlpha, double *aF) |
| Correct spring components for sliding. | |
| void | computeHigherOrderDerivatives (int c, double t, double *dudt, double *ddudt, double *dddudt) |
| Compute higher order derivatives of the accelerations. | |
| void | printStorage (const char *aPath=NULL, double dt=-1.0) |
| Print storage. | |
| void | integBeginCallback (int i, double dt, double t, double *x, double *y, void *cd=NULL) |
| At the beginning of an integration, initialize the decomposition. | |
| void | integStepCallback (double *xtPrev, double *yPrev, int i, double dt, double t, double *xt, double *y, void *cd=NULL) |
| After each integration step, update the horizontal spring zeros and draw the model. | |
Static Public Attributes | |
| const int | NC = NNC |
| const int | NE = NNS |
| const int | NEFOOT = 0 |
| const int | NEFRC = NE+3 |
| const int | CMUS = NX-1 |
| const int | CLIG = NX |
| const int | CGRAV = NX+1 |
| const int | CCEN = NX+2 |
| const int | CVEL = NX+3 |
| const int | CINER |
| const int | CALLMUS = NX+4 |
| const int | CALL = NX+5 |
| const double | SMALL = 1.0e-8 |
Protected Attributes | |
| char ** | _cNames |
| int | _storageInterval |
| bool * | _contactEstablished |
| double | _tolContact |
| double | _tolPower |
| double * | _sfrcLast |
| double * | _svelLast |
| double * | _feContig |
| double *** | _fe |
| double * | _veContig |
| double *** | _ve |
| double | _at [NNC][3] |
| double | _ah [NNC][NNU][3] |
| rdStorage ** | _feStore |
| rdStorage ** | _veStore |
| rdStorage ** | _aeStore |
Private Member Functions | |
| void | constructComponentNames () |
| Construct component names. | |
| void | allocateElementVectors () |
| Allocate element vectors. | |
| void | deleteStorage () |
| Delete storage objects. | |
1.3