Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

LagrangeConstraintHandler.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 // $Revision: 1.1.1.1 $
00022 // $Date: 2000/09/15 08:23:16 $
00023 // $Source: /usr/local/cvs/OpenSees/SRC/analysis/handler/LagrangeConstraintHandler.h,v $
00024                                                                         
00025                                                                         
00026 // File: ~/analysis/handler/LagrangeConstraintHandler.h
00027 // 
00028 // Written: fmk 
00029 // Created: May 1998.
00030 // Revision: A
00031 //
00032 // Description: This file contains the class definition for 
00033 // LagrangeConstraintHandler. LagrangeConstraintHandler is a 
00034 // constraint handler for handling constraints using the Lagrange method.
00035 // for each element and degree-of-freedom at a node it constructs regular
00036 // FE_Element and DOF_Groups; for each SP_Constraint and MP_Constraint
00037 // LagrangeSP_FE and LagrangeMP_FE elements are created.
00038 //
00039 // What: "@(#) LagrangeConstraintHandler.h, revA"
00040 
00041 #ifndef LagrangeConstraintHandler_h
00042 #define LagrangeConstraintHandler_h
00043 
00044 #include <ConstraintHandler.h>
00045 
00046 #include <FE_Element.h>
00047 #include <DOF_Group.h>
00048 
00063 class LagrangeConstraintHandler : public ConstraintHandler
00064 {
00065   public:
00073     LagrangeConstraintHandler(double alphaSP, double alphaMP);
00074 
00079     ~LagrangeConstraintHandler();
00080 
00081 
00109     int handle(const ID *nodesNumberedLast =0);
00110 
00117     void clearAll(void);    
00118 
00119 
00124     virtual int sendSelf(int commitTag, Channel &theChannel);
00125 
00130     virtual int recvSelf(int commitTag, Channel &theChannel, 
00131 
00132     FEM_ObjectBroker &theBroker);
00133     
00134   protected:
00135     
00136   private:
00138     double alphaSP;
00139 
00141     double alphaMP;
00143     FE_Element  **theFEs;
00145     DOF_Group  **theDOFs;
00147     int  numFE;
00149     int  numDOF;
00150 };
00151 
00152 #endif
00153 
00154 
00155 
00156 
Copyright Contact Us