Integrator.hGo 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.2 $ 00022 // $Date: 2003/02/14 23:00:48 $ 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 <OPS_Globals.h> 00043 00044 class FE_Element; 00045 class DOF_Group; 00046 class Vector; 00047 class ID; 00048 class FEM_ObjectBroker; 00049 00050 class Integrator: public MovableObject 00051 { 00052 public: 00053 Integrator(int classTag); 00054 virtual ~Integrator(); 00055 00056 virtual int domainChanged(void); 00057 00058 virtual int formEleTangent(FE_Element *theEle) =0; 00059 virtual int formNodTangent(DOF_Group *theDof) =0; 00060 virtual int formEleResidual(FE_Element *theEle) =0; 00061 virtual int formNodUnbalance(DOF_Group *theDof) =0; 00062 00063 // Methods provided for Domain Decomposition 00064 virtual int getLastResponse(Vector &result, const ID &id) =0; 00065 00066 // Method provided for Output 00067 virtual void Print(OPS_Stream &s, int flag =0) =0; 00068 00069 protected: 00070 00071 private: 00072 00073 }; 00074 00075 #endif 00076 00077 00078 00079 00080 00081 |