Fiber.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/09/05 22:06:39 $
00023 // $Source: /usr/local/cvs/OpenSees/SRC/material/section/fiber/Fiber.h,v $
00024                                                                         
00025                                                                         
00026 // File: ~/fiber/Fiber.h
00027 //
00028 // Written: Remo Magalhaes de Souza
00029 // Created: 10/98
00030 // Revision: 
00031 //
00032 // Description: This file contains the class definition for 
00033 // Fiber. Fiber is an abstract base class and thus no objects of 
00034 // it's type can be instatiated. It has pure virtual functions which
00035 // must be implemented in it's derived classes.
00036 //
00037 // What: "@(#) Fiber.h, revA"
00038 
00039 
00040 #ifndef Fiber_h
00041 #define Fiber_h
00042 
00043 #include <DomainComponent.h>
00044 #include <MovableObject.h>
00045 #include <Vector.h>
00046 
00047 class Matrix;
00048 class ID;
00049 class UniaxialMaterial;
00050 class Information;
00051 class Response;
00052 
00053 class Fiber : public TaggedObject, public MovableObject
00054 {
00055   public:
00056     Fiber (int tag, int classTag);
00057     virtual ~Fiber();
00058 
00059     virtual int    setTrialFiberStrain(const Vector &vs)=0;
00060     virtual Vector &getFiberStressResultants(void) =0;
00061     virtual Matrix &getFiberTangentStiffContr(void) =0;
00062         
00063     virtual int    commitState(void)=0;
00064     virtual int    revertToLastCommit(void)=0;    
00065     virtual int    revertToStart(void)=0;
00066     
00067     virtual Fiber *getCopy(void) = 0;
00068     virtual int getOrder(void) = 0;
00069     virtual const ID &getType(void) = 0;
00070 
00071     virtual Response *setResponse(const char **argv, int argc, Information &info, OPS_Stream &s);
00072     virtual int getResponse(int responseID, Information &info);
00073 
00074     virtual void getFiberLocation(double &y, double &z) =0;
00075     virtual UniaxialMaterial *getMaterial(void) =0;
00076     virtual double getArea(void) =0;
00077 
00078     virtual const Vector &getFiberSensitivity(int gradNumber, bool cond);
00079     virtual int commitSensitivity(const Vector &dedh, int gradNumber,
00080                                   int numGrads);
00081 
00082  protected:
00083     Vector *sDefault;
00084     Matrix *fDefault;
00085 
00086  private:
00087 };
00088 
00089 #endif

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