OOFEM 3.0
Loading...
Searching...
No Matches
tr2shell7.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 Tr2Shell7_h
36#define Tr2Shell7_h
37
42
43#define _IFT_Tr2Shell7_Name "tr2shell7"
44
45namespace oofem {
46class FEI3dTrQuad;
47class BoundaryLoad;
48
64
65class Tr2Shell7 : public Shell7Base
66{
67protected:
72
73 const IntArray &giveOrderingDofTypes() const override;
74 const IntArray &giveOrderingNodes() const override;
75 const IntArray &giveOrderingEdgeNodes() const override;
76
77 //specific
78 void giveSurfaceDofMapping(IntArray &answer, int iSurf) const override;
79 void giveEdgeDofMapping(IntArray &answer, int iEdge) const override;
80
81 double computeVolumeAroundLayer(GaussPoint *mastergp, int layer) override;
82 double computeAreaAround(GaussPoint *gp, double xi) override;
83 void computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep) override
84 { OOFEM_ERROR("calling of this function is not allowed"); }
85 void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) override
86 { OOFEM_ERROR("calling of this funciton is not allowed"); }
87
88 void computeGaussPoints() override;
89 //only used for debuging
90 void compareMatrices(const FloatMatrix &matrix1, const FloatMatrix &matrix2, FloatMatrix &answer);
91
92 FEInterpolation *giveInterpolation() const override;
93
94public:
95 Tr2Shell7(int n, Domain * d); // constructor
96 virtual ~Tr2Shell7() { } // destructor -> declaring as virtual will make each subclass call their respective destr.
97 // definition & identification
98 int giveNumberOfDofs() override { return 42; }
99 int giveNumberOfEdgeDofs() override { return 21; }
100 int giveNumberOfEdgeDofManagers() override { return 3; }
101 const char *giveInputRecordName() const override { return _IFT_Tr2Shell7_Name; }
102 const char *giveClassName() const override { return "Tr2Shell7"; }
103 //Element_Geometry_Type giveGeometryType() const override { return EGT_triangle_2; }
104 Element_Geometry_Type giveGeometryType() const override { return EGT_Composite; }
105 integrationDomain giveIntegrationDomain() const override { return _Triangle; } // write new wedge-like type 'layeredWedge'
106
107 void giveBoundaryLocationArray(IntArray &locationArray, const IntArray &bNodes, const UnknownNumberingScheme &s, IntArray *dofIdArray) override;
108};
109} // end namespace oofem
110#endif
Shell7Base(int n, Domain *d)
Definition shell7base.C:63
void giveBoundaryLocationArray(IntArray &locationArray, const IntArray &bNodes, const UnknownNumberingScheme &s, IntArray *dofIdArray) override
Definition tr2shell7.C:109
virtual ~Tr2Shell7()
Definition tr2shell7.h:96
int giveNumberOfEdgeDofs() override
Definition tr2shell7.h:99
void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) override
Definition tr2shell7.h:85
const char * giveClassName() const override
Definition tr2shell7.h:102
void compareMatrices(const FloatMatrix &matrix1, const FloatMatrix &matrix2, FloatMatrix &answer)
Definition tr2shell7.C:204
const IntArray & giveOrderingEdgeNodes() const override
Definition tr2shell7.C:80
integrationDomain giveIntegrationDomain() const override
Definition tr2shell7.h:105
void computeGaussPoints() override
Definition tr2shell7.C:90
void giveSurfaceDofMapping(IntArray &answer, int iSurf) const override
Definition tr2shell7.C:165
static IntArray orderingDofTypes
Definition tr2shell7.h:69
Tr2Shell7(int n, Domain *d)
Definition tr2shell7.C:62
const IntArray & giveOrderingDofTypes() const override
Definition tr2shell7.C:69
static IntArray orderingEdgeNodes
Definition tr2shell7.h:71
const char * giveInputRecordName() const override
Definition tr2shell7.h:101
static FEI3dTrQuad interpolation
Definition tr2shell7.h:68
void giveEdgeDofMapping(IntArray &answer, int iEdge) const override
Definition tr2shell7.C:145
void computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep) override
Definition tr2shell7.h:83
double computeAreaAround(GaussPoint *gp, double xi) override
Definition tr2shell7.C:175
double computeVolumeAroundLayer(GaussPoint *mastergp, int layer) override
Definition tr2shell7.C:194
Element_Geometry_Type giveGeometryType() const override
Definition tr2shell7.h:104
int giveNumberOfEdgeDofManagers() override
Definition tr2shell7.h:100
int giveNumberOfDofs() override
Definition tr2shell7.h:98
static IntArray orderingNodes
Definition tr2shell7.h:70
FEInterpolation * giveInterpolation() const override
Definition tr2shell7.C:85
const IntArray & giveOrderingNodes() const override
Definition tr2shell7.C:75
#define OOFEM_ERROR(...)
Definition error.h:79
#define _IFT_Tr2Shell7_Name
Definition tr2shell7.h:43

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