QuadCell.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.2 $
00022 // $Date: 2003/02/14 23:01:36 $
00023 // $Source: /usr/local/cvs/OpenSees/SRC/material/section/repres/cell/QuadCell.h,v $
00024                                                                         
00025                                                                         
00026 // File: QuadCell.h
00027 //
00028 // Written by Remo M. de Souza
00029 // December 1998
00030 
00031 
00032 #ifndef QuadCell_h 
00033 #define QuadCell_h 
00034 
00035 #include <Cell.h>
00036 #include <Vector.h>
00037 
00038 class Matrix;
00039 class Vector;
00040 
00041 
00042 class QuadCell: public Cell
00043 {
00044   public:
00045 
00046     QuadCell();
00047     QuadCell(const Matrix &vertexCoords);
00048         
00049     ~QuadCell();
00050     
00051     // edition functions
00052 
00053     void setVertCoords (const Matrix &vertexCoords);
00054 
00055     // reinforcing bar inquiring functions
00056     
00057     double getArea                     (void) const;
00058     const  Matrix &getVertCoords       (void) const;
00059     const  Vector &getCentroidPosition (void);
00060 
00061     void Print(OPS_Stream &s, int flag =0) const;   
00062     friend OPS_Stream &operator<<(OPS_Stream &s, const QuadCell &quadCell);    
00063     
00064   protected:
00065     
00066   private:
00067     Matrix vertCoord;
00068     Vector Centroid;
00069 //    double area;
00070 };
00071 
00072 
00073 #endif
00074 

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