Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 2 | fmk | 1 | /* ****************************************************************** ** |
| 2 | ** OpenSees - Open System for Earthquake Engineering Simulation ** |
||
| 3 | ** Pacific Earthquake Engineering Research Center ** |
||
| 4 | ** ** |
||
| 5 | ** ** |
||
| 6 | ** (C) Copyright 1999, The Regents of the University of California ** |
||
| 7 | ** All Rights Reserved. ** |
||
| 8 | ** ** |
||
| 9 | ** Commercial use of this program without express permission of the ** |
||
| 10 | ** University of California, Berkeley, is strictly prohibited. See ** |
||
| 11 | ** file 'COPYRIGHT' in main directory for information on usage and ** |
||
| 12 | ** redistribution, and for a DISCLAIMER OF ALL WARRANTIES. ** |
||
| 13 | ** ** |
||
| 14 | ** Developed by: ** |
||
| 15 | ** Frank McKenna (fmckenna@ce.berkeley.edu) ** |
||
| 16 | ** Gregory L. Fenves (fenves@ce.berkeley.edu) ** |
||
| 17 | ** Filip C. Filippou (filippou@ce.berkeley.edu) ** |
||
| 18 | ** ** |
||
| 19 | ** ****************************************************************** */ |
||
| 20 | |||
| 1271 | fmk | 21 | // $Revision: 1.2 $ |
| 22 | // $Date: 2003-02-14 23:01:37 $ |
||
| 2 | fmk | 23 | // $Source: /usr/local/cvs/OpenSees/SRC/material/section/repres/reinfBar/ReinfBar.h,v $ |
| 24 | |||
| 25 | |||
| 26 | // File: ReinfBar.h |
||
| 27 | // |
||
| 28 | // Written by Remo M. de Souza |
||
| 29 | // November 1998 |
||
| 30 | |||
| 31 | |||
| 32 | #ifndef ReinfBar_h |
||
| 33 | #define ReinfBar_h |
||
| 34 | |||
| 1271 | fmk | 35 | #include <OPS_Globals.h> |
| 2 | fmk | 36 | |
| 37 | class Vector; |
||
| 38 | |||
| 39 | class ReinfBar |
||
| 40 | { |
||
| 41 | public: |
||
| 42 | |||
| 43 | ReinfBar(); |
||
| 44 | ReinfBar(double barArea, int materialID, const Vector &position); |
||
| 45 | |||
| 46 | virtual ~ReinfBar(); |
||
| 47 | |||
| 48 | // edition functions |
||
| 49 | |||
| 50 | void setDiameter (double barDiameter); |
||
| 51 | void setArea (double barArea); |
||
| 52 | void setMaterial (int materialID); |
||
| 53 | void setPosition (const Vector &position); |
||
| 54 | |||
| 55 | // reinforcing bar inquiring functions |
||
| 56 | |||
| 57 | double getDiameter (void) const; |
||
| 58 | double getArea (void) const; |
||
| 59 | int getMaterial (void) const; |
||
| 60 | |||
| 61 | const Vector & getPosition (void) const; |
||
| 62 | |||
| 1271 | fmk | 63 | virtual void Print(OPS_Stream &s, int flag =0) const; |
| 64 | friend OPS_Stream &operator<<(OPS_Stream &s, const ReinfBar &reinfBar); |
||
| 2 | fmk | 65 | |
| 66 | protected: |
||
| 67 | |||
| 68 | private: |
||
| 69 | int matID; |
||
| 70 | double diameter; |
||
| 71 | double area; |
||
| 72 | Vector posit; |
||
| 73 | }; |
||
| 74 | |||
| 75 | |||
| 76 | #endif |
||
| 77 |