MembranePlateFiberSection.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: 2006/08/03 23:49:46 $
00023 // $Source: /usr/local/cvs/OpenSees/SRC/material/section/MembranePlateFiberSection.h,v $
00024 
00025 // Ed "C++" Love
00026 //
00027 // Generic Plate Section with membrane
00028 //
00029 
00030 
00031 #include <stdio.h> 
00032 #include <stdlib.h> 
00033 #include <math.h> 
00034 
00035 #include <Vector.h>
00036 #include <Matrix.h>
00037 #include <ID.h>
00038 #include <NDMaterial.h>
00039 
00040 #include <SectionForceDeformation.h>
00041 
00042 
00043 class MembranePlateFiberSection : public SectionForceDeformation{
00044 
00045 //-------------------Declarations-------------------------------
00046 
00047   public : 
00048 
00049     //null constructor
00050     MembranePlateFiberSection( ) ;
00051 
00052     //full constructor
00053     MembranePlateFiberSection(   int    tag, 
00054                                  double thickness, 
00055                                  NDMaterial &Afiber ) ;
00056 
00057 
00058     const char *getClassType(void) const {return "MembranePlateFiberSection";};
00059 
00060     //destructor
00061     virtual ~MembranePlateFiberSection( ) ;
00062 
00063     //make a clone of this material
00064     SectionForceDeformation *getCopy( ) ;
00065 
00066     //mass per unit area
00067     double getRho() ;
00068 
00069     //send back order of strain in vector form
00070     int getOrder( ) const ;
00071 
00072     //send back order of strain in vector form
00073     const ID& getType( ) ;
00074 
00075     //swap history variables
00076     int commitState( ) ; 
00077 
00078     //revert to last saved state
00079     int revertToLastCommit( ) ;
00080 
00081     //revert to start
00082     int revertToStart( ) ;
00083 
00084     //get the strain and integrate plasticity equations
00085     int setTrialSectionDeformation( const Vector &strain_from_element ) ;
00086 
00087     //send back the strain
00088     const Vector& getSectionDeformation( ) ;
00089 
00090     //send back the stress 
00091     const Vector& getStressResultant( ) ;
00092 
00093     //send back the tangent 
00094     const Matrix& getSectionTangent( ) ;
00095 
00096     //send back the initial tangent 
00097     const Matrix& getInitialTangent( ) {return this->getSectionTangent();}
00098 
00099     //print out data
00100     void Print( OPS_Stream &s, int flag ) ;
00101 
00102     int sendSelf(int commitTag, Channel &theChannel);
00103     int recvSelf(int commitTag, Channel &theChannel, FEM_ObjectBroker &theBroker);
00104 
00105 
00106   private :
00107 
00108     //quadrature data
00109     static const double sg[5] ;
00110     static const double wg[5] ;
00111 
00112     double h ; //plate thickness
00113 
00114     NDMaterial *theFibers[5] ;  //pointers to five materials (fibers)
00115 
00116     static const double root56 ; // =sqrt(5/6) 
00117 
00118     Vector strainResultant ;
00119 
00120     static Vector stressResultant ;
00121 
00122     static Matrix tangent ;
00123 
00124     static ID array ;  
00125 
00126 } ; //end of MembranePlateFiberSection declarations
00127 
00128 
00129 
00130 
00131 

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