OOFEM 3.0
Loading...
Searching...
No Matches
dkt3d.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 dkt3d_h
36#define dkt3d_h
37
38#include "dkt.h"
39#include "floatmatrix.h"
40
41#define _IFT_DKTPlate3d_Name "dktplate3d"
42
43namespace oofem {
44#ifndef __CHARTENSOR
45 #define __CHARTENSOR
57#endif
58
59
70class DKTPlate3d : public DKTPlate
71{
72protected:
78
79public:
80 DKTPlate3d(int n, Domain * d);
81 virtual ~DKTPlate3d() {}
82
83protected:
84 void giveLocalCoordinates(FloatArray &answer, const FloatArray &global);
85 void giveNodeCoordinates(double &x1, double &x2, double &x3,
86 double &y1, double &y2, double &y3,
87 double &z1, double &z2, double &z3) override;
88
89 void giveCharacteristicTensor(FloatMatrix &answer, CharTensor type, GaussPoint *gp, TimeStep *tStep);
90 int computeLoadGToLRotationMtrx(FloatMatrix &answer) override;
91 void computeBodyLoadVectorAt(FloatArray &answer, Load *forLoad, TimeStep *tStep, ValueModeType mode) override;
92
97 void giveEdgeDofMapping(IntArray &answer, int iEdge) const override;
98 double computeEdgeVolumeAround(GaussPoint *gp, int iEdge) override;
99 int computeLoadLEToLRotationMatrix(FloatMatrix &answer, int iEdge, GaussPoint *gp) override;
101
105 void computeSurfaceNMatrixAt(FloatMatrix &answer, int iSurf, GaussPoint *gp);
106 void giveSurfaceDofMapping(IntArray &answer, int iSurf) const override;
107 double computeSurfaceVolumeAround(GaussPoint *gp, int iSurf) override;
108 int computeLoadLSToLRotationMatrix(FloatMatrix &answer, int iSurf, GaussPoint *gp) override;
110
111public:
112 // definition & identification
113 const char *giveClassName() const override { return "DktPlate3d"; }
114 const char *giveInputRecordName() const override { return _IFT_DKTPlate3d_Name; }
115
116 int computeNumberOfDofs() override { return 9; }
117 int computeNumberOfGlobalDofs() override { return 18; }
118 void giveDofManDofIDMask(int inode, IntArray &) const override;
119 int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override;
120
122 bool computeGtoLRotationMatrix(FloatMatrix &answer) override;
123
124 bool computeLocalCoordinates(FloatArray &answer, const FloatArray &gcoords) override;
125 int computeGlobalCoordinates(FloatArray &answer, const FloatArray &lcoords) override;
126
128 {
129 OOFEM_ERROR("calling of this function id not allowed");
130 }
132 { return ( ( ext == Element_SurfaceLoadSupport ) ? 1 : 0 ); }
133
134 void printOutputAt(FILE *file, TimeStep *tStep) override;
135};
136} // end namespace oofem
137#endif // dkt3d_h
int computeLoadLEToLRotationMatrix(FloatMatrix &answer, int iEdge, GaussPoint *gp) override
Definition dkt3d.C:434
bool computeLocalCoordinates(FloatArray &answer, const FloatArray &gcoords) override
Definition dkt3d.C:469
FloatMatrix GtoLRotationMatrix
Definition dkt3d.h:77
void giveSurfaceDofMapping(IntArray &answer, int iSurf) const override
Definition dkt3d.C:310
int computeGlobalCoordinates(FloatArray &answer, const FloatArray &lcoords) override
Definition dkt3d.C:496
const char * giveClassName() const override
Definition dkt3d.h:113
void giveCharacteristicTensor(FloatMatrix &answer, CharTensor type, GaussPoint *gp, TimeStep *tStep)
Definition dkt3d.C:167
int computeLoadLSToLRotationMatrix(FloatMatrix &answer, int iSurf, GaussPoint *gp) override
Definition dkt3d.C:340
void giveLocalCoordinates(FloatArray &answer, const FloatArray &global)
Definition dkt3d.C:55
void printOutputAt(FILE *file, TimeStep *tStep) override
Definition dkt3d.C:346
const char * giveInputRecordName() const override
Definition dkt3d.h:114
const FloatMatrix * computeGtoLRotationMatrix()
Definition dkt3d.C:103
void computeBodyLoadVectorAt(FloatArray &answer, Load *forLoad, TimeStep *tStep, ValueModeType mode) override
Definition dkt3d.C:510
void giveDofManDofIDMask(int inode, IntArray &) const override
Definition dkt3d.C:96
int testElementExtension(ElementExtension ext) override
Definition dkt3d.h:131
int computeNumberOfDofs() override
Definition dkt3d.h:116
double computeEdgeVolumeAround(GaussPoint *gp, int iEdge) override
Definition dkt3d.C:426
int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override
Definition dkt3d.C:222
void giveEdgeDofMapping(IntArray &answer, int iEdge) const override
Definition dkt3d.C:390
double computeSurfaceVolumeAround(GaussPoint *gp, int iSurf) override
Definition dkt3d.C:333
virtual ~DKTPlate3d()
Definition dkt3d.h:81
void computeSurfaceNMatrixAt(FloatMatrix &answer, int iSurf, GaussPoint *gp)
Definition dkt3d.C:288
int giveLocalCoordinateSystem(FloatMatrix &answer) override
Definition dkt3d.h:127
int computeLoadGToLRotationMtrx(FloatMatrix &answer) override
Definition dkt3d.C:269
DKTPlate3d(int n, Domain *d)
Definition dkt3d.C:50
int computeNumberOfGlobalDofs() override
Definition dkt3d.h:117
void giveNodeCoordinates(double &x1, double &x2, double &x3, double &y1, double &y2, double &y3, double &z1, double &z2, double &z3) override
Definition dkt3d.C:71
DKTPlate(int n, Domain *d)
Definition dkt.C:60
#define _IFT_DKTPlate3d_Name
Definition dkt3d.h:41
#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