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

GenericSectionNd.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/GenericSectionNd.h,v $
00024                                                                         
00025                                                                         
00026 #ifndef GenericSectionNd_h
00027 #define GenericSectionNd_h
00028 
00029 // File: ~/material/GenericSectionNd.h
00030 //
00031 // Written: MHS
00032 // Created: Apr 2000
00033 // Revision: A
00034 //
00035 // Description: This file contains the class definition for GenericSectionNd.
00036 //
00037 // What: "@(#) GenericSectionNd.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 <NDMaterial.h>
00047 
00049 class GenericSectionNd : public SectionForceDeformation
00050 {
00051   public:
00053     GenericSectionNd (int tag, NDMaterial& m, const ID &mCode);
00055     GenericSectionNd ();
00056 
00058     ~GenericSectionNd ();
00059 
00061     int setTrialSectionDeformation (const Vector&);
00063     const Vector &getSectionDeformation (void);
00065     const Vector &getStressResultant (void);
00067     const Matrix &getSectionTangent (void);
00068     
00070     int commitState (void);
00072     int revertToLastCommit (void);
00074     int revertToStart (void);
00075     
00077     SectionForceDeformation *getCopy (void);
00079     const ID &getType (void) const;
00081     int getOrder (void) const;
00082 
00084     int sendSelf (int commitTag, Channel &theChannel);
00086     int recvSelf (int commitTag, Channel &theChannel,
00087      FEM_ObjectBroker &theBroker);
00088 
00090     void Print (ostream &s, int flag = 0);
00091 
00092   protected:
00094     NDMaterial *theModel;
00096     ID *code;
00098     int order;
00100     int otherDbTag;
00101 
00102   private:
00103 };
00104 
00105 
00106 #endif
00107 ÿ
Copyright Contact Us