OOFEM 3.0
Loading...
Searching...
No Matches
tr2shell7xfem.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 Tr2Shell7XFEM_h
36#define Tr2Shell7XFEM_h
37
42
43#define _IFT_Tr2Shell7XFEM_Name "tr2shell7xfem"
44
45namespace oofem {
46class FEI3dTrQuad;
47class BoundaryLoad;
48
57{
58protected:
63
64 const IntArray &giveOrderingDofTypes() const override;
65 const IntArray &giveOrderingNodes() const override;
66 const IntArray &giveOrderingEdgeNodes() const override;
67 void giveSurfaceDofMapping(IntArray &answer, int iSurf) const override;
68 void giveEdgeDofMapping(IntArray &answer, int iEdge) const override;
69
70 double computeVolumeAroundLayer(GaussPoint *mastergp, int layer) override;
71 double computeAreaAround(GaussPoint *gp, double xi) override;
72
73 void computeGaussPoints() override;
75 void computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep) override
76 { OOFEM_ERROR("calling of this function is not allowed"); }
77 void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) override
78 { OOFEM_ERROR("calling of this funciton is not allowed"); }
79
80 virtual void giveLocalNodeCoords(FloatArray &nodeLocalXiCoords, FloatArray &nodeLocalEtaCoords);
81
82 FEInterpolation *giveInterpolation() const override;
83 double computeArea() override;
84 // VTK
85 void vtkGiveUpdatedFictiousNodeCoords(FloatArray nodeCoords [ 15 ], int layer, TimeStep *tStep);
86
87public:
88 Tr2Shell7XFEM(int n, Domain * d);
89 virtual ~Tr2Shell7XFEM() { } // destructor -> declaring as virtual will make each subclass call their respective destr.
90 // definition & identification
91 int giveNumberOfEdgeDofs() override { return 21; }
92 int giveNumberOfEdgeDofManagers() override { return 3; }
93 const char *giveInputRecordName() const override { return _IFT_Tr2Shell7XFEM_Name; }
94 const char *giveClassName() const override { return "Tr2Shell7XFEM"; }
95
96 Element_Geometry_Type giveGeometryType() const override { return EGT_Composite; }
97 integrationDomain giveIntegrationDomain() const override { return _Triangle; } // write new wedge-like type 'layeredWedge'
98};
99} // end namespace oofem
100#endif
Shell7BaseXFEM(int n, Domain *d)
virtual void giveLocalNodeCoords(FloatArray &nodeLocalXiCoords, FloatArray &nodeLocalEtaCoords)
double computeArea() override
void giveEdgeDofMapping(IntArray &answer, int iEdge) const override
double computeVolumeAroundLayer(GaussPoint *mastergp, int layer) override
const IntArray & giveOrderingNodes() const override
Tr2Shell7XFEM(int n, Domain *d)
FEInterpolation * giveInterpolation() const override
bool updateIntegrationRuleMultiCrack()
Element_Geometry_Type giveGeometryType() const override
void computeGaussPoints() override
void vtkGiveUpdatedFictiousNodeCoords(FloatArray nodeCoords[15], int layer, TimeStep *tStep)
static IntArray orderingEdgeNodes
int giveNumberOfEdgeDofManagers() override
const char * giveInputRecordName() const override
void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) override
static FEI3dTrQuad interpolation
const IntArray & giveOrderingEdgeNodes() const override
static IntArray orderingNodes
const char * giveClassName() const override
static IntArray orderingDofTypes
const IntArray & giveOrderingDofTypes() const override
void giveSurfaceDofMapping(IntArray &answer, int iSurf) const override
void computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep) override
int giveNumberOfEdgeDofs() override
double computeAreaAround(GaussPoint *gp, double xi) override
integrationDomain giveIntegrationDomain() const override
#define OOFEM_ERROR(...)
Definition error.h:79
#define _IFT_Tr2Shell7XFEM_Name

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