OOFEM
3.0
Loading...
Searching...
No Matches
src
sm
Elements
PlaneStress
qtrplstr.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 qtrplstr_h
36
#define qtrplstr_h
37
38
#include "
sm/Elements/structural2delement.h
"
39
#include "
sm/ErrorEstimators/directerrorindicatorrc.h
"
40
#include "
spatiallocalizer.h
"
41
#include "
zznodalrecoverymodel.h
"
42
#include "
sprnodalrecoverymodel.h
"
43
44
#define _IFT_QTrPlaneStress2d_Name "qtrplstr"
45
46
namespace
oofem
{
47
class
FEI2dTrQuad;
48
53
class
QTrPlaneStress2d
:
public
PlaneStressElement
,
public
SpatialLocalizerInterface
,
54
public
SPRNodalRecoveryModelInterface
55
{
56
protected
:
57
static
FEI2dTrQuad
interpolation
;
58
59
public
:
60
QTrPlaneStress2d
(
int
n,
Domain
* d);
61
virtual
~QTrPlaneStress2d
() { }
62
63
Interface
*
giveInterface
(
InterfaceType
it)
override
;
64
FEInterpolation
*
giveInterpolation
()
const override
;
65
double
giveParentElSize
()
const override
{
return
0.5; }
66
67
#ifdef __OOFEG
68
void
drawRawGeometry
(
oofegGraphicContext
&
gc
,
TimeStep
*tStep)
override
;
69
void
drawDeformedGeometry
(
oofegGraphicContext
&
gc
,
TimeStep
*tStep,
UnknownType
)
override
;
70
void
drawScalar
(
oofegGraphicContext
&
gc
,
TimeStep
*tStep)
override
;
71
void
drawSpecial
(
oofegGraphicContext
&
gc
,
TimeStep
*tStep)
override
;
72
#endif
73
74
// definition & identification
75
const
char
*
giveInputRecordName
()
const override
{
return
_IFT_QTrPlaneStress2d_Name
; }
76
const
char
*
giveClassName
()
const override
{
return
"QTrPlaneStress2d"
; }
77
Element_Geometry_Type
giveGeometryType
()
const override
{
return
EGT_triangle_2;}
78
79
void
SPRNodalRecoveryMI_giveSPRAssemblyPoints
(
IntArray
&pap)
override
;
80
void
SPRNodalRecoveryMI_giveDofMansDeterminedByPatch
(
IntArray
&answer,
int
pap)
override
;
81
int
SPRNodalRecoveryMI_giveNumberOfIP
()
override
;
82
SPRPatchType
SPRNodalRecoveryMI_givePatchType
()
override
;
83
84
protected
:
85
int
giveNumberOfIPForMassMtrxIntegration
()
override
{
return
4; }
86
87
};
88
}
// end namespace oofem
89
#endif
// qtrplstr_h
oofem::Domain
Definition
domain.h:121
oofem::FEI2dTrQuad
Definition
fei2dtrquad.h:45
oofem::FEInterpolation
Definition
feinterpol.h:175
oofem::IntArray
Definition
intarray.h:63
oofem::Interface
Definition
interface.h:83
oofem::PlaneStressElement::PlaneStressElement
PlaneStressElement(int n, Domain *d)
Definition
structural2delement.C:235
oofem::QTrPlaneStress2d::drawDeformedGeometry
void drawDeformedGeometry(oofegGraphicContext &gc, TimeStep *tStep, UnknownType) override
Definition
qtrplstr.C:124
oofem::QTrPlaneStress2d::giveInterface
Interface * giveInterface(InterfaceType it) override
Definition
qtrplstr.C:70
oofem::QTrPlaneStress2d::giveGeometryType
Element_Geometry_Type giveGeometryType() const override
Definition
qtrplstr.h:77
oofem::QTrPlaneStress2d::giveNumberOfIPForMassMtrxIntegration
int giveNumberOfIPForMassMtrxIntegration() override
Definition
qtrplstr.h:85
oofem::QTrPlaneStress2d::interpolation
static FEI2dTrQuad interpolation
Definition
qtrplstr.h:57
oofem::QTrPlaneStress2d::drawSpecial
void drawSpecial(oofegGraphicContext &gc, TimeStep *tStep) override
Definition
qtrplstr.C:341
oofem::QTrPlaneStress2d::drawRawGeometry
void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep) override
Definition
qtrplstr.C:93
oofem::QTrPlaneStress2d::SPRNodalRecoveryMI_giveSPRAssemblyPoints
void SPRNodalRecoveryMI_giveSPRAssemblyPoints(IntArray &pap) override
Definition
qtrplstr.C:348
oofem::QTrPlaneStress2d::giveClassName
const char * giveClassName() const override
Definition
qtrplstr.h:76
oofem::QTrPlaneStress2d::giveInputRecordName
const char * giveInputRecordName() const override
Definition
qtrplstr.h:75
oofem::QTrPlaneStress2d::QTrPlaneStress2d
QTrPlaneStress2d(int n, Domain *d)
Definition
qtrplstr.C:58
oofem::QTrPlaneStress2d::giveParentElSize
double giveParentElSize() const override
Definition
qtrplstr.h:65
oofem::QTrPlaneStress2d::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch
void SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(IntArray &answer, int pap) override
Definition
qtrplstr.C:358
oofem::QTrPlaneStress2d::SPRNodalRecoveryMI_givePatchType
SPRPatchType SPRNodalRecoveryMI_givePatchType() override
Definition
qtrplstr.C:387
oofem::QTrPlaneStress2d::~QTrPlaneStress2d
virtual ~QTrPlaneStress2d()
Definition
qtrplstr.h:61
oofem::QTrPlaneStress2d::SPRNodalRecoveryMI_giveNumberOfIP
int SPRNodalRecoveryMI_giveNumberOfIP() override
Definition
qtrplstr.C:380
oofem::QTrPlaneStress2d::drawScalar
void drawScalar(oofegGraphicContext &gc, TimeStep *tStep) override
Definition
qtrplstr.C:155
oofem::QTrPlaneStress2d::giveInterpolation
FEInterpolation * giveInterpolation() const override
Definition
qtrplstr.C:66
oofem::SPRNodalRecoveryModelInterface::SPRNodalRecoveryModelInterface
SPRNodalRecoveryModelInterface()
Constructor.
Definition
sprnodalrecoverymodel.h:127
oofem::SpatialLocalizerInterface::SpatialLocalizerInterface
SpatialLocalizerInterface(Element *element)
Definition
spatiallocalizer.h:65
oofem::TimeStep
Definition
timestep.h:82
oofem::oofegGraphicContext
Definition
oofeggraphiccontext.h:133
directerrorindicatorrc.h
oofem
Definition
additivemanufacturingproblem.C:83
oofem::SPRPatchType
SPRPatchType
Definition
sprnodalrecoverymodel.h:48
oofem::Element_Geometry_Type
Element_Geometry_Type
Definition
elementgeometrytype.h:82
oofem::InterfaceType
InterfaceType
Definition
interfacetype.h:43
oofem::UnknownType
UnknownType
Definition
unknowntype.h:59
gc
oofem::oofegGraphicContext gc[OOFEG_LAST_LAYER]
_IFT_QTrPlaneStress2d_Name
#define _IFT_QTrPlaneStress2d_Name
Definition
qtrplstr.h:44
spatiallocalizer.h
sprnodalrecoverymodel.h
structural2delement.h
zznodalrecoverymodel.h
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