TransformationConstraintHandler.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.4 $
00022 // $Date: 2005/11/28 21:35:54 $
00023 // $Source: /usr/local/cvs/OpenSees/SRC/analysis/handler/TransformationConstraintHandler.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 // TransformationConstraintHandler. TransformationConstraintHandler is a 
00032 // constraint handler for handling constraints using the Transformation method.
00033 // for each element and degree-of-freedom at a node it constructs regular
00034 // FE_Element and DOF_Groups if there is no SP_Constraint or MP_Constraint
00035 // constraining an elements node or the node; otherwise a TransformationFE
00036 // element and a TransformationDOF_Group are created. 
00037 //
00038 // What: "@(#) TransformationConstraintHandler.h, revA"
00039 
00040 #ifndef TransformationConstraintHandler_h
00041 #define TransformationConstraintHandler_h
00042 
00043 #include <ConstraintHandler.h>
00044 
00045 class FE_Element;
00046 class DOF_Group;
00047 
00048 class TransformationConstraintHandler : public ConstraintHandler
00049 {
00050   public:
00051     TransformationConstraintHandler();
00052     ~TransformationConstraintHandler();
00053 
00054     int handle(const ID *nodesNumberedLast =0);
00055     int applyLoad();
00056     void clearAll(void);    
00057     int enforceSPs(void);    
00058     int doneNumberingDOF(void);        
00059 
00060     int sendSelf(int commitTag, Channel &theChannel);
00061     int recvSelf(int commitTag, Channel &theChannel, 
00062                          FEM_ObjectBroker &theBroker);
00063 
00064   protected:
00065     
00066   private:
00067     FE_Element  **theFEs;
00068     DOF_Group   **theDOFs;
00069 
00070     int         numFE;
00071     int         numDOF;
00072     Domain  *theDomain;
00073     int numConstrainedNodes;
00074 
00075     int numTransformationFEs;
00076 };
00077 
00078 #endif
00079 
00080 
00081 
00082 

Generated on Mon Oct 23 15:04:58 2006 for OpenSees by doxygen 1.5.0