OOFEM 3.0
Loading...
Searching...
No Matches
rershell.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 rershell_h
36#define rershell_h
37
40
41#define _IFT_RerShell_Name "rershell"
42
43namespace oofem {
44#ifndef __CHARTENSOR // termitovo
45 #define __CHARTENSOR
46enum CharTensor {
51
56};
57#endif
58
63class RerShell : public CCTPlate3d
64{
65protected:
66 double Rx, Ry, Rxy;
67
68public:
69 RerShell(int n, Domain * d);
70 virtual ~RerShell() { }
71
72 void computeLumpedMassMatrix(FloatMatrix &answer, TimeStep *tStep) override;
73 void computeMassMatrix(FloatMatrix &answer, TimeStep *tStep) override
74 { computeLumpedMassMatrix(answer, tStep); }
75
76 int giveLocalCoordinateSystem(FloatMatrix &answer) override;
77
78 void giveLocalCoordinates(FloatArray &answer, const FloatArray &global);
79
80 bool computeLocalCoordinates(FloatArray &answer, const FloatArray &gcoords) override;
81 //
82 void giveCharacteristicTensor(FloatMatrix &answer, CharTensor type, GaussPoint *gp, TimeStep *tStep);
83 void printOutputAt(FILE *file, TimeStep *tStep) override;
84
86 bool computeGtoLRotationMatrix(FloatMatrix &answer) override;
87
88 // layered cross section support functions
89 void computeStrainVectorInLayer(FloatArray &answer, const FloatArray &masterGpStrain,
90 GaussPoint *masterGp, GaussPoint *slaveGp, TimeStep *tStep) override;
91
93
94 int computeNumberOfDofs() override { return 18; }
95 void giveDofManDofIDMask(int inode, IntArray &) const override;
96
97 int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override;
98
100 InternalStateType type, TimeStep *tStep) override;
101
102 // io routines
103#ifdef __OOFEG
104 //void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep);
105 //void drawDeformedGeometry(oofegGraphicContext &gc, TimeStep *tStep);
106 //void drawScalar(oofegGraphicContext &gc, TimeStep *tStep) override;
107#endif
108
109 // definition & identification
110 const char *giveInputRecordName() const override { return _IFT_RerShell_Name; }
111 const char *giveClassName() const override { return "RerShell"; }
112
113 void initializeFrom(InputRecord &ir, int priority) override;
114
116 MaterialMode giveMaterialMode() override { return _3dShell; }
117
118protected:
119 void computeBodyLoadVectorAt(FloatArray &answer, Load *load, TimeStep *tStep, ValueModeType mode) override;
120 void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int = 1, int = ALL_STRAINS) override;
121 void computeNmatrixAt(const FloatArray &iLocCoord, FloatMatrix &answer) override;
122 void computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep) override;
123 void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) override;
124 void computeGaussPoints() override;
125 double giveArea();
126};
127} // end namespace oofem
128#endif // rershell_h
virtual const FloatMatrix * computeGtoLRotationMatrix()
Definition cct3d.C:145
CCTPlate3d(int n, Domain *d)
Definition cct3d.C:50
RerShell(int n, Domain *d)
Definition rershell.C:60
integrationDomain giveIntegrationDomain() const override
Definition rershell.h:115
bool computeLocalCoordinates(FloatArray &answer, const FloatArray &gcoords) override
Definition rershell.C:385
double giveArea()
Definition rershell.C:248
void giveDofManDofIDMask(int inode, IntArray &) const override
Definition rershell.C:635
void computeStrainVectorInLayer(FloatArray &answer, const FloatArray &masterGpStrain, GaussPoint *masterGp, GaussPoint *slaveGp, TimeStep *tStep) override
Definition rershell.C:566
Interface * giveInterface(InterfaceType it) override
Definition rershell.C:72
void giveCharacteristicTensor(FloatMatrix &answer, CharTensor type, GaussPoint *gp, TimeStep *tStep)
Definition rershell.C:506
virtual ~RerShell()
Definition rershell.h:70
void giveLocalCoordinates(FloatArray &answer, const FloatArray &global)
Definition rershell.C:491
void computeNmatrixAt(const FloatArray &iLocCoord, FloatMatrix &answer) override
Definition rershell.C:175
void NodalAveragingRecoveryMI_computeNodalValue(FloatArray &answer, int node, InternalStateType type, TimeStep *tStep) override
Definition rershell.C:642
const FloatMatrix * computeGtoLRotationMatrix() override
Definition rershell.h:85
void printOutputAt(FILE *file, TimeStep *tStep) override
Definition rershell.C:591
int computeNumberOfDofs() override
Definition rershell.h:94
const char * giveInputRecordName() const override
Definition rershell.h:110
void computeGaussPoints() override
Definition rershell.C:163
void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int=1, int=ALL_STRAINS) override
Definition rershell.C:87
void computeBodyLoadVectorAt(FloatArray &answer, Load *load, TimeStep *tStep, ValueModeType mode) override
Definition rershell.C:323
void initializeFrom(InputRecord &ir, int priority) override
Definition rershell.C:275
const char * giveClassName() const override
Definition rershell.h:111
void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) override
Definition rershell.C:283
MaterialMode giveMaterialMode() override
Definition rershell.h:116
int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override
Definition rershell.C:650
void computeLumpedMassMatrix(FloatMatrix &answer, TimeStep *tStep) override
Definition rershell.C:295
void computeMassMatrix(FloatMatrix &answer, TimeStep *tStep) override
Definition rershell.h:73
void computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep) override
Definition rershell.C:289
int giveLocalCoordinateSystem(FloatMatrix &answer) override
Definition rershell.C:369
#define _IFT_RerShell_Name
Definition rershell.h:41
#define ALL_STRAINS

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