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
00037
00038
00039 #ifndef LinearCrdTransf3d_h
00040 #define LinearCrdTransf3d_h
00041
00042 #include <CrdTransf3d.h>
00043 #include <Vector.h>
00044 #include <Matrix.h>
00045
00047 class LinearCrdTransf3d: public CrdTransf3d
00048 {
00049 public:
00051 LinearCrdTransf3d (int tag, const Vector &vecInLocXZPlane);
00053 LinearCrdTransf3d (int tag, const Vector &vecInLocXZPlane,
00054 const Vector &rigJntOffsetI,
00055 const Vector &rigJntOffsetJ);
00056
00058 LinearCrdTransf3d();
00060 ~LinearCrdTransf3d();
00061
00063 int initialize(Node *node1Pointer, Node *node2Pointer);
00065 int update(void);
00067 double getInitialLength(void);
00069 double getDeformedLength(void);
00070
00072 int commitState(void);
00074 int revertToLastCommit(void);
00076 int revertToStart(void);
00077
00079 const Vector &getBasicTrialDisp (void);
00081 const Vector &getBasicIncrDisp (void);
00083 const Vector &getBasicIncrDeltaDisp (void);
00084
00086 const Vector &getGlobalResistingForce (const Vector &basicForce, const Vector &uniformLoad);
00088 const Matrix &getGlobalStiffMatrix (const Matrix &basicStiff, const Vector &basicForce);
00089
00091 CrdTransf3d *getCopy(void);
00092
00094 int sendSelf(int cTag, Channel &theChannel);
00096 int recvSelf(int cTag, Channel &theChannel, FEM_ObjectBroker &theBroker);
00097
00099 void Print(ostream &s, int flag =0);
00100
00102 const Vector &getPointGlobalCoordFromLocal (const Vector &localCoords);
00104 const Vector &getPointGlobalDisplFromBasic (double xi, const Vector &basicDisps);
00105
00106 private:
00108 int computeElemtLengthAndOrient (void);
00110 int getLocalAxes (void);
00111
00113 Node *nodeIPtr,
00114 *nodeJPtr;
00115
00116 double *nodeIOffset, *nodeJOffset;
00117
00118 double R[3][3];
00119
00120 double L;
00121 };
00122
00123 #endif
00124
00125 ÿ