LagrangeConstraintHandler.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: 2005/11/28 21:37:12 $ 00023 // $Source: /usr/local/cvs/OpenSees/SRC/analysis/handler/LagrangeConstraintHandler.h,v $ 00024 00025 00026 // Written: fmk 00027 // Created: May 1998. 00028 // Revision: A 00029 // 00030 // Description: This file contains the class definition for 00031 // LagrangeConstraintHandler. LagrangeConstraintHandler is a 00032 // constraint handler for handling constraints using the Lagrange method. 00033 // for each element and degree-of-freedom at a node it constructs regular 00034 // FE_Element and DOF_Groups; for each SP_Constraint and MP_Constraint 00035 // LagrangeSP_FE and LagrangeMP_FE elements are created. 00036 // 00037 // What: "@(#) LagrangeConstraintHandler.h, revA" 00038 00039 #ifndef LagrangeConstraintHandler_h 00040 #define LagrangeConstraintHandler_h 00041 00042 #include <ConstraintHandler.h> 00043 00044 class FE_Element; 00045 class DOF_Group; 00046 00047 class LagrangeConstraintHandler : public ConstraintHandler 00048 { 00049 public: 00050 LagrangeConstraintHandler(double alphaSP, double alphaMP); 00051 ~LagrangeConstraintHandler(); 00052 00053 int handle(const ID *nodesNumberedLast =0); 00054 void clearAll(void); 00055 00056 virtual int sendSelf(int commitTag, Channel &theChannel); 00057 virtual int recvSelf(int commitTag, Channel &theChannel, 00058 FEM_ObjectBroker &theBroker); 00059 00060 protected: 00061 00062 private: 00063 double alphaSP; 00064 double alphaMP; 00065 }; 00066 00067 #endif 00068 00069 00070 00071 |