ElasticPlateSection.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.7 $
00022 // $Date: 2003/02/14 23:01:33 $
00023 // $Source: /usr/local/cvs/OpenSees/SRC/material/section/ElasticPlateSection.h,v $
00024 
00025 // Ed "C++" Love
00026 //
00027 //  Elastic Plate Section
00028 //
00029 
00030 #include <stdio.h> 
00031 #include <stdlib.h> 
00032 #include <math.h> 
00033 
00034 #include <Vector.h>
00035 #include <Matrix.h>
00036 #include <ID.h>
00037 
00038 #include <SectionForceDeformation.h>
00039 
00040 
00041 class ElasticPlateSection : public SectionForceDeformation {
00042 
00043 //-------------------Declarations-------------------------------
00044 
00045   public : 
00046 
00047     //null constructor
00048     ElasticPlateSection( ) ;
00049 
00050     //full constructor
00051     ElasticPlateSection(   int    tag, 
00052                            double E,
00053                            double nu,
00054                            double h = 1.0 ) ;
00055 
00056 
00057 
00058     //destructor
00059     ~ElasticPlateSection( ) ;
00060 
00061     //make a clone of this material
00062     SectionForceDeformation *getCopy( ) ;
00063 
00064 
00065     //send back order of strain in vector form
00066     int getOrder( ) const ;
00067 
00068     //send back order of strain in vector form
00069     const ID& getType( ) ;
00070 
00071     //swap history variables
00072     int commitState( ) ; 
00073 
00074     //revert to last saved state
00075     int revertToLastCommit( ) ;
00076 
00077     //revert to start
00078     int revertToStart( ) ;
00079 
00080     //get the strain and integrate plasticity equations
00081     int setTrialSectionDeformation( const Vector &strain_from_element ) ;
00082 
00083     //send back the strain
00084     const Vector& getSectionDeformation( ) ;
00085 
00086     //send back the stress 
00087     const Vector& getStressResultant( ) ;
00088 
00089     //send back the tangent 
00090     const Matrix& getSectionTangent( ) ;
00091 
00092     //send back the initial tangent 
00093     const Matrix& getInitialTangent( ) ;
00094 
00095     //print out data
00096     void Print( OPS_Stream &s, int flag ) ;
00097 
00098     int sendSelf(int commitTag, Channel &theChannel);
00099     int recvSelf(int commitTag, Channel &theChannel, FEM_ObjectBroker &theBroker);
00100 
00101   private :
00102 
00103     double E ;  // elastic modulus
00104     double nu ; // poisson ratio
00105     double h  ; // plate thickness
00106 
00107     static const double five6 ; // =5/6 = shear correction factor
00108 
00109     Vector strain ;
00110 
00111     static Vector stress ;
00112 
00113     static Matrix tangent ;
00114 
00115     static ID array ;  
00116 
00117 } ; //end of ElasticPlateSection declarations
00118 
00119 

Generated on Mon Oct 23 15:05:17 2006 for OpenSees by doxygen 1.5.0