OOFEM
3.0
Loading...
Searching...
No Matches
src
sm
Elements
Interfaces
Deprecated
interfaceelem2dquad.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 interfaceelem2dquad_h
36
#define interfaceelem2dquad_h
37
38
#include "
sm/Elements/structuralelement.h
"
39
40
#define _IFT_InterfaceElem2dQuad_Name "interface2dquad"
41
#define _IFT_InterfaceElem2dQuad_axisymmode "axisymmode"
42
43
namespace
oofem
{
44
class
ParamKey;
45
class
FEI2dLineQuad;
46
53
class
InterfaceElem2dQuad
:
public
StructuralElement
54
{
55
protected
:
56
static
FEI2dLineQuad
interp
;
58
bool
axisymmode
;
59
60
static
ParamKey
IPK_InterfaceElem2dQuad_axisymmode
;
61
62
public
:
63
InterfaceElem2dQuad
(
int
n,
Domain
* d);
64
virtual
~InterfaceElem2dQuad
() { }
65
66
FEInterpolation
*
giveInterpolation
()
const override
;
67
68
int
computeNumberOfDofs
()
override
{
return
12; }
69
void
giveDofManDofIDMask
(
int
inode,
IntArray
&answer)
const override
;
70
71
double
computeVolumeAround
(
GaussPoint
*gp)
override
;
72
73
74
int
testElementExtension
(
ElementExtension
ext)
override
{
return
0; }
75
76
Interface
*
giveInterface
(
InterfaceType
)
override
{
return
NULL; }
77
Element_Geometry_Type
giveGeometryType
()
const override
{
return
EGT_line_2;}
78
79
80
#ifdef __OOFEG
81
void
drawRawGeometry
(
oofegGraphicContext
&
gc
,
TimeStep
*tStep)
override
;
82
void
drawDeformedGeometry
(
oofegGraphicContext
&
gc
,
TimeStep
*tStep,
UnknownType
)
override
;
83
void
drawScalar
(
oofegGraphicContext
&
gc
,
TimeStep
*tStep)
override
;
84
#endif
85
86
// definition & identification
87
const
char
*
giveInputRecordName
()
const override
{
return
_IFT_InterfaceElem2dQuad_Name
; }
88
const
char
*
giveClassName
()
const override
{
return
"InterfaceElem2dQuad"
; }
89
void
initializeFrom
(
InputRecord
&ir,
int
priority)
override
;
90
void
computeStressVector
(
FloatArray
&answer,
const
FloatArray
&strain,
GaussPoint
*gp,
TimeStep
*tStep)
override
;
91
void
computeConstitutiveMatrixAt
(
FloatMatrix
&answer, MatResponseMode rMode,
GaussPoint
*gp,
TimeStep
*tStep)
override
;
92
MaterialMode
giveMaterialMode
()
override
{
return
_2dInterface; }
93
94
protected
:
95
void
computeBmatrixAt
(
GaussPoint
*gp,
FloatMatrix
&answer,
int
= 1,
int
=
ALL_STRAINS
)
override
;
96
void
computeNmatrixAt
(
const
FloatArray
&iLocCoord,
FloatMatrix
&answer)
override
{ }
97
void
computeGaussPoints
()
override
;
98
99
bool
computeGtoLRotationMatrix
(
FloatMatrix
&answer)
override
;
100
};
101
}
// end namespace oofem
102
#endif
// interfaceelem2dquad_h
oofem::Domain
Definition
domain.h:121
oofem::FEI2dLineQuad
Definition
fei2dlinequad.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::InterfaceElem2dQuad::computeGtoLRotationMatrix
bool computeGtoLRotationMatrix(FloatMatrix &answer) override
Definition
interfaceelem2dquad.C:177
oofem::InterfaceElem2dQuad::giveDofManDofIDMask
void giveDofManDofIDMask(int inode, IntArray &answer) const override
Definition
interfaceelem2dquad.C:170
oofem::InterfaceElem2dQuad::drawDeformedGeometry
void drawDeformedGeometry(oofegGraphicContext &gc, TimeStep *tStep, UnknownType) override
Definition
interfaceelem2dquad.C:278
oofem::InterfaceElem2dQuad::~InterfaceElem2dQuad
virtual ~InterfaceElem2dQuad()
Definition
interfaceelem2dquad.h:64
oofem::InterfaceElem2dQuad::initializeFrom
void initializeFrom(InputRecord &ir, int priority) override
Definition
interfaceelem2dquad.C:161
oofem::InterfaceElem2dQuad::computeBmatrixAt
void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int=1, int=ALL_STRAINS) override
Definition
interfaceelem2dquad.C:72
oofem::InterfaceElem2dQuad::testElementExtension
int testElementExtension(ElementExtension ext) override
Definition
interfaceelem2dquad.h:74
oofem::InterfaceElem2dQuad::giveInterface
Interface * giveInterface(InterfaceType) override
Definition
interfaceelem2dquad.h:76
oofem::InterfaceElem2dQuad::IPK_InterfaceElem2dQuad_axisymmode
static ParamKey IPK_InterfaceElem2dQuad_axisymmode
Definition
interfaceelem2dquad.h:60
oofem::InterfaceElem2dQuad::axisymmode
bool axisymmode
Flag controlling axisymmetric mode (integration over unit circumferential angle).
Definition
interfaceelem2dquad.h:58
oofem::InterfaceElem2dQuad::drawScalar
void drawScalar(oofegGraphicContext &gc, TimeStep *tStep) override
Definition
interfaceelem2dquad.C:314
oofem::InterfaceElem2dQuad::computeGaussPoints
void computeGaussPoints() override
Definition
interfaceelem2dquad.C:99
oofem::InterfaceElem2dQuad::computeNumberOfDofs
int computeNumberOfDofs() override
Definition
interfaceelem2dquad.h:68
oofem::InterfaceElem2dQuad::computeStressVector
void computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep) override
Definition
interfaceelem2dquad.C:147
oofem::InterfaceElem2dQuad::giveMaterialMode
MaterialMode giveMaterialMode() override
Definition
interfaceelem2dquad.h:92
oofem::InterfaceElem2dQuad::computeNmatrixAt
void computeNmatrixAt(const FloatArray &iLocCoord, FloatMatrix &answer) override
Definition
interfaceelem2dquad.h:96
oofem::InterfaceElem2dQuad::drawRawGeometry
void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep) override
Definition
interfaceelem2dquad.C:243
oofem::InterfaceElem2dQuad::InterfaceElem2dQuad
InterfaceElem2dQuad(int n, Domain *d)
Definition
interfaceelem2dquad.C:63
oofem::InterfaceElem2dQuad::giveInterpolation
FEInterpolation * giveInterpolation() const override
Definition
interfaceelem2dquad.C:205
oofem::InterfaceElem2dQuad::interp
static FEI2dLineQuad interp
Definition
interfaceelem2dquad.h:56
oofem::InterfaceElem2dQuad::computeVolumeAround
double computeVolumeAround(GaussPoint *gp) override
Definition
interfaceelem2dquad.C:112
oofem::InterfaceElem2dQuad::computeConstitutiveMatrixAt
void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) override
Definition
interfaceelem2dquad.C:154
oofem::InterfaceElem2dQuad::giveGeometryType
Element_Geometry_Type giveGeometryType() const override
Definition
interfaceelem2dquad.h:77
oofem::InterfaceElem2dQuad::giveInputRecordName
const char * giveInputRecordName() const override
Definition
interfaceelem2dquad.h:87
oofem::InterfaceElem2dQuad::giveClassName
const char * giveClassName() const override
Definition
interfaceelem2dquad.h:88
oofem::Interface
Definition
interface.h:83
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_InterfaceElem2dQuad_Name
#define _IFT_InterfaceElem2dQuad_Name
Definition
interfaceelem2dquad.h:40
oofem
Definition
additivemanufacturingproblem.C:83
oofem::Element_Geometry_Type
Element_Geometry_Type
Definition
elementgeometrytype.h:82
oofem::InterfaceType
InterfaceType
Definition
interfacetype.h:43
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