Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

GenericSection1d.h

Go 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.1.1.1 $
00022 // $Date: 2000/09/15 08:23:22 $
00023 // $Source: /usr/local/cvs/OpenSees/SRC/material/section/GenericSection1d.h,v $
00024                                                                         
00025                                                                         
00026 #ifndef GenericSection1d_h
00027 #define GenericSection1d_h
00028 
00029 // File: ~/material/GenericSection1d.h
00030 //
00031 // Written: MHS
00032 // Created: Apr 2000
00033 // Revision: A
00034 //
00035 // Description: This file contains the class definition for GenericSection1d.
00036 //
00037 // What: "@(#) GenericSection1d.h, revA"
00038 
00039 #include <SectionForceDeformation.h>
00040 
00041 #include <Vector.h>
00042 #include <Matrix.h>
00043 #include <ID.h>
00044 
00045 #include <Information.h>
00046 #include <UniaxialMaterial.h>
00047 
00049 class GenericSection1d : public SectionForceDeformation
00050 {
00051   public:
00053     GenericSection1d (int tag, UniaxialMaterial& m, int code);
00055     GenericSection1d ();
00056 
00058     ~GenericSection1d ();
00059 
00061     int setTrialSectionDeformation (const Vector&);
00063     const Vector &getSectionDeformation (void);
00064 
00066     const Vector &getStressResultant (void);
00068     const Matrix &getSectionTangent (void);
00070     const Matrix &getSectionFlexibility (void);
00071     
00073     int commitState (void);
00075     int revertToLastCommit (void);
00077     int revertToStart (void);
00078     
00080     SectionForceDeformation *getCopy (void);
00082     const ID &getType (void) const;
00084     int getOrder (void) const;
00085     
00087     int sendSelf (int commitTag, Channel &theChannel);
00089     int recvSelf (int commitTag, Channel &theChannel,
00090      FEM_ObjectBroker &theBroker);
00091     
00093     void Print (ostream &s, int flag = 0);
00094     
00095   protected:
00097     UniaxialMaterial *theModel;
00099     int code;
00100 
00101   private:
00102 };
00103 
00104 
00105 #endif
00106 ÿ
Copyright Contact Us