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 #ifndef ParkAng_h
00028 #define ParkAng_h
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038 #include <ErrorHandler.h>
00039 #include <DamageModel.h>
00040
00041 class DamageResponse;
00042
00043
00044 class ParkAng : public DamageModel
00045 {
00046 public:
00047 ParkAng(int tag, double deltaU , double beta , double sigmaY );
00048 ParkAng();
00049 ~ParkAng();
00050
00051 int setTrial (double scalar, double scalarRate = 0.0 );
00052 int setTrial (Vector trialVector );
00053 int setTrial ();
00054
00055 int setInputResponse ( Element *elem , const char **argv , int argc, int ndof );
00056
00057 double getDamage(void);
00058 double getPosDamage (void);
00059 double getNegDamage (void);
00060
00061 int commitState(void);
00062 int revertToLastCommit (void);
00063 int revertToStart (void);
00064
00065 DamageModel *getCopy (void);
00066
00067 int setVariable(const char *argv);
00068 int getVariable(int variableID, double &info);
00069
00070 int setParameter(char **argv, int argc, Information &eleInformation);
00071 int updateParameter(int responseID, Information &eleInformation);
00072
00073 Response *setResponse(char **argv, int argc, Information &info);
00074 int getResponse(int responseID, Information &info);
00075
00076 int sendSelf(int commitTag, Channel &theChannel);
00077 int recvSelf(int commitTag, Channel &theChannel,
00078 FEM_ObjectBroker &theBroker);
00079 void Print(OPS_Stream &s, int flag =0);
00080
00081
00082 void update(void) {return;}
00083
00084 protected:
00085
00086 private:
00087
00088 double DeltaU , Beta , SigmaY;
00089
00090 double TrialInfo[6];
00091 double CommitInfo[6];
00092 double LastCommitInfo[6];
00093
00094 };
00095
00096
00097 #endif