OOFEM 3.0
Loading...
Searching...
No Matches
cct3d.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 cct3d_h
36#define cct3d_h
37
39#include "floatmatrix.h"
40
41#define _IFT_CCTPlate3d_Name "cctplate3d"
42
43namespace oofem {
44#ifndef __CHARTENSOR
45 #define __CHARTENSOR
57#endif
58
59
72class CCTPlate3d : public CCTPlate
73{
74protected:
80
81public:
82 CCTPlate3d(int n, Domain * d);
83 virtual ~CCTPlate3d() {}
84
85protected:
86 void giveLocalCoordinates(FloatArray &answer, const FloatArray &global);
87 void giveNodeCoordinates(double &x1, double &x2, double &x3,
88 double &y1, double &y2, double &y3,
89 double &z1, double &z2, double &z3) override;
90
91 void giveCharacteristicTensor(FloatMatrix &answer, CharTensor type, GaussPoint *gp, TimeStep *tStep);
92 int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override;
93 int computeLoadGToLRotationMtrx(FloatMatrix &answer) override;
94 void computeBodyLoadVectorAt(FloatArray &answer, Load *forLoad, TimeStep *tStep, ValueModeType mode) override;
95
96 friend class TR_SHELL01;
101 void computeSurfaceNMatrixAt(FloatMatrix &answer, int iSurf, GaussPoint *gp);
102 void giveSurfaceDofMapping(IntArray &answer, int iSurf) const override;
103 double computeSurfaceVolumeAround(GaussPoint *gp, int iSurf) override;
104 int computeLoadLSToLRotationMatrix(FloatMatrix &answer, int iSurf, GaussPoint *gp) override;
106
107public:
108 // definition & identification
109 const char *giveClassName() const override { return "CCTPlate3d"; }
110 const char *giveInputRecordName() const override { return _IFT_CCTPlate3d_Name; }
111
112 int computeNumberOfDofs() override { return 9; }
113 int computeNumberOfGlobalDofs() override { return 18; }
114 void giveDofManDofIDMask(int inode, IntArray &) const override;
115
116 virtual const FloatMatrix *computeGtoLRotationMatrix();
117 bool computeGtoLRotationMatrix(FloatMatrix &answer) override;
118
119 bool computeLocalCoordinates(FloatArray &answer, const FloatArray &gcoords) override;
120 int computeGlobalCoordinates(FloatArray &answer, const FloatArray &lcoords) override;
121
123 {
124 OOFEM_ERROR("calling of this function id not allowed");
125 }
127 { return ( ( ext == Element_SurfaceLoadSupport ) ? 1 : 0 ); }
128
129 void printOutputAt(FILE *file, TimeStep *tStep) override;
130};
131} // end namespace oofem
132#endif // cct3d_h
#define _IFT_CCTPlate3d_Name
Definition cct3d.h:41
int testElementExtension(ElementExtension ext) override
Definition cct3d.h:126
void giveLocalCoordinates(FloatArray &answer, const FloatArray &global)
Definition cct3d.C:55
FloatMatrix GtoLRotationMatrix
Definition cct3d.h:79
void giveSurfaceDofMapping(IntArray &answer, int iSurf) const override
Definition cct3d.C:410
void giveCharacteristicTensor(FloatMatrix &answer, CharTensor type, GaussPoint *gp, TimeStep *tStep)
Definition cct3d.C:209
int computeLoadGToLRotationMtrx(FloatMatrix &answer) override
Definition cct3d.C:311
void computeSurfaceNMatrixAt(FloatMatrix &answer, int iSurf, GaussPoint *gp)
Definition cct3d.C:388
int computeNumberOfGlobalDofs() override
Definition cct3d.h:113
const char * giveClassName() const override
Definition cct3d.h:109
virtual const FloatMatrix * computeGtoLRotationMatrix()
Definition cct3d.C:145
int computeGlobalCoordinates(FloatArray &answer, const FloatArray &lcoords) override
Definition cct3d.C:130
void printOutputAt(FILE *file, TimeStep *tStep) override
Definition cct3d.C:446
int giveLocalCoordinateSystem(FloatMatrix &answer) override
Definition cct3d.h:122
int computeNumberOfDofs() override
Definition cct3d.h:112
double computeSurfaceVolumeAround(GaussPoint *gp, int iSurf) override
Definition cct3d.C:433
void giveDofManDofIDMask(int inode, IntArray &) const override
Definition cct3d.C:96
void giveNodeCoordinates(double &x1, double &x2, double &x3, double &y1, double &y2, double &y3, double &z1, double &z2, double &z3) override
Definition cct3d.C:71
friend class TR_SHELL01
Definition cct3d.h:96
virtual ~CCTPlate3d()
Definition cct3d.h:83
bool computeLocalCoordinates(FloatArray &answer, const FloatArray &gcoords) override
Definition cct3d.C:103
const char * giveInputRecordName() const override
Definition cct3d.h:110
int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override
Definition cct3d.C:264
int computeLoadLSToLRotationMatrix(FloatMatrix &answer, int iSurf, GaussPoint *gp) override
Definition cct3d.C:440
CCTPlate3d(int n, Domain *d)
Definition cct3d.C:50
void computeBodyLoadVectorAt(FloatArray &answer, Load *forLoad, TimeStep *tStep, ValueModeType mode) override
Definition cct3d.C:330
CCTPlate(int n, Domain *d)
Definition cct.C:61
#define OOFEM_ERROR(...)
Definition error.h:79
@ Element_SurfaceLoadSupport
Element extension for surface loads.

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