OOFEM 3.0
Loading...
Searching...
No Matches
planstrss.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 planstrss_h
36#define planstrss_h
37
43#include "spatiallocalizer.h"
44
45#define _IFT_PlaneStress2d_Name "planestress2d"
46
47namespace oofem {
48class FEI2dQuadLin;
49
51#define PlaneStress2d_reducedShearIntegration
59{
60protected:
62
63public:
64 PlaneStress2d(int n, Domain * d);
65 virtual ~PlaneStress2d();
66
67 double giveCharacteristicSize(GaussPoint *gp, FloatArray &normalToCrackPlane, ElementCharSizeMethod method) override;
68 double giveParentElSize() const override { return 4.0; }
69
71 FEInterpolation *giveInterpolation() const override;
72
74 void SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(IntArray &answer, int pap) override;
77
78 void HuertaErrorEstimatorI_setupRefinedElementProblem(RefinedElement *refinedElement, int level, int nodeId,
79 IntArray &localNodeIdArray, IntArray &globalNodeIdArray,
80 HuertaErrorEstimatorInterface :: SetupMode sMode, TimeStep *tStep,
81 int &localNodeId, int &localElemId, int &localBcId,
82 IntArray &controlNode, IntArray &controlDof,
83 HuertaErrorEstimator :: AnalysisMode aMode) override;
85
86#ifdef __OOFEG
87 void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep) override;
89 void drawScalar(oofegGraphicContext &gc, TimeStep *tStep) override;
90 void drawSpecial(oofegGraphicContext &gc, TimeStep *tStep) override;
91#endif
92
93 // definition & identification
94 const char *giveInputRecordName() const override { return _IFT_PlaneStress2d_Name; }
95 const char *giveClassName() const override { return "PlaneStress2d"; }
96 Element_Geometry_Type giveGeometryType() const override {return EGT_quad_1;}
97
98 void initializeFrom(InputRecord &ir, int priority) override;
99 void postInitialize() override;
100
101protected:
102
103 void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int = 1, int = ALL_STRAINS) override;
104 void computeBHmatrixAt(GaussPoint *gp, FloatMatrix &answer) override;
105
106 int giveNumberOfIPForMassMtrxIntegration() override { return 4; }
107};
108} // end namespace oofem
109#endif // planstrss_h
const char * giveInputRecordName() const override
Definition planstrss.h:94
void drawScalar(oofegGraphicContext &gc, TimeStep *tStep) override
Definition planstrss.C:405
double giveParentElSize() const override
Definition planstrss.h:68
const char * giveClassName() const override
Definition planstrss.h:95
void HuertaErrorEstimatorI_computeNmatrixAt(GaussPoint *gp, FloatMatrix &answer) override
Definition planstrss.C:325
void drawDeformedGeometry(oofegGraphicContext &gc, TimeStep *tStep, UnknownType) override
Definition planstrss.C:369
void SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(IntArray &answer, int pap) override
Definition planstrss.C:715
void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int=1, int=ALL_STRAINS) override
Definition planstrss.C:79
SPRPatchType SPRNodalRecoveryMI_givePatchType() override
Definition planstrss.C:741
FEInterpolation * giveInterpolation() const override
Definition planstrss.C:76
PlaneStress2d(int n, Domain *d)
Definition planstrss.C:62
void computeBHmatrixAt(GaussPoint *gp, FloatMatrix &answer) override
Definition planstrss.C:110
void postInitialize() override
Performs post initialization steps.
Definition planstrss.C:146
virtual ~PlaneStress2d()
Definition planstrss.C:72
void drawSpecial(oofegGraphicContext &gc, TimeStep *tStep) override
Definition planstrss.C:600
int SPRNodalRecoveryMI_giveNumberOfIP() override
Definition planstrss.C:734
void HuertaErrorEstimatorI_setupRefinedElementProblem(RefinedElement *refinedElement, int level, int nodeId, IntArray &localNodeIdArray, IntArray &globalNodeIdArray, HuertaErrorEstimatorInterface ::SetupMode sMode, TimeStep *tStep, int &localNodeId, int &localElemId, int &localBcId, IntArray &controlNode, IntArray &controlDof, HuertaErrorEstimator ::AnalysisMode aMode) override
Definition planstrss.C:271
void SPRNodalRecoveryMI_giveSPRAssemblyPoints(IntArray &pap) override
Definition planstrss.C:706
void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep) override
Definition planstrss.C:334
void initializeFrom(InputRecord &ir, int priority) override
Definition planstrss.C:140
Interface * giveInterface(InterfaceType it) override
Definition planstrss.C:254
int giveNumberOfIPForMassMtrxIntegration() override
Definition planstrss.h:106
Element_Geometry_Type giveGeometryType() const override
Definition planstrss.h:96
static FEI2dQuadLin interpolation
Definition planstrss.h:61
double giveCharacteristicSize(GaussPoint *gp, FloatArray &normalToCrackPlane, ElementCharSizeMethod method) override
Definition planstrss.C:158
PlaneStressElement(int n, Domain *d)
SpatialLocalizerInterface(Element *element)
ZZNodalRecoveryModelInterface(Element *element)
Constructor.
oofem::oofegGraphicContext gc[OOFEG_LAST_LAYER]
#define _IFT_PlaneStress2d_Name
Definition planstrss.h:45
#define ALL_STRAINS

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