OOFEM
3.0
Loading...
Searching...
No Matches
src
sm
Elements
Interfaces
Deprecated
interfaceelem3dtrlin.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 interfaceelem3dtrlin_h
36
#define interfaceelem3dtrlin_h
37
38
#include "
sm/Elements/structuralelement.h
"
39
40
#define _IFT_InterfaceElement3dTrLin_Name "interface3dtrlin"
41
42
namespace
oofem
{
43
class
FEI2dTrLin;
44
50
class
InterfaceElement3dTrLin
:
public
StructuralElement
51
{
52
protected
:
54
static
FEI2dTrLin
interpolation
;
55
56
public
:
57
InterfaceElement3dTrLin
(
int
n,
Domain
* d);
58
virtual
~InterfaceElement3dTrLin
() { }
59
60
int
computeGlobalCoordinates
(
FloatArray
&answer,
const
FloatArray
&lcoords)
override
;
61
bool
computeLocalCoordinates
(
FloatArray
&answer,
const
FloatArray
&gcoords)
override
;
62
63
int
computeNumberOfDofs
()
override
{
return
18; }
64
void
giveDofManDofIDMask
(
int
inode,
IntArray
&answer)
const override
;
65
66
double
computeVolumeAround
(
GaussPoint
*gp)
override
;
67
68
int
testElementExtension
(
ElementExtension
ext)
override
{
return
0; }
69
70
#ifdef __OOFEG
71
void
drawRawGeometry
(
oofegGraphicContext
&
gc
,
TimeStep
*tStep)
override
;
72
void
drawDeformedGeometry
(
oofegGraphicContext
&
gc
,
TimeStep
*tStep,
UnknownType
)
override
;
73
void
drawScalar
(
oofegGraphicContext
&
gc
,
TimeStep
*tStep)
override
;
74
#endif
75
76
// definition & identification
77
const
char
*
giveInputRecordName
()
const override
{
return
_IFT_InterfaceElement3dTrLin_Name
; }
78
const
char
*
giveClassName
()
const override
{
return
"InterfaceElement3dTrLin"
; }
79
Element_Geometry_Type
giveGeometryType
()
const override
{
return
EGT_wedge_1; }
80
integrationDomain
giveIntegrationDomain
()
const override
{
return
_Triangle
; }
81
82
void
computeStressVector
(
FloatArray
&answer,
const
FloatArray
&strain,
GaussPoint
*gp,
TimeStep
*tStep)
override
;
83
void
computeConstitutiveMatrixAt
(
FloatMatrix
&answer, MatResponseMode rMode,
GaussPoint
*gp,
TimeStep
*tStep)
override
;
84
MaterialMode
giveMaterialMode
()
override
{
return
_3dInterface; }
85
86
protected
:
87
void
computeBmatrixAt
(
GaussPoint
*gp,
FloatMatrix
&answer,
int
= 1,
int
=
ALL_STRAINS
)
override
;
88
void
computeNmatrixAt
(
const
FloatArray
&iLocCoord,
FloatMatrix
&answer)
override
{ }
89
void
computeGaussPoints
()
override
;
90
91
bool
computeGtoLRotationMatrix
(
FloatMatrix
&answer)
override
;
92
void
computeLCS
(
FloatMatrix
&answer);
93
};
94
}
// end namespace oofem
95
#endif
// interfaceelem3dtrlin_h
oofem::Domain
Definition
domain.h:121
oofem::FEI2dTrLin
Definition
fei2dtrlin.h:45
oofem::FloatArray
Definition
floatarray.h:92
oofem::FloatMatrix
Definition
floatmatrix.h:87
oofem::GaussPoint
Definition
gausspoint.h:95
oofem::IntArray
Definition
intarray.h:63
oofem::InterfaceElement3dTrLin::giveMaterialMode
MaterialMode giveMaterialMode() override
Definition
interfaceelem3dtrlin.h:84
oofem::InterfaceElement3dTrLin::giveIntegrationDomain
integrationDomain giveIntegrationDomain() const override
Definition
interfaceelem3dtrlin.h:80
oofem::InterfaceElement3dTrLin::computeGtoLRotationMatrix
bool computeGtoLRotationMatrix(FloatMatrix &answer) override
Definition
interfaceelem3dtrlin.C:212
oofem::InterfaceElement3dTrLin::drawDeformedGeometry
void drawDeformedGeometry(oofegGraphicContext &gc, TimeStep *tStep, UnknownType) override
Definition
interfaceelem3dtrlin.C:263
oofem::InterfaceElement3dTrLin::computeConstitutiveMatrixAt
void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) override
Definition
interfaceelem3dtrlin.C:163
oofem::InterfaceElement3dTrLin::computeBmatrixAt
void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int=1, int=ALL_STRAINS) override
Definition
interfaceelem3dtrlin.C:69
oofem::InterfaceElement3dTrLin::interpolation
static FEI2dTrLin interpolation
Definition
interfaceelem3dtrlin.h:54
oofem::InterfaceElement3dTrLin::computeNmatrixAt
void computeNmatrixAt(const FloatArray &iLocCoord, FloatMatrix &answer) override
Definition
interfaceelem3dtrlin.h:88
oofem::InterfaceElement3dTrLin::computeGlobalCoordinates
int computeGlobalCoordinates(FloatArray &answer, const FloatArray &lcoords) override
Definition
interfaceelem3dtrlin.C:106
oofem::InterfaceElement3dTrLin::computeStressVector
void computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep) override
Definition
interfaceelem3dtrlin.C:156
oofem::InterfaceElement3dTrLin::giveClassName
const char * giveClassName() const override
Definition
interfaceelem3dtrlin.h:78
oofem::InterfaceElement3dTrLin::giveDofManDofIDMask
void giveDofManDofIDMask(int inode, IntArray &answer) const override
Definition
interfaceelem3dtrlin.C:170
oofem::InterfaceElement3dTrLin::InterfaceElement3dTrLin
InterfaceElement3dTrLin(int n, Domain *d)
Definition
interfaceelem3dtrlin.C:61
oofem::InterfaceElement3dTrLin::computeNumberOfDofs
int computeNumberOfDofs() override
Definition
interfaceelem3dtrlin.h:63
oofem::InterfaceElement3dTrLin::testElementExtension
int testElementExtension(ElementExtension ext) override
Definition
interfaceelem3dtrlin.h:68
oofem::InterfaceElement3dTrLin::giveInputRecordName
const char * giveInputRecordName() const override
Definition
interfaceelem3dtrlin.h:77
oofem::InterfaceElement3dTrLin::computeGaussPoints
void computeGaussPoints() override
Definition
interfaceelem3dtrlin.C:93
oofem::InterfaceElement3dTrLin::computeVolumeAround
double computeVolumeAround(GaussPoint *gp) override
Definition
interfaceelem3dtrlin.C:133
oofem::InterfaceElement3dTrLin::~InterfaceElement3dTrLin
virtual ~InterfaceElement3dTrLin()
Definition
interfaceelem3dtrlin.h:58
oofem::InterfaceElement3dTrLin::computeLocalCoordinates
bool computeLocalCoordinates(FloatArray &answer, const FloatArray &gcoords) override
Definition
interfaceelem3dtrlin.C:125
oofem::InterfaceElement3dTrLin::drawScalar
void drawScalar(oofegGraphicContext &gc, TimeStep *tStep) override
Definition
interfaceelem3dtrlin.C:267
oofem::InterfaceElement3dTrLin::giveGeometryType
Element_Geometry_Type giveGeometryType() const override
Definition
interfaceelem3dtrlin.h:79
oofem::InterfaceElement3dTrLin::computeLCS
void computeLCS(FloatMatrix &answer)
Definition
interfaceelem3dtrlin.C:177
oofem::InterfaceElement3dTrLin::drawRawGeometry
void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep) override
Definition
interfaceelem3dtrlin.C:232
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_InterfaceElement3dTrLin_Name
#define _IFT_InterfaceElement3dTrLin_Name
Definition
interfaceelem3dtrlin.h:40
oofem
Definition
additivemanufacturingproblem.C:83
oofem::Element_Geometry_Type
Element_Geometry_Type
Definition
elementgeometrytype.h:82
oofem::integrationDomain
integrationDomain
Definition
integrationdomain.h:44
oofem::_Triangle
@ _Triangle
Definition
integrationdomain.h:48
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