OOFEM 3.0
Loading...
Searching...
No Matches
brick1_ht.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 brick1_ht_h
36#define brick1_ht_h
37
39#include "spatiallocalizer.h"
43
44#define _IFT_Brick1_ht_Name "brick1ht"
45#define _IFT_Brick1_hmt_Name "brick1hmt"
46#define _IFT_Brick1_mt_Name "brick1mt"
47
48namespace oofem {
49class FEI3dHexaLin;
50
55{
56protected:
58
59public:
60 Brick1_ht(int n, Domain * d);
61
62 double computeVolumeAround(GaussPoint *gp) override;
63 FEInterpolation *giveInterpolation() const override;
64
65 // definition & identification
66 const char *giveInputRecordName() const override { return _IFT_Brick1_ht_Name; }
67 const char *giveClassName() const override { return "Brick1_ht"; }
68
69 int computeNumberOfDofs() override { return 8; }
70 void initializeFrom(InputRecord &ir, int priority) override;
71 MaterialMode giveMaterialMode() override { return _3dHeat; }
72 Element_Geometry_Type giveGeometryType() const override {return EGT_hexa_1;}
73
74
77 { return ( ext == Element_EdgeLoadSupport ) || ( ext == Element_SurfaceLoadSupport ); }
78
80 void SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(IntArray &answer, int pap) override;
83
84#ifdef __OOFEG
85 // Graphics output
86 void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep) override;
87 void drawScalar(oofegGraphicContext &gc, TimeStep *tStep) override;
88 //void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep) override {}
89 //void drawDeformedGeometry(oofegGraphicContext &gc, TimeStep *tStep, UnknownType) override {}
90#endif
91
92protected:
93 void computeGaussPoints() override;
94 double computeEdgeVolumeAround(GaussPoint *gp, int iEdge) override;
95 double computeSurfaceVolumeAround(GaussPoint *gp, int iEdge) override;
96};
97
101class Brick1_hmt : public Brick1_ht
102{
103public:
104 Brick1_hmt(int n, Domain * d);
105
106 const char *giveInputRecordName() const override { return _IFT_Brick1_hmt_Name; }
107 const char *giveClassName() const override { return "Brick1_hmt"; }
108 int computeNumberOfDofs() override { return 16; }
109 MaterialMode giveMaterialMode() override { return _3dHeMo; }
110};
111
115class Brick1_mt : public Brick1_ht
116{
117public:
118 Brick1_mt(int n, Domain * d);
119
120 const char *giveInputRecordName() const override { return _IFT_Brick1_mt_Name; }
121 const char *giveClassName() const override { return "Brick1_mt"; }
122 int computeNumberOfDofs() override { return 8; }
123 MaterialMode giveMaterialMode() override { return _3dHeat; }
124};
125} // end namespace oofem
126#endif // brick1_ht_h
#define _IFT_Brick1_mt_Name
Definition brick1_ht.h:46
#define _IFT_Brick1_ht_Name
Definition brick1_ht.h:44
#define _IFT_Brick1_hmt_Name
Definition brick1_ht.h:45
MaterialMode giveMaterialMode() override
Definition brick1_ht.h:109
const char * giveInputRecordName() const override
Definition brick1_ht.h:106
int computeNumberOfDofs() override
Definition brick1_ht.h:108
Brick1_hmt(int n, Domain *d)
Definition brick1_ht.C:67
const char * giveClassName() const override
Definition brick1_ht.h:107
void drawScalar(oofegGraphicContext &gc, TimeStep *tStep) override
Definition brick1_ht.C:212
void SPRNodalRecoveryMI_giveSPRAssemblyPoints(IntArray &pap) override
Definition brick1_ht.C:142
int computeNumberOfDofs() override
Definition brick1_ht.h:69
FEInterpolation * giveInterpolation() const override
Definition brick1_ht.C:78
void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep) override
Definition brick1_ht.C:184
const char * giveInputRecordName() const override
Definition brick1_ht.h:66
static FEI3dHexaLin interpolation
Definition brick1_ht.h:57
Element_Geometry_Type giveGeometryType() const override
Definition brick1_ht.h:72
double computeSurfaceVolumeAround(GaussPoint *gp, int iEdge) override
Definition brick1_ht.C:118
void SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(IntArray &answer, int pap) override
Definition brick1_ht.C:151
int SPRNodalRecoveryMI_giveNumberOfIP() override
Definition brick1_ht.C:170
MaterialMode giveMaterialMode() override
Definition brick1_ht.h:71
Brick1_ht(int n, Domain *d)
Definition brick1_ht.C:61
void computeGaussPoints() override
Definition brick1_ht.C:81
double computeEdgeVolumeAround(GaussPoint *gp, int iEdge) override
Definition brick1_ht.C:109
const char * giveClassName() const override
Definition brick1_ht.h:67
double computeVolumeAround(GaussPoint *gp) override
Definition brick1_ht.C:99
SPRPatchType SPRNodalRecoveryMI_givePatchType() override
Definition brick1_ht.C:177
void initializeFrom(InputRecord &ir, int priority) override
Definition brick1_ht.C:92
int testElementExtension(ElementExtension ext) override
Definition brick1_ht.h:76
Interface * giveInterface(InterfaceType t) override
Definition brick1_ht.C:126
const char * giveClassName() const override
Definition brick1_ht.h:121
MaterialMode giveMaterialMode() override
Definition brick1_ht.h:123
int computeNumberOfDofs() override
Definition brick1_ht.h:122
Brick1_mt(int n, Domain *d)
Definition brick1_ht.C:72
const char * giveInputRecordName() const override
Definition brick1_ht.h:120
SpatialLocalizerInterface(Element *element)
TransportElement(int n, Domain *d, ElementMode em=HeatTransferEM)
ZZNodalRecoveryModelInterface(Element *element)
Constructor.
@ Element_EdgeLoadSupport
Element extension for edge loads.
@ Element_SurfaceLoadSupport
Element extension for surface loads.
oofem::oofegGraphicContext gc[OOFEG_LAST_LAYER]

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