XC Open source finite element analysis program
MRMFreedom_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 //MRMFreedom_FE.h
28 
29 
30 #ifndef MRMFreedom_FE_h
31 #define MRMFreedom_FE_h
32 
33 #include "MPBase_FE.h"
34 #include <vector>
35 
36 namespace XC {
37 class Node;
38 class MRMFreedom_Constraint;
39 
41 //
43 class MRMFreedom_FE: public MPBase_FE
44  {
45  protected:
46  MRMFreedom_Constraint *theMRMP;
47  std::vector<Node *> theRetainedNodes;
48 
49  MRMFreedom_FE(int tag, int numDOF_Group, int ndof, MRMFreedom_Constraint &,const double &alpha= 1.0);
50  int determineConstrainedDOFsIDs(const int &);
51  int determineRetainedDOFsIDs(const int &);
52  int determineRetainedNodesDofGrpPtr(Domain &,const int &);
53  };
54 } // end of XC namespace
55 
56 #endif
57 
58 
Domain (mesh and boundary conditions) of the finite element model.
Definition: Domain.h:98
int determineConstrainedDOFsIDs(const int &)
determine the IDs in myID for those DOFs marked as constrained DOFs, this is obtained from the DOF_Gr...
Definition: MRMFreedom_FE.cc:44
MRMFreedom_FE(int tag, int numDOF_Group, int ndof, MRMFreedom_Constraint &, const double &alpha=1.0)
Constructor.
Definition: MRMFreedom_FE.cc:36
Multiple retained nodes constraint.
Definition: MRMFreedom_Constraint.h:58
int determineRetainedNodesDofGrpPtr(Domain &, const int &)
get the DOF_Group attached to the retained nodes.
Definition: MRMFreedom_FE.cc:101
??
Definition: MPBase_FE.h:43
int determineRetainedDOFsIDs(const int &)
determine determine the IDs for the retained dof&#39;s
Definition: MRMFreedom_FE.cc:48
??
Definition: MRMFreedom_FE.h:43
================================================================================
Definition: ContinuaReprComponent.h:34