StraightReinfLayer.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.3 $
00022 // $Date: 2003/02/14 23:01:37 $
00023 // $Source: /usr/local/cvs/OpenSees/SRC/material/section/repres/reinfLayer/StraightReinfLayer.h,v $
00024                                                                         
00025                                                                         
00026 // File: StraightReinfLayer.h
00027 // Written by Remo M. de Souza
00028 // December 1998
00029 
00030 
00031 #ifndef StraightReinfLayer_h 
00032 #define StraightReinfLayer_h 
00033 
00034 #include <ReinfLayer.h>
00035 
00036 class ReinfBar;
00037 
00038 class StraightReinfLayer : public ReinfLayer
00039 {
00040   public:
00041 
00042     StraightReinfLayer();
00043     StraightReinfLayer(int materialID, int numReinfBars, double  reinfBarArea,
00044                        const Vector &initialPosition, 
00045                        const Vector &finalPosition);
00046 
00047     ~StraightReinfLayer();
00048     
00049     // edition functions
00050 
00051     void setNumReinfBars     (int numReinfBars);
00052     void setMaterialID       (int materialID);  
00053     void setReinfBarDiameter (double reinfBarDiameter);
00054     void setReinfBarArea     (double reinfBarArea);
00055 
00056     void setInitialPosition (const Vector &initialPosition);
00057     void setFinalPosition   (const Vector &finalPosition);
00058 
00059     // inquiring functions
00060 
00061     int           getNumReinfBars     (void) const;
00062     int           getMaterialID       (void) const;
00063     double        getReinfBarDiameter (void) const;
00064     double        getReinfBarArea     (void) const;
00065     ReinfBar     *getReinfBars        (void) const;
00066 
00067   
00068     ReinfLayer   *getCopy             (void) const;
00069     const Vector &getInitialPosition  (void) const;
00070     const Vector &getFinalPosition    (void) const;
00071 
00072     void Print(OPS_Stream &s, int flag =0) const;   
00073     friend OPS_Stream &operator<<(OPS_Stream &s, const StraightReinfLayer &straightReinfLayer);    
00074     
00075   protected:
00076     
00077   private:
00078     int    nReinfBars;
00079     int    matID;
00080     double barDiam;
00081     double area;
00082     Vector initPosit;
00083     Vector finalPosit;
00084 };
00085 
00086 
00087 #endif
00088 

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