ActorSubdomain.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.3 $ 00022 // $Date: 2005/11/30 23:47:00 $ 00023 // $Source: /usr/local/cvs/OpenSees/SRC/domain/subdomain/ActorSubdomain.h,v $ 00024 00025 00026 #ifndef ActorSubdomain_h 00027 #define ActorSubdomain_h 00028 00029 // Written: fmk 00030 // Revision: A 00031 // 00032 // Description: This file contains the class definition for ActorSubdomain. 00033 // ActorSubdomain is a container class. The class is responsible for holding 00034 // and providing access to the Elements, Nodes, LoadCases, SP_Constraints 00035 // and MP_Constraints that have been added to the ActorSubdomain. 00036 // 00037 // What: "@(#) ActorSubdomain.h, revA" 00038 00039 #include <Subdomain.h> 00040 #include <Actor.h> 00041 00042 class ActorSubdomain: public Subdomain, public Actor 00043 { 00044 public: 00045 ActorSubdomain(Channel &theChannel, 00046 FEM_ObjectBroker &theBroker); 00047 00048 virtual ~ActorSubdomain(); 00049 00050 virtual int run(void); 00051 virtual const Vector &getLastExternalSysResponse(void); 00052 00053 virtual int update(void); 00054 virtual int updateTimeDt(void); 00055 virtual int barrierCheck(int res); 00056 00057 protected: 00058 00059 00060 private: 00061 ID msgData; 00062 Vector *lastResponse; 00063 }; 00064 00065 00066 #endif |