BeamFiberMaterial.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.4 $
00022 // $Date: 2003/02/14 23:01:24 $
00023 // $Source: /usr/local/cvs/OpenSees/SRC/material/nD/BeamFiberMaterial.h,v $
00024 
00025 // Written: MHS
00026 // Created: Aug 2001
00027 //
00028 // Description: This file contains the class definition of BeamFiberMaterial.
00029 // The BeamFiberMaterial class is a wrapper class that performs static
00030 // condensation on a three-dimensional material model to give the 11, 12, and 13
00031 // stress components which can then be integrated over an area to model a
00032 // shear flexible 3D beam.
00033 
00034 #include <stdio.h> 
00035 #include <stdlib.h> 
00036 #include <math.h> 
00037 
00038 #include <Vector.h>
00039 #include <Matrix.h>
00040 #include <ID.h> 
00041 #include <NDMaterial.h>
00042 
00043 class BeamFiberMaterial: public NDMaterial {
00044 
00045   public:
00046     BeamFiberMaterial(int tag, NDMaterial &theMat);
00047     BeamFiberMaterial(void);
00048     virtual ~BeamFiberMaterial(void);
00049 
00050     int setTrialStrain( const Vector &strainFromElement);
00051     const Vector& getStrain(void);
00052     const Vector& getStress(void);
00053     const Matrix& getTangent(void);
00054     const Matrix& getInitialTangent(void);
00055 
00056     double getRho(void);
00057 
00058     int commitState(void);
00059     int revertToLastCommit(void);
00060     int revertToStart(void);
00061 
00062     NDMaterial *getCopy(void);
00063     NDMaterial *getCopy(const char *type);
00064     const char *getType(void) const;
00065     int getOrder(void) const; 
00066 
00067     void Print(OPS_Stream &s, int flag);
00068 
00069     int sendSelf(int commitTag, Channel &theChannel);
00070     int recvSelf(int commitTag, Channel &theChannel, FEM_ObjectBroker &theBroker);
00071 
00072   private:
00073     double Tstrain22;
00074     double Tstrain33;
00075     double Tgamma23;
00076     double Cstrain22;
00077     double Cstrain33;
00078     double Cgamma23;
00079 
00080     NDMaterial *theMaterial;
00081 
00082     Vector strain;
00083 
00084     static Vector stress;
00085     static Matrix tangent;
00086 
00087     int indexMap(int i);
00088 
00089 };
00090 
00091 
00092 
00093 
00094 

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