OOFEM
3.0
Loading...
Searching...
No Matches
src
sm
Elements
Interfaces
Deprecated
interfaceelem2dlin.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 interfaceelem2dlin_h
36
#define interfaceelem2dlin_h
37
38
#include "
sm/Elements/structuralelement.h
"
39
40
#define _IFT_InterfaceElem2dLin_Name "interface2dlin"
41
#define _IFT_InterfaceElem2dLin_axisymmode "axisymmode"
42
43
namespace
oofem
{
44
class
ParamKey;
45
class
FEI2dLineLin;
46
51
class
InterfaceElem2dLin
:
public
StructuralElement
52
{
53
protected
:
54
static
FEI2dLineLin
interp
;
56
bool
axisymmode
;
57
58
static
ParamKey
IPK_InterfaceElem2dLin_axisymmode
;
59
60
public
:
61
InterfaceElem2dLin
(
int
n,
Domain
* d);
62
virtual
~InterfaceElem2dLin
() { }
63
64
FEInterpolation
*
giveInterpolation
()
const override
;
65
66
int
computeNumberOfDofs
()
override
{
return
8; }
67
void
giveDofManDofIDMask
(
int
inode,
IntArray
&answer)
const override
;
68
Element_Geometry_Type
giveGeometryType
()
const override
{
return
EGT_line_1;}
69
70
71
double
computeVolumeAround
(
GaussPoint
*gp)
override
;
72
73
74
int
testElementExtension
(
ElementExtension
ext)
override
{
return
0; }
75
76
#ifdef __OOFEG
77
void
drawRawGeometry
(
oofegGraphicContext
&
gc
,
TimeStep
*tStep)
override
;
78
void
drawDeformedGeometry
(
oofegGraphicContext
&
gc
,
TimeStep
*tStep,
UnknownType
)
override
;
79
void
drawScalar
(
oofegGraphicContext
&
gc
,
TimeStep
*tStep)
override
;
80
#endif
81
82
// definition & identification
83
const
char
*
giveInputRecordName
()
const override
{
return
_IFT_InterfaceElem2dLin_Name
; }
84
const
char
*
giveClassName
()
const override
{
return
"InterfaceElem2dLin"
; }
85
void
initializeFrom
(
InputRecord
&ir,
int
priority)
override
;
86
void
computeStressVector
(
FloatArray
&answer,
const
FloatArray
&strain,
GaussPoint
*gp,
TimeStep
*tStep)
override
;
87
void
computeConstitutiveMatrixAt
(
FloatMatrix
&answer, MatResponseMode rMode,
GaussPoint
*gp,
TimeStep
*tStep)
override
;
88
MaterialMode
giveMaterialMode
()
override
{
return
_2dInterface; }
89
90
protected
:
91
void
computeBmatrixAt
(
GaussPoint
*gp,
FloatMatrix
&answer,
int
= 1,
int
=
ALL_STRAINS
)
override
;
92
void
computeNmatrixAt
(
const
FloatArray
&iLocCoord,
FloatMatrix
&answer)
override
{ }
93
void
computeGaussPoints
()
override
;
94
95
bool
computeGtoLRotationMatrix
(
FloatMatrix
&answer)
override
;
96
};
97
}
// end namespace oofem
98
#endif
// interfaceelem2dlin_h
oofem::Domain
Definition
domain.h:121
oofem::FEI2dLineLin
Definition
fei2dlinelin.h:47
oofem::FEInterpolation
Definition
feinterpol.h:175
oofem::FloatArray
Definition
floatarray.h:92
oofem::FloatMatrix
Definition
floatmatrix.h:87
oofem::GaussPoint
Definition
gausspoint.h:95
oofem::InputRecord
Definition
inputrecord.h:98
oofem::IntArray
Definition
intarray.h:63
oofem::InterfaceElem2dLin::giveInputRecordName
const char * giveInputRecordName() const override
Definition
interfaceelem2dlin.h:83
oofem::InterfaceElem2dLin::~InterfaceElem2dLin
virtual ~InterfaceElem2dLin()
Definition
interfaceelem2dlin.h:62
oofem::InterfaceElem2dLin::drawRawGeometry
void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep) override
Definition
interfaceelem2dlin.C:181
oofem::InterfaceElem2dLin::computeNmatrixAt
void computeNmatrixAt(const FloatArray &iLocCoord, FloatMatrix &answer) override
Definition
interfaceelem2dlin.h:92
oofem::InterfaceElem2dLin::drawDeformedGeometry
void drawDeformedGeometry(oofegGraphicContext &gc, TimeStep *tStep, UnknownType) override
Definition
interfaceelem2dlin.C:206
oofem::InterfaceElem2dLin::IPK_InterfaceElem2dLin_axisymmode
static ParamKey IPK_InterfaceElem2dLin_axisymmode
Definition
interfaceelem2dlin.h:58
oofem::InterfaceElem2dLin::computeBmatrixAt
void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int=1, int=ALL_STRAINS) override
Definition
interfaceelem2dlin.C:72
oofem::InterfaceElem2dLin::giveClassName
const char * giveClassName() const override
Definition
interfaceelem2dlin.h:84
oofem::InterfaceElem2dLin::computeGaussPoints
void computeGaussPoints() override
Definition
interfaceelem2dlin.C:93
oofem::InterfaceElem2dLin::giveInterpolation
FEInterpolation * giveInterpolation() const override
Definition
interfaceelem2dlin.C:175
oofem::InterfaceElem2dLin::computeVolumeAround
double computeVolumeAround(GaussPoint *gp) override
Definition
interfaceelem2dlin.C:105
oofem::InterfaceElem2dLin::computeGtoLRotationMatrix
bool computeGtoLRotationMatrix(FloatMatrix &answer) override
Definition
interfaceelem2dlin.C:153
oofem::InterfaceElem2dLin::testElementExtension
int testElementExtension(ElementExtension ext) override
Definition
interfaceelem2dlin.h:74
oofem::InterfaceElem2dLin::giveDofManDofIDMask
void giveDofManDofIDMask(int inode, IntArray &answer) const override
Definition
interfaceelem2dlin.C:146
oofem::InterfaceElem2dLin::computeConstitutiveMatrixAt
void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) override
Definition
interfaceelem2dlin.C:130
oofem::InterfaceElem2dLin::drawScalar
void drawScalar(oofegGraphicContext &gc, TimeStep *tStep) override
Definition
interfaceelem2dlin.C:242
oofem::InterfaceElem2dLin::initializeFrom
void initializeFrom(InputRecord &ir, int priority) override
Definition
interfaceelem2dlin.C:137
oofem::InterfaceElem2dLin::giveGeometryType
Element_Geometry_Type giveGeometryType() const override
Definition
interfaceelem2dlin.h:68
oofem::InterfaceElem2dLin::computeNumberOfDofs
int computeNumberOfDofs() override
Definition
interfaceelem2dlin.h:66
oofem::InterfaceElem2dLin::giveMaterialMode
MaterialMode giveMaterialMode() override
Definition
interfaceelem2dlin.h:88
oofem::InterfaceElem2dLin::computeStressVector
void computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep) override
Definition
interfaceelem2dlin.C:123
oofem::InterfaceElem2dLin::interp
static FEI2dLineLin interp
Definition
interfaceelem2dlin.h:54
oofem::InterfaceElem2dLin::InterfaceElem2dLin
InterfaceElem2dLin(int n, Domain *d)
Definition
interfaceelem2dlin.C:63
oofem::InterfaceElem2dLin::axisymmode
bool axisymmode
Flag controlling axisymmetric mode (integration over unit circumferential angle).
Definition
interfaceelem2dlin.h:56
oofem::ParamKey
Definition
paramkey.h:51
oofem::StructuralElement::StructuralElement
StructuralElement(int n, Domain *d)
Definition
structuralelement.C:69
oofem::TimeStep
Definition
timestep.h:82
oofem::oofegGraphicContext
Definition
oofeggraphiccontext.h:133
_IFT_InterfaceElem2dLin_Name
#define _IFT_InterfaceElem2dLin_Name
Definition
interfaceelem2dlin.h:40
oofem
Definition
additivemanufacturingproblem.C:83
oofem::Element_Geometry_Type
Element_Geometry_Type
Definition
elementgeometrytype.h:82
oofem::ElementExtension
ElementExtension
Definition
elementextension.h:42
oofem::UnknownType
UnknownType
Definition
unknowntype.h:59
gc
oofem::oofegGraphicContext gc[OOFEG_LAST_LAYER]
structuralelement.h
ALL_STRAINS
#define ALL_STRAINS
Definition
structuralelement.h:48
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