OOFEM 3.0
Loading...
Searching...
No Matches
trplanstrss.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 trplanstrss_h
36#define trplanstrss_h
37
46#include "spatiallocalizer.h"
48
49
50#define _IFT_TrPlaneStress2d_Name "trplanestress2d"
51
52namespace oofem {
53class FEI2dTrLin;
54
68{
69protected:
71 double area;
72
73public:
74 TrPlaneStress2d(int n, Domain * d);
75 virtual ~TrPlaneStress2d() { }
76
77 FEInterpolation *giveInterpolation() const override;
78 double giveCharacteristicSize(GaussPoint *gp, FloatArray &normalToCrackPlane, ElementCharSizeMethod method) override;
79 double giveParentElSize() const override { return 0.5; }
81 Element_Geometry_Type giveGeometryType() const override { return EGT_triangle_1; }
82
83#ifdef __OOFEG
84 void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep) override;
86 void drawScalar(oofegGraphicContext &gc, TimeStep *tStep) override;
87 void drawSpecial(oofegGraphicContext &gc, TimeStep *tStep) override;
88#endif
89
90 // definition & identification
91 const char *giveInputRecordName() const override { return _IFT_TrPlaneStress2d_Name; }
92 const char *giveClassName() const override { return "TrPlaneStress2d"; }
93
95 InternalStateType type, TimeStep *tStep) override;
96
98 void SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(IntArray &answer, int pap) override;
101
102 // HuertaErrorEstimatorInterface
103 void HuertaErrorEstimatorI_setupRefinedElementProblem(RefinedElement *refinedElement, int level, int nodeId,
104 IntArray &localNodeIdArray, IntArray &globalNodeIdArray,
105 HuertaErrorEstimatorInterface :: SetupMode sMode, TimeStep *tStep,
106 int &localNodeId, int &localElemId, int &localBcId,
107 IntArray &controlNode, IntArray &controlDof,
108 HuertaErrorEstimator :: AnalysisMode aMode) override;
110 // Methods to implement LayeredCrossSectionInterface
111 void computeStrainVectorInLayer(FloatArray &answer, const FloatArray &masterGpStrain, GaussPoint *masterGp, GaussPoint *slaveGp, TimeStep *tStep) override;
112
113protected:
114
115 virtual double giveArea();
116 int giveNumberOfIPForMassMtrxIntegration() override { return 4; }
117};
118} // end namespace oofem
119#endif // trplanstrss_h
PlaneStressElement(int n, Domain *d)
SpatialLocalizerInterface(Element *element)
TrPlaneStress2d(int n, Domain *d)
Definition trplanstrss.C:58
void SPRNodalRecoveryMI_giveSPRAssemblyPoints(IntArray &pap) override
void drawSpecial(oofegGraphicContext &gc, TimeStep *tStep) override
const char * giveInputRecordName() const override
Definition trplanstrss.h:91
double giveCharacteristicSize(GaussPoint *gp, FloatArray &normalToCrackPlane, ElementCharSizeMethod method) override
void drawDeformedGeometry(oofegGraphicContext &gc, TimeStep *tStep, UnknownType) override
int SPRNodalRecoveryMI_giveNumberOfIP() override
SPRPatchType SPRNodalRecoveryMI_givePatchType() override
void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep) override
void computeStrainVectorInLayer(FloatArray &answer, const FloatArray &masterGpStrain, GaussPoint *masterGp, GaussPoint *slaveGp, TimeStep *tStep) override
void HuertaErrorEstimatorI_computeNmatrixAt(GaussPoint *gp, FloatMatrix &answer) override
void SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(IntArray &answer, int pap) override
const char * giveClassName() const override
Definition trplanstrss.h:92
Element_Geometry_Type giveGeometryType() const override
Definition trplanstrss.h:81
void NodalAveragingRecoveryMI_computeNodalValue(FloatArray &answer, int node, InternalStateType type, TimeStep *tStep) override
virtual double giveArea()
Definition trplanstrss.C:95
Interface * giveInterface(InterfaceType) override
Definition trplanstrss.C:73
void drawScalar(oofegGraphicContext &gc, TimeStep *tStep) override
static FEI2dTrLin interp
Definition trplanstrss.h:70
double giveParentElSize() const override
Definition trplanstrss.h:79
FEInterpolation * giveInterpolation() const override
Definition trplanstrss.C:70
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
int giveNumberOfIPForMassMtrxIntegration() override
ZZErrorEstimatorInterface(Element *element)
Constructor.
ZZNodalRecoveryModelInterface(Element *element)
Constructor.
oofem::oofegGraphicContext gc[OOFEG_LAST_LAYER]
#define _IFT_TrPlaneStress2d_Name
Definition trplanstrss.h:50

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