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 #ifndef SectionForceDeformation_h
00027 #define SectionForceDeformation_h
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040 #include <Material.h>
00041 #include <Matrix.h>
00042 #include <Vector.h>
00043 #include <ID.h>
00044
00045 class Information;
00046 class Response;
00047
00048 #define MAX_SECTION_RESPONSE_ID 10000
00049
00050 #define SECTION_RESPONSE_MZ 1
00051 #define SECTION_RESPONSE_P 2
00052 #define SECTION_RESPONSE_VY 3
00053 #define SECTION_RESPONSE_MY 4
00054 #define SECTION_RESPONSE_VZ 5
00055 #define SECTION_RESPONSE_T 6
00056
00057 class SectionForceDeformation : public Material
00058 {
00059 public:
00060 SectionForceDeformation (int tag, int classTag);
00061 SectionForceDeformation ();
00062 virtual ~SectionForceDeformation ();
00063
00064 virtual int setTrialSectionDeformation (const Vector&) = 0;
00065 virtual const Vector &getSectionDeformation (void) = 0;
00066
00067 virtual const Vector &getStressResultant (void) = 0;
00068 virtual const Matrix &getSectionTangent (void) = 0;
00069 virtual const Matrix &getInitialTangent (void) = 0;
00070 virtual const Matrix &getSectionFlexibility (void);
00071 virtual const Matrix &getInitialFlexibility (void);
00072
00073 virtual double getRho(void);
00074
00075 virtual int commitState (void) = 0;
00076 virtual int revertToLastCommit (void) = 0;
00077 virtual int revertToStart (void) = 0;
00078
00079 virtual SectionForceDeformation *getCopy (void) = 0;
00080 virtual const ID &getType (void) = 0;
00081 virtual int getOrder (void) const = 0;
00082
00083 virtual Response *setResponse(const char **argv, int argc,
00084 Information &info, OPS_Stream &s);
00085 virtual int getResponse(int responseID, Information &info);
00086 virtual int getResponseSensitivity(int responseID, int gradNumber,
00087 Information &info);
00088
00089
00090 virtual const Vector &getStressResultantSensitivity(int gradNumber,
00091 bool conditional);
00092 virtual const Vector &getSectionDeformationSensitivity(int gradNumber);
00093 virtual const Matrix &getSectionTangentSensitivity(int gradNumber);
00094 virtual const Matrix &getSectionFlexibilitySensitivity(int gradNumber);
00095 virtual const Matrix &getInitialTangentSensitivity(int gradNumber);
00096 virtual const Matrix &getInitialFlexibilitySensitivity(int gradNumber);
00097 virtual double getRhoSensitivity(int gradNumber);
00098 virtual int commitSensitivity(const Vector& sectionDeformationGradient,
00099 int gradNumber, int numGrads);
00100
00101
00102 protected:
00103 Matrix *fDefault;
00104 Vector *sDefault;
00105
00106 private:
00107
00108 };
00109
00110
00111 #endif