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.1.1.1 $ 00022 // $Date: 2000/09/15 08:23:17 $ 00023 // $Source: /usr/local/cvs/OpenSees/SRC/analysis/integrator/Integrator.h,v $ 00024 00025 00026 #ifndef Integrator_h 00027 #define Integrator_h 00028 00029 // File: ~/analysis/integrator/Integrator.h 00030 // 00031 // Written: fmk 00032 // Created: 11/96 00033 // Revision: A 00034 // 00035 // Description: This file contains the class interface for Integrator. 00036 // Integrator is an abstract base class, i.e. no objects of it's 00037 // type can be created. 00038 // 00039 // What: "@(#) Integrator.h, revA" 00040 00041 #include <MovableObject.h> 00042 #include <iostream.h> 00043 00044 #include <FE_Element.h> 00045 #include <DOF_Group.h> 00046 #include <Vector.h> 00047 #include <ID.h> 00048 #include <FEM_ObjectBroker.h> 00049 00063 class Integrator: public MovableObject 00064 { 00065 public: 00069 Integrator(int classTag); 00070 00074 virtual ~Integrator(); 00075 00076 00082 virtual int domainChanged(void); 00083 00084 00090 virtual int formEleTangent(FE_Element *theEle) =0; 00091 00097 virtual int formNodTangent(DOF_Group *theDof) =0; 00098 00104 virtual int formEleResidual(FE_Element *theEle) =0; 00105 00111 virtual int formNodUnbalance(DOF_Group *theDof) =0; 00112 00113 00115 virtual int getLastResponse(Vector &result, const ID &id) =0; 00116 00118 virtual void Print(ostream &s, int flag =0) =0; 00119 00120 protected: 00121 00122 private: 00123 00124 }; 00125 00126 #endif 00127 00128 00129 00130 00131 00132