OOFEM 3.0
Loading...
Searching...
No Matches
trplanrot.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 trplanrot_h
36#define trplanrot_h
37
39
41
42#define _IFT_TrPlaneStrRot_Name "trplanestrrot"
43#define _IFT_TrPlaneStrRot_niprot "niprot"
45
46namespace oofem {
47class ParamKey;
58{
59protected:
62public:
63 TrPlaneStrRot(int, Domain *);
64 virtual ~TrPlaneStrRot() { }
65
66protected:
67 void computeGaussPoints() override;
68 void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int = 1, int = ALL_STRAINS) override;
69 void computeNmatrixAt(const FloatArray &iLocCoord, FloatMatrix &answer) override;
70
71 void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) override;
72 void computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep) override;
73
74 double giveArea() override;
75 virtual void giveNodeCoordinates(FloatArray &x, FloatArray &y);
76
77 void computeBodyLoadVectorAt(FloatArray &answer, Load *forLoad, TimeStep *tStep, ValueModeType mode) override;
78
79public:
80 // definition & identification
81 const char *giveInputRecordName() const override { return _IFT_TrPlaneStrRot_Name; }
82 const char *giveClassName() const override { return "TrPlaneStrRot"; }
83 void initializeFrom(InputRecord &ir, int priority) override;
84 void postInitialize() override;
85 MaterialMode giveMaterialMode() override { return _PlaneStressRot; }
86
87 int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override;
88
89 int computeNumberOfDofs() override { return 9; }
90 void giveDofManDofIDMask(int inode, IntArray &) const override;
91
92 double giveCharacteristicLength(const FloatArray &normalToCrackPlane) override;
93
99 //void computeStrainVector(FloatArray &answer, GaussPoint *gp, TimeStep *tStep) override;
100
101 int testElementExtension(ElementExtension ext) override { return 0; }
102};
103} // end namespace oofem
104#endif // trplanrot_h
FloatArray GiveDerivativeUX(const FloatArray &lCoords)
Definition trplanrot.C:400
int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override
Definition trplanrot.C:672
void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) override
Definition trplanrot.C:590
void postInitialize() override
Performs post initialization steps.
Definition trplanrot.C:572
double giveCharacteristicLength(const FloatArray &normalToCrackPlane) override
Definition trplanrot.C:661
virtual ~TrPlaneStrRot()
Definition trplanrot.h:64
void computeNmatrixAt(const FloatArray &iLocCoord, FloatMatrix &answer) override
Definition trplanrot.C:244
FloatArray GivePitch()
Definition trplanrot.C:357
static ParamKey IPK_TrPlaneStrRot_niprot
Definition trplanrot.h:61
void giveDofManDofIDMask(int inode, IntArray &) const override
Definition trplanrot.C:606
MaterialMode giveMaterialMode() override
Definition trplanrot.h:85
virtual void giveNodeCoordinates(FloatArray &x, FloatArray &y)
Definition trplanrot.C:334
TrPlaneStrRot(int, Domain *)
Definition trplanrot.C:57
FloatArray GiveDerivativeVY(const FloatArray &lCoords)
Definition trplanrot.C:523
const char * giveClassName() const override
Definition trplanrot.h:82
void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int=1, int=ALL_STRAINS) override
Definition trplanrot.C:79
const char * giveInputRecordName() const override
Definition trplanrot.h:81
int computeNumberOfDofs() override
Definition trplanrot.h:89
void initializeFrom(InputRecord &ir, int priority) override
Definition trplanrot.C:564
double giveArea() override
Definition trplanrot.C:306
void computeBodyLoadVectorAt(FloatArray &answer, Load *forLoad, TimeStep *tStep, ValueModeType mode) override
Definition trplanrot.C:613
void computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep) override
Definition trplanrot.C:598
FloatArray GiveDerivativeUY(const FloatArray &lCoords)
Definition trplanrot.C:482
FloatArray GiveDerivativeVX(const FloatArray &lCoords)
Definition trplanrot.C:441
void computeGaussPoints() override
Definition trplanrot.C:67
int testElementExtension(ElementExtension ext) override
Definition trplanrot.h:101
TrPlaneStress2d(int n, Domain *d)
Definition trplanstrss.C:58
#define ALL_STRAINS
#define _IFT_TrPlaneStrRot_Name
Definition trplanrot.h:42

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