OOFEM 3.0
Loading...
Searching...
No Matches
trplanrot3d.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 trplanrot3d_h
36#define trplanrot3d_h
37
39
40#define _IFT_TrPlaneStrRot3d_Name "trplanestrrot3d"
41
42namespace oofem {
43#ifndef __CHARTENSOR
44 #define __CHARTENSOR
56#endif
57
69{
70protected:
76
77 void giveLocalCoordinates(FloatArray &answer, const FloatArray &global);
78 void giveNodeCoordinates(FloatArray &x, FloatArray &y) override;
79
80 double computeVolumeAround(GaussPoint *gp) override;
81 void giveCharacteristicTensor(FloatMatrix &answer, CharTensor type, GaussPoint *gp, TimeStep *tStep);
82 int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override;
83 int computeLoadGToLRotationMtrx(FloatMatrix &answer) override;
84 void computeBodyLoadVectorAt(FloatArray &answer, Load *forLoad, TimeStep *tStep, ValueModeType mode) override;
85
86 friend class TR_SHELL01;
91 void computeSurfaceNMatrixAt(FloatMatrix &answer, int iSurf, GaussPoint *gp);
92 void giveSurfaceDofMapping(IntArray &answer, int iSurf) const override;
93 double computeSurfaceVolumeAround(GaussPoint *gp, int iSurf) override;
94 int computeLoadLSToLRotationMatrix(FloatMatrix &answer, int iSurf, GaussPoint *gp) override;
96
97public:
98 TrPlaneStrRot3d(int n, Domain * d);
99 virtual ~TrPlaneStrRot3d() { }
100
101 // definition & identification
102 const char *giveInputRecordName() const override { return _IFT_TrPlaneStrRot3d_Name; }
103 const char *giveClassName() const override { return "TrPlaneStrRot3d"; }
104
105 int computeNumberOfDofs() override { return 9; }
106 int computeNumberOfGlobalDofs() override { return 18; }
107 void giveDofManDofIDMask(int inode, IntArray &) const override;
108
110 bool computeGtoLRotationMatrix(FloatMatrix &answer) override;
112 { return ( ( ext == Element_SurfaceLoadSupport ) ? 1 : 0 ); }
113
114 void printOutputAt(FILE *file, TimeStep *tStep) override;
115};
116} // end namespace oofem
117#endif // trplanrot3d_h
void printOutputAt(FILE *file, TimeStep *tStep) override
void giveNodeCoordinates(FloatArray &x, FloatArray &y) override
Definition trplanrot3d.C:93
int computeNumberOfGlobalDofs() override
int testElementExtension(ElementExtension ext) override
int computeLoadLSToLRotationMatrix(FloatMatrix &answer, int iSurf, GaussPoint *gp) override
const FloatMatrix * computeGtoLRotationMatrix()
void computeSurfaceNMatrixAt(FloatMatrix &answer, int iSurf, GaussPoint *gp)
void giveDofManDofIDMask(int inode, IntArray &) const override
int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override
int computeNumberOfDofs() override
void giveLocalCoordinates(FloatArray &answer, const FloatArray &global)
Definition trplanrot3d.C:56
double computeVolumeAround(GaussPoint *gp) override
Definition trplanrot3d.C:78
const char * giveInputRecordName() const override
const char * giveClassName() const override
TrPlaneStrRot3d(int n, Domain *d)
Definition trplanrot3d.C:50
int computeLoadGToLRotationMtrx(FloatMatrix &answer) override
friend class TR_SHELL01
Definition trplanrot3d.h:86
void computeBodyLoadVectorAt(FloatArray &answer, Load *forLoad, TimeStep *tStep, ValueModeType mode) override
FloatMatrix GtoLRotationMatrix
Definition trplanrot3d.h:75
double computeSurfaceVolumeAround(GaussPoint *gp, int iSurf) override
void giveCharacteristicTensor(FloatMatrix &answer, CharTensor type, GaussPoint *gp, TimeStep *tStep)
void giveSurfaceDofMapping(IntArray &answer, int iSurf) const override
TrPlaneStrRot(int, Domain *)
Definition trplanrot.C:57
@ Element_SurfaceLoadSupport
Element extension for surface loads.
#define _IFT_TrPlaneStrRot3d_Name
Definition trplanrot3d.h:40

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