OOFEM 3.0
Loading...
Searching...
No Matches
structuralcontactelement.h
Go to the documentation of this file.
1/*
2 *
3 * ##### ##### ###### ###### ### ###
4 * ## ## ## ## ## ## ## ### ##
5 * ## ## ## ## #### #### ## # ##
6 * ## ## ## ## ## ## ## ##
7 * ## ## ## ## ## ## ## ##
8 * ##### ##### ## ###### ## ##
9 *
10 *
11 * OOFEM : Object Oriented Finite Element Code
12 *
13 * Copyright (C) 1993 - 2025 Borek Patzak
14 *
15 *
16 *
17 * Czech Technical University, Faculty of Civil Engineering,
18 * Department of Structural Mechanics, 166 29 Prague, Czech Republic
19 *
20 * This library is free software; you can redistribute it and/or
21 * modify it under the terms of the GNU Lesser General Public
22 * License as published by the Free Software Foundation; either
23 * version 2.1 of the License, or (at your option) any later version.
24 *
25 * This program is distributed in the hope that it will be useful,
26 * but WITHOUT ANY WARRANTY; without even the implied warranty of
27 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
28 * Lesser General Public License for more details.
29 *
30 * You should have received a copy of the GNU Lesser General Public
31 * License along with this library; if not, write to the Free Software
32 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
33 */
34
35#ifndef structuralcontactelement_h
36#define structuralcontactelement_h
37
39#include "fei3dquadlin.h"
40#include "fei3dtrlin.h"
41#include "fei2dlinelin.h"
42
43
44#define _IFT_StructuralContactElement_QuadLin_Name "structuralcontactelement_quadlin"
45#define _IFT_StructuralContactElement_LineLin_Name "structuralcontactelement_linelin"
46#define _IFT_StructuralContactElement_TrLin_Name "structuralcontactelement_trlin"
47
48namespace oofem {
49
55{
56protected:
57 int nsd = 0;
58
59public:
61 void computeNmatrixAt(const FloatArray &lcoord, FloatMatrix &answer) override;
62 const char *giveClassName() const override { return "StructuralContactElement"; }
63 // const char *giveInputRecordName() const override {return _IFT_StructuralContactElement_QuadLin_Name;}
64protected:
65 void computeGaussPoints() override;
66
67};
68
69class FEI3dQuadLin;
70
72{
73protected:
75 int NCP = 0;
76 //add integration rule typ
77public:
79 const char *giveClassName() const override { return "StructuralContactElement_QuadLin"; }
81 FEInterpolation *giveInterpolation() const override;
82 FloatArray computeNormalVectorAt(const FloatArray &lCoords) override;
83 void giveDofManDofIDMask(int inode, IntArray &answer) const override;
84 Element_Geometry_Type giveGeometryType() const override {return EGT_line_2;}
85
86};
87
88
89class FEI3dTrLin;
90
92{
93protected:
95 int NCP = 0;
96 //add integration rule typ
97public:
99 const char *giveClassName() const override { return "StructuralContactElement_TrLin"; }
101 FEInterpolation *giveInterpolation() const override;
102 FloatArray computeNormalVectorAt(const FloatArray &lCoords) override;
103 void giveDofManDofIDMask(int inode, IntArray &answer) const override;
104 Element_Geometry_Type giveGeometryType() const override {return EGT_line_2;}
105
106};
107
108
109
110
111
112class FEI2dLineLin;
113
115{
116protected:
118public:
120 const char *giveClassName() const override { return "StructuralContactElement_LineLin"; }
122 FEInterpolation *giveInterpolation() const override;
123 FloatArray computeNormalVectorAt(const FloatArray &lCoords) override;
124 void giveDofManDofIDMask(int inode, IntArray &answer) const override;
125 Element_Geometry_Type giveGeometryType() const override {return EGT_line_1;}
126
127};
128
129
130
131
132} // end namespace oofem
133#endif // structuralcontactelement_h
ContactElement(int n, Domain *aDomain)
FloatArray computeNormalVectorAt(const FloatArray &lCoords) override
FEInterpolation * giveInterpolation() const override
void giveDofManDofIDMask(int inode, IntArray &answer) const override
const char * giveInputRecordName() const override
Element_Geometry_Type giveGeometryType() const override
FEInterpolation * giveInterpolation() const override
FloatArray computeNormalVectorAt(const FloatArray &lCoords) override
const char * giveInputRecordName() const override
void giveDofManDofIDMask(int inode, IntArray &answer) const override
Element_Geometry_Type giveGeometryType() const override
const char * giveInputRecordName() const override
void giveDofManDofIDMask(int inode, IntArray &answer) const override
FEInterpolation * giveInterpolation() const override
const char * giveClassName() const override
FloatArray computeNormalVectorAt(const FloatArray &lCoords) override
Element_Geometry_Type giveGeometryType() const override
void computeNmatrixAt(const FloatArray &lcoord, FloatMatrix &answer) override
const char * giveClassName() const override
#define _IFT_StructuralContactElement_TrLin_Name
#define _IFT_StructuralContactElement_LineLin_Name
#define _IFT_StructuralContactElement_QuadLin_Name

This page is part of the OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak Bořek Patzák
Project e-mail: oofem@fsv.cvut.cz
Generated at for OOFEM by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2011