xc
GlueNodeToElement.h
1 // -*-c++-*-
2 //----------------------------------------------------------------------------
3 // XC program; finite element analysis code
4 // for structural analysis and design.
5 //
6 // Copyright (C) Luis C. Pérez Tato
7 //
8 // This program derives from OpenSees <http://opensees.berkeley.edu>
9 // developed by the «Pacific earthquake engineering research center».
10 //
11 // Except for the restrictions that may arise from the copyright
12 // of the original program (see copyright_opensees.txt)
13 // XC is free software: you can redistribute it and/or modify
14 // it under the terms of the GNU General Public License as published by
15 // the Free Software Foundation, either version 3 of the License, or
16 // (at your option) any later version.
17 //
18 // This software is distributed in the hope that it will be useful, but
19 // WITHOUT ANY WARRANTY; without even the implied warranty of
20 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 // GNU General Public License for more details.
22 //
23 //
24 // You should have received a copy of the GNU General Public License
25 // along with this program.
26 // If not, see <http://www.gnu.org/licenses/>.
27 //----------------------------------------------------------------------------
28 
29 #ifndef GlueNodeToElement_h
30 #define GlueNodeToElement_h
31 
32 // File: ~/domain/constraints/GlueNodeToElement.h
33 //
34 // Written: fmk
35 // Created: 11/96
36 // Revision: A
37 //
38 // Purpose: This file contains the class definition for GlueNodeToElement.
39 // GlueNodeToElement is a class which stores the information for a multiple
40 // retained nodes constraint. A multifreedom constraint relates certain dofs at
41 // a constrained node to be related to certains dofs at multiple retained nodes:
42 
43 // The GlueNodeToElement class assumes time invariant constraints, i.e. the
44 // constraint matrix does not change over time. All the methods are declared
45 // as pure virtual, which will allow subclasses for time varying constraints.
46 //
47 
48 #include "MRMFreedom_Constraint.h"
49 
50 
51 namespace XC {
52 
54 //
57  {
58 
59  public:
60  // constructors
61  GlueNodeToElement(int tag); // LCPT
62  GlueNodeToElement(int tag, const Node &,const Element &, const ID &);
63 
64  int getVtkCellType(void) const;
65  };
66 } // end of XC namespace
67 
68 #endif
69 
Vector of integers.
Definition: ID.h:95
Base class for the finite elements.
Definition: Element.h:112
GlueNodeToElement(int tag)
Constructor.
Definition: GlueNodeToElement.cc:40
Glue a node to an element.
Definition: GlueNodeToElement.h:56
Multiple retained nodes constraint.
Definition: MRMFreedom_Constraint.h:59
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
int getVtkCellType(void) const
VTK interface.
Definition: GlueNodeToElement.cc:52
Mesh node.
Definition: Node.h:111