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 EnvelopeElementRecorder_h
00026 #define EnvelopeElementRecorder_h
00027
00028
00029
00030
00031
00032 #include <Recorder.h>
00033 #include <Information.h>
00034 #include <OPS_Globals.h>
00035 #include <ID.h>
00036
00037
00038 class Domain;
00039 class Vector;
00040 class Matrix;
00041 class Element;
00042 class Response;
00043 class FE_Datastore;
00044
00045 class EnvelopeElementRecorder: public Recorder
00046 {
00047 public:
00048 EnvelopeElementRecorder();
00049 EnvelopeElementRecorder(const ID &eleID,
00050 const char **argv,
00051 int argc,
00052 Domain &theDomain,
00053 OPS_Stream &theOutputHandler,
00054 double deltaT = 0.0,
00055 bool echoTimeFlag = true);
00056
00057
00058 ~EnvelopeElementRecorder();
00059
00060 int record(int commitTag, double timeStamp);
00061 int restart(void);
00062
00063 int setDomain(Domain &theDomain);
00064 int sendSelf(int commitTag, Channel &theChannel);
00065 int recvSelf(int commitTag, Channel &theChannel,
00066 FEM_ObjectBroker &theBroker);
00067
00068 protected:
00069
00070 private:
00071 int initialize(void);
00072
00073 int numEle;
00074 ID eleID;
00075 Response **theResponses;
00076
00077 Domain *theDomain;
00078 OPS_Stream *theHandler;
00079
00080 double deltaT;
00081 double nextTimeStampToRecord;
00082
00083 Matrix *data;
00084 Vector *currentData;
00085 bool first;
00086
00087 bool initializationDone;
00088 char **responseArgs;
00089 int numArgs;
00090
00091 bool echoTimeFlag;
00092 };
00093
00094
00095 #endif