ParkAng.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 
00022                                                                         
00023 // $Revision: 1.1 $
00024 // $Date: 2004/09/01 03:54:28 $
00025 // $Source: /usr/local/cvs/OpenSees/SRC/damage/ParkAng.h,v $
00026                                                                         
00027 #ifndef ParkAng_h
00028 #define ParkAng_h         
00029                                                                
00030 // Written: AA,GGD
00031 // Created: 10/02
00032 // Revision: AA
00033 //
00034 // Description: This file contains the class definition for 
00035 // Cimbined damage model. It is a subclass od DamageModel
00036 //
00037 
00038 #include <ErrorHandler.h>
00039 #include <DamageModel.h>
00040 
00041 class DamageResponse;
00042 
00043 
00044 class ParkAng : public DamageModel
00045 {
00046   public:
00047     ParkAng(int tag, double deltaU , double beta , double sigmaY );
00048         ParkAng();  
00049     ~ParkAng();
00050 
00051     int setTrial (double scalar, double scalarRate = 0.0 );
00052         int setTrial (Vector trialVector );
00053         int setTrial (); 
00054 
00055         int setInputResponse ( Element *elem , const char **argv , int argc, int ndof );
00056 
00057     double getDamage(void);
00058         double getPosDamage (void);
00059         double getNegDamage (void);
00060     
00061     int commitState(void);
00062     int revertToLastCommit (void);
00063     int revertToStart (void);
00064 
00065     DamageModel *getCopy (void);
00066 
00067     int setVariable(const char *argv);
00068     int getVariable(int variableID, double &info);
00069 
00070     int setParameter(char **argv, int argc, Information &eleInformation);
00071     int updateParameter(int responseID, Information &eleInformation);   
00072 
00073     Response *setResponse(char **argv, int argc, Information &info);
00074     int getResponse(int responseID, Information &info);
00075 
00076         int sendSelf(int commitTag, Channel &theChannel);  
00077     int recvSelf(int commitTag, Channel &theChannel, 
00078                          FEM_ObjectBroker &theBroker);
00079         void Print(OPS_Stream &s, int flag =0);    
00080 
00081     // method for this damage model to update itself according to its new parameters
00082     void update(void) {return;}
00083 
00084   protected:
00085     
00086   private:
00087         
00088         double DeltaU , Beta , SigmaY;
00089 
00090         double TrialInfo[6];
00091         double CommitInfo[6];
00092         double LastCommitInfo[6];
00093 
00094 };
00095 
00096 
00097 #endif

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