00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036 #ifndef PDeltaCrdTransf3d_h
00037 #define PDeltaCrdTransf3d_h
00038
00039 #include <CrdTransf3d.h>
00040 #include <Vector.h>
00041 #include <Matrix.h>
00042
00043 class PDeltaCrdTransf3d: public CrdTransf3d
00044 {
00045 public:
00046 PDeltaCrdTransf3d(int tag, const Vector &vecInLocXZPlane);
00047 PDeltaCrdTransf3d(int tag, const Vector &vecInLocXZPlane,
00048 const Vector &rigJntOffsetI,
00049 const Vector &rigJntOffsetJ);
00050
00051 PDeltaCrdTransf3d();
00052 ~PDeltaCrdTransf3d();
00053
00054 int initialize(Node *node1Pointer, Node *node2Pointer);
00055 int update(void);
00056 double getInitialLength(void);
00057 double getDeformedLength(void);
00058
00059 int commitState(void);
00060 int revertToLastCommit(void);
00061 int revertToStart(void);
00062
00063 const Vector &getBasicTrialDisp(void);
00064 const Vector &getBasicIncrDisp(void);
00065 const Vector &getBasicIncrDeltaDisp(void);
00066 const Vector &getBasicTrialVel(void);
00067 const Vector &getBasicTrialAccel(void);
00068
00069 const Vector &getGlobalResistingForce(const Vector &basicForce, const Vector &p0);
00070 const Matrix &getGlobalStiffMatrix(const Matrix &basicStiff, const Vector &basicForce);
00071 const Matrix &getInitialGlobalStiffMatrix(const Matrix &basicStiff);
00072
00073 CrdTransf3d *getCopy(void);
00074
00075 int sendSelf(int cTag, Channel &theChannel);
00076 int recvSelf(int cTag, Channel &theChannel, FEM_ObjectBroker &theBroker);
00077
00078 void Print(OPS_Stream &s, int flag = 0);
00079
00080
00081 const Vector &getPointGlobalCoordFromLocal(const Vector &localCoords);
00082 const Vector &getPointGlobalDisplFromBasic(double xi, const Vector &basicDisps);
00083
00084 int getLocalAxes(Vector &xAxis, Vector &yAxis, Vector &zAxis);
00085
00086 private:
00087 int computeElemtLengthAndOrient(void);
00088
00089
00090 Node *nodeIPtr, *nodeJPtr;
00091
00092 double *nodeIOffset, *nodeJOffset;
00093
00094 double R[3][3];
00095
00096 double L;
00097 double ul17;
00098 double ul28;
00099
00100 double *nodeIInitialDisp, *nodeJInitialDisp;
00101 bool initialDispChecked;
00102 };
00103
00104 #endif
00105