XC Open source finite element analysis program
MFreedom_FE.h
1 //----------------------------------------------------------------------------
2 // XC program; finite element analysis code
3 // for structural analysis and design.
4 //
5 // Copyright (C) Luis Claudio Pérez Tato
6 //
7 // This program derives from OpenSees <http://opensees.berkeley.edu>
8 // developed by the «Pacific earthquake engineering research center».
9 //
10 // Except for the restrictions that may arise from the copyright
11 // of the original program (see copyright_opensees.txt)
12 // XC is free software: you can redistribute it and/or modify
13 // it under the terms of the GNU General Public License as published by
14 // the Free Software Foundation, either version 3 of the License, or
15 // (at your option) any later version.
16 //
17 // This software is distributed in the hope that it will be useful, but
18 // WITHOUT ANY WARRANTY; without even the implied warranty of
19 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 // GNU General Public License for more details.
21 //
22 //
23 // You should have received a copy of the GNU General Public License
24 // along with this program.
25 // If not, see <http://www.gnu.org/licenses/>.
26 //----------------------------------------------------------------------------
27 //MFreedom_FE.h
28 
29 
30 #ifndef MFreedom_FE_h
31 #define MFreedom_FE_h
32 
33 #include "MPBase_FE.h"
34 
35 namespace XC {
36 class Node;
37 class MFreedom_Constraint;
38 
40 //
42 class MFreedom_FE: public MPBase_FE
43  {
44  protected:
45  MFreedom_Constraint *theMP;
46  Node *theRetainedNode;
47 
48  MFreedom_FE(int tag, int numDOF_Group, int ndof, MFreedom_Constraint &theMP,const double &alpha= 1.0);
49  int determineConstrainedDOFsIDs(const int &);
50  int determineRetainedDOFsIDs(const int &);
52  };
53 } // end of XC namespace
54 
55 #endif
56 
57 
A DOF_Group object is instantiated by the ConstraintHandler for every unconstrained node in the domai...
Definition: DOF_Group.h:94
DOF_Group * determineRetainedNodeDofGrpPtr(void)
get the DOF_Group attached to the retained node.
Definition: MFreedom_FE.cc:93
Mesh node.
Definition: Node.h:99
int determineConstrainedDOFsIDs(const int &)
determine the IDs in myID for those DOFs marked as constrained DOFs, this is obtained from the DOF_Gr...
Definition: MFreedom_FE.cc:44
??
Definition: MPBase_FE.h:43
MFreedom_FE(int tag, int numDOF_Group, int ndof, MFreedom_Constraint &theMP, const double &alpha=1.0)
Constructor.
Definition: MFreedom_FE.cc:36
??
Definition: MFreedom_FE.h:42
int determineRetainedDOFsIDs(const int &)
determine determine the IDs for the retained dof&#39;s
Definition: MFreedom_FE.cc:48
Multi-freedom constraint. Objectt of this class store the information for a multifreedom constraint...
Definition: MFreedom_Constraint.h:84
================================================================================
Definition: ContinuaReprComponent.h:34