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
00040
00041 #ifndef PDeltaCrdTransf2d_h
00042 #define PDeltaCrdTransf2d_h
00043
00044 #include <CrdTransf2d.h>
00045 #include <Vector.h>
00046 #include <Matrix.h>
00047
00049 class PDeltaCrdTransf2d: public CrdTransf2d
00050 {
00051 public:
00053 PDeltaCrdTransf2d (int tag);
00055 PDeltaCrdTransf2d (int tag,
00056 const Vector &rigJntOffsetI,
00057 const Vector &rigJntOffsetJ);
00058
00060 PDeltaCrdTransf2d();
00062 ~PDeltaCrdTransf2d();
00063
00065 int initialize(Node *node1Pointer, Node *node2Pointer);
00067 int update(void);
00069 double getInitialLength(void);
00071 double getDeformedLength(void);
00072
00074 int commitState(void);
00076 int revertToLastCommit(void);
00078 int revertToStart(void);
00079
00081 const Vector &getBasicTrialDisp (void);
00083 const Vector &getBasicIncrDisp (void);
00085 const Vector &getBasicIncrDeltaDisp (void);
00086
00088 const Vector &getGlobalResistingForce (const Vector &basicForce, const Vector &uniformLoad);
00090 const Matrix &getGlobalStiffMatrix (const Matrix &basicStiff, const Vector &basicForce);
00091
00093 CrdTransf2d *getCopy(void);
00094
00096 int sendSelf(int cTag, Channel &theChannel);
00098 int recvSelf(int cTag, Channel &theChannel, FEM_ObjectBroker &theBroker);
00099
00101 void Print(ostream &s, int flag =0);
00102
00104 const Vector &getPointGlobalCoordFromLocal (const Vector &localCoords);
00106 const Vector &getPointGlobalDisplFromBasic (double xi, const Vector &basicDisps);
00107
00108 private:
00110 int computeElemtLengthAndOrient (void);
00111
00113 Node *nodeIPtr,
00114 *nodeJPtr;
00115
00116 double *nodeIOffset, *nodeJOffset;
00117
00118 double cosTheta, sinTheta;
00119
00121 double L;
00122 double ul14;
00123 };
00124
00125 #endif
00126
00127 ÿ