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 #ifndef EnvelopeDriftRecorder_h
00026 #define EnvelopeDriftRecorder_h
00027
00028
00029
00030
00031
00032
00033
00034 #include <Recorder.h>
00035 #include <ID.h>
00036 #include <Vector.h>
00037
00038 class Domain;
00039 class Node;
00040
00041 class EnvelopeDriftRecorder: public Recorder
00042 {
00043 public:
00044 EnvelopeDriftRecorder();
00045 EnvelopeDriftRecorder(int ndI, int ndJ, int dof, int perpDirn,
00046 Domain &theDomain,
00047 OPS_Stream &theHandler,
00048 bool echoTime = false);
00049
00050 EnvelopeDriftRecorder(const ID &ndI, const ID &ndJ, int dof, int perpDirn,
00051 Domain &theDomain,
00052 OPS_Stream &theHandler,
00053 bool echoTime = false);
00054
00055 ~EnvelopeDriftRecorder();
00056
00057 int record(int commitTag, double timeStamp);
00058 int restart(void);
00059
00060 int setDomain(Domain &theDomain);
00061 int sendSelf(int commitTag, Channel &theChannel);
00062 int recvSelf(int commitTag, Channel &theChannel,
00063 FEM_ObjectBroker &theBroker);
00064
00065 protected:
00066
00067 private:
00068 int initialize(void);
00069
00070 ID *ndI;
00071 ID *ndJ;
00072 Node **theNodes;
00073 int dof;
00074 int perpDirn;
00075 Vector *oneOverL;
00076
00077 Vector *currentData;
00078 Matrix *data;
00079
00080 Domain *theDomain;
00081 OPS_Stream *theOutputHandler;
00082
00083 bool first;
00084 bool initializationDone;
00085 int numNodes;
00086 bool echoTimeFlag;
00087 };
00088
00089 #endif