OOFEM
3.0
Loading...
Searching...
No Matches
src
sm
Elements
Interfaces
intelline2.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 intelline2_h
36
#define intelline2_h
37
38
#include "
sm/Elements/Interfaces/intelline1.h
"
39
40
#define _IFT_IntElLine2_Name "intelline2"
41
#define _IFT_IntElLine2_LinearTraction "linear"
42
43
namespace
oofem
{
44
class
FEI2dLineQuad;
45
class
ParamKey;
46
53
class
IntElLine2
:
public
IntElLine1
54
{
55
protected
:
56
static
FEI2dLineQuad
interp
;
57
static
FEI2dLineLin
interpLin
;
58
59
static
ParamKey
IPK_IntElLine2_LinearTraction
;
60
61
public
:
62
IntElLine2
(
int
n,
Domain
* d);
63
virtual
~IntElLine2
() { }
64
FEInterpolation
*
giveInterpolation
()
const override
;
65
int
computeNumberOfDofs
()
override
{
return
12; }
66
void
initializeFrom
(
InputRecord
&ir,
int
priority)
override
;
67
68
// definition & identification
69
const
char
*
giveInputRecordName
()
const override
{
return
_IFT_IntElLine2_Name
; }
70
const
char
*
giveClassName
()
const override
{
return
"IntElLine2"
; }
71
72
#ifdef __OOFEG
73
void
drawRawGeometry
(
oofegGraphicContext
&
gc
,
TimeStep
*tStep)
override
;
74
void
drawDeformedGeometry
(
oofegGraphicContext
&
gc
,
TimeStep
*tStep,
UnknownType
)
override
;
75
void
drawScalar
(
oofegGraphicContext
&
gc
,
TimeStep
*tStep)
override
;
76
#endif
77
78
protected
:
79
void
computeNmatrixAt
(
GaussPoint
*gp,
FloatMatrix
&answer)
override
;
80
void
computeGaussPoints
()
override
;
81
82
Element_Geometry_Type
giveGeometryType
()
const override
{
return
EGT_quad_21_interface; }
83
85
bool
linear
;
86
};
87
}
// end namespace oofem
88
#endif
oofem::Domain
Definition
domain.h:121
oofem::FEI2dLineLin
Definition
fei2dlinelin.h:47
oofem::FEI2dLineQuad
Definition
fei2dlinequad.h:47
oofem::FEInterpolation
Definition
feinterpol.h:175
oofem::FloatMatrix
Definition
floatmatrix.h:87
oofem::GaussPoint
Definition
gausspoint.h:95
oofem::InputRecord
Definition
inputrecord.h:98
oofem::IntElLine1::IntElLine1
IntElLine1(int n, Domain *d)
Definition
intelline1.C:63
oofem::IntElLine2::computeGaussPoints
void computeGaussPoints() override
Definition
intelline2.C:103
oofem::IntElLine2::drawDeformedGeometry
void drawDeformedGeometry(oofegGraphicContext &gc, TimeStep *tStep, UnknownType) override
Definition
intelline2.C:166
oofem::IntElLine2::drawRawGeometry
void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep) override
Definition
intelline2.C:131
oofem::IntElLine2::IntElLine2
IntElLine2(int n, Domain *d)
Definition
intelline2.C:62
oofem::IntElLine2::computeNmatrixAt
void computeNmatrixAt(GaussPoint *gp, FloatMatrix &answer) override
Definition
intelline2.C:71
oofem::IntElLine2::interp
static FEI2dLineQuad interp
Definition
intelline2.h:56
oofem::IntElLine2::initializeFrom
void initializeFrom(InputRecord &ir, int priority) override
Definition
intelline2.C:121
oofem::IntElLine2::giveInterpolation
FEInterpolation * giveInterpolation() const override
Definition
intelline2.C:114
oofem::IntElLine2::drawScalar
void drawScalar(oofegGraphicContext &gc, TimeStep *tStep) override
Definition
intelline2.C:202
oofem::IntElLine2::IPK_IntElLine2_LinearTraction
static ParamKey IPK_IntElLine2_LinearTraction
Definition
intelline2.h:59
oofem::IntElLine2::giveInputRecordName
const char * giveInputRecordName() const override
Definition
intelline2.h:69
oofem::IntElLine2::giveGeometryType
Element_Geometry_Type giveGeometryType() const override
Definition
intelline2.h:82
oofem::IntElLine2::computeNumberOfDofs
int computeNumberOfDofs() override
Definition
intelline2.h:65
oofem::IntElLine2::linear
bool linear
If linear interpolation should be used.
Definition
intelline2.h:85
oofem::IntElLine2::giveClassName
const char * giveClassName() const override
Definition
intelline2.h:70
oofem::IntElLine2::~IntElLine2
virtual ~IntElLine2()
Definition
intelline2.h:63
oofem::IntElLine2::interpLin
static FEI2dLineLin interpLin
Definition
intelline2.h:57
oofem::ParamKey
Definition
paramkey.h:51
oofem::TimeStep
Definition
timestep.h:82
oofem::oofegGraphicContext
Definition
oofeggraphiccontext.h:133
intelline1.h
_IFT_IntElLine2_Name
#define _IFT_IntElLine2_Name
Definition
intelline2.h:40
oofem
Definition
additivemanufacturingproblem.C:83
oofem::Element_Geometry_Type
Element_Geometry_Type
Definition
elementgeometrytype.h:82
oofem::UnknownType
UnknownType
Definition
unknowntype.h:59
gc
oofem::oofegGraphicContext gc[OOFEG_LAST_LAYER]
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