GenericSectionNd.hGo to the documentation of this file.00001 /* ****************************************************************** ** 00002 ** OpenSees - Open System for Earthquake Engineering Simulation ** 00003 ** Pacific Earthquake Engineering Research Center ** 00004 ** ** 00005 ** ** 00006 ** (C) Copyright 1999, The Regents of the University of California ** 00007 ** All Rights Reserved. ** 00008 ** ** 00009 ** Commercial use of this program without express permission of the ** 00010 ** University of California, Berkeley, is strictly prohibited. See ** 00011 ** file 'COPYRIGHT' in main directory for information on usage and ** 00012 ** redistribution, and for a DISCLAIMER OF ALL WARRANTIES. ** 00013 ** ** 00014 ** Developed by: ** 00015 ** Frank McKenna (fmckenna@ce.berkeley.edu) ** 00016 ** Gregory L. Fenves (fenves@ce.berkeley.edu) ** 00017 ** Filip C. Filippou (filippou@ce.berkeley.edu) ** 00018 ** ** 00019 ** ****************************************************************** */ 00020 00021 // $Revision: 1.4 $ 00022 // $Date: 2006/08/03 23:49:46 $ 00023 // $Source: /usr/local/cvs/OpenSees/SRC/material/section/GenericSectionNd.h,v $ 00024 00025 00026 #ifndef GenericSectionNd_h 00027 #define GenericSectionNd_h 00028 00029 // Written: MHS 00030 // Created: Apr 2000 00031 // Revision: A 00032 // 00033 // Description: This file contains the class definition for GenericSectionNd. 00034 // 00035 // What: "@(#) GenericSectionNd.h, revA" 00036 00037 #include <SectionForceDeformation.h> 00038 00039 #include <Vector.h> 00040 #include <Matrix.h> 00041 #include <ID.h> 00042 00043 class Information; 00044 class NDMaterial; 00045 00046 class GenericSectionNd : public SectionForceDeformation 00047 { 00048 public: 00049 GenericSectionNd (int tag, NDMaterial& m, const ID &mCode); 00050 GenericSectionNd (); 00051 00052 ~GenericSectionNd (); 00053 00054 const char *getClassType(void) const {return "GenericSectionNd";}; 00055 00056 int setTrialSectionDeformation (const Vector&); 00057 const Vector &getSectionDeformation (void); 00058 const Vector &getStressResultant (void); 00059 const Matrix &getSectionTangent (void); 00060 00061 int commitState (void); 00062 int revertToLastCommit (void); 00063 int revertToStart (void); 00064 00065 SectionForceDeformation *getCopy (void); 00066 const ID &getType (void); 00067 int getOrder (void) const; 00068 00069 int sendSelf (int commitTag, Channel &theChannel); 00070 int recvSelf (int commitTag, Channel &theChannel, 00071 FEM_ObjectBroker &theBroker); 00072 00073 void Print (OPS_Stream &s, int flag = 0); 00074 00075 protected: 00076 NDMaterial *theModel; 00077 ID *code; 00078 int order; 00079 int otherDbTag; 00080 00081 private: 00082 }; 00083 00084 00085 #endif |