LagrangeDOF_Group.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.2 $
00022 // $Date: 2004/10/12 21:52:25 $
00023 // $Source: /usr/local/cvs/OpenSees/SRC/analysis/dof_grp/LagrangeDOF_Group.h,v $
00024                                                                         
00025                                                                         
00026 #ifndef LagrangeDOF_Group_h
00027 #define LagrangeDOF_Group_h
00028 
00029 // File: ~/analysis/dof_grp/LagrangeDOF_Group.h
00030 // 
00031 // Written: fmk 
00032 // Created: 02/99
00033 // Revision: A
00034 //
00035 // Description: This file contains the class definition for LagrangeDOF_Group.
00036 // A LagrangeDOF_Group object is instantiated by a LagrangeConstraintHandler for 
00037 // every constrained node in the domain. 
00038 //
00039 // What: "@(#) LagrangeDOF_Group.h, revA"
00040 
00041 #include <DOF_Group.h>
00042 class SP_Constraint;
00043 class MP_Constraint;
00044 
00045 class LagrangeDOF_Group: public DOF_Group
00046 {
00047   public:
00048     LagrangeDOF_Group(int tag, SP_Constraint &spPtr);    
00049     LagrangeDOF_Group(int tag, MP_Constraint &mpPtr);        
00050     virtual ~LagrangeDOF_Group();    
00051 
00052     // methods to form the tangent
00053     virtual const Matrix &getTangent(Integrator *theIntegrator);
00054 
00055     // methods to form the unbalance
00056     virtual const Vector &getUnbalance(Integrator *theIntegrator);
00057 
00058     // methods to obtain committed responses .. always 0
00059     virtual const Vector &getCommittedDisp(void);
00060     virtual const Vector &getCommittedVel(void);
00061     virtual const Vector &getCommittedAccel(void);
00062     
00063     // methods to update the trial response at the nodes
00064     virtual void setNodeDisp(const Vector &u);
00065     virtual void setNodeVel(const Vector &udot);
00066     virtual void setNodeAccel(const Vector &udotdot);
00067 
00068     virtual void incrNodeDisp(const Vector &u);
00069     virtual void incrNodeVel(const Vector &udot);
00070     virtual void incrNodeAccel(const Vector &udotdot);
00071 
00072     virtual void  zeroTangent(void);
00073     virtual void  addMtoTang(double fact = 1.0);    
00074     virtual void  zeroUnbalance(void);
00075     virtual void  addPtoUnbalance(double fact = 1.0);
00076     virtual void  addPIncInertiaToUnbalance(double fact = 1.0);    
00077     virtual void  addM_Force(const Vector &Udotdot, double fact = 1.0);        
00078 
00079     virtual const Vector &getTangForce(const Vector &x, double fact = 1.0);
00080     virtual const Vector &getC_Force(const Vector &x, double fact = 1.0);
00081     virtual const Vector &getM_Force(const Vector &x, double fact = 1.0);
00082     
00083   protected:
00084     
00085   private:
00086 
00087 };
00088 
00089 #endif
00090 

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