OOFEM 3.0
Loading...
Searching...
No Matches
qquad1_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 qquad1_ht_h
36#define qquad1_ht_h
37
39#include "spatiallocalizer.h"
43
44#define _IFT_QQuad1_ht_Name "qquad1ht"
45#define _IFT_QQuad1_hmt_Name "qquad1hmt"
46#define _IFT_QQuad1_mt_Name "qquad1mt"
47
48namespace oofem {
49class FEI2dQuadQuad;
50
55{
56protected:
58
59public:
60 QQuad1_ht(int n, Domain * d);
61
62 FEInterpolation *giveInterpolation() const override;
63 double computeVolumeAround(GaussPoint *gp) override;
64
65 const char *giveInputRecordName() const override { return _IFT_QQuad1_ht_Name; }
66 const char *giveClassName() const override { return "QQuad1_ht"; }
67 Element_Geometry_Type giveGeometryType() const override {return EGT_quad_2;}
68
69
70 int computeNumberOfDofs() override { return 4; }
71 void initializeFrom(InputRecord &ir, int priority) override;
72 MaterialMode giveMaterialMode() override { return _2dHeat; }
73 double giveThicknessAt(const FloatArray &gcoords) override;
74
76
78 void SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(IntArray &answer, int pap) override;
81 void NodalAveragingRecoveryMI_computeNodalValue(FloatArray &answer, int node, InternalStateType type, TimeStep *tStep) override;
82
83protected:
84 void computeGaussPoints() override;
85 double computeEdgeVolumeAround(GaussPoint *gp, int iEdge) override;
86};
87
91class QQuad1_hmt : public QQuad1_ht
92{
93public:
94 QQuad1_hmt(int n, Domain * d);
95
96 const char *giveInputRecordName() const override { return _IFT_QQuad1_hmt_Name; }
97 const char *giveClassName() const override { return "QQuad1_hmt"; }
98 int computeNumberOfDofs() override { return 8; }
99 MaterialMode giveMaterialMode() override { return _2dHeMo; }
100};
101
105class QQuad1_mt : public QQuad1_ht
106{
107public:
108 QQuad1_mt(int n, Domain * d);
109
110 const char *giveInputRecordName() const override { return _IFT_QQuad1_mt_Name; }
111 const char *giveClassName() const override { return "QQuad1_mt"; }
112 int computeNumberOfDofs() override { return 4; }
113 MaterialMode giveMaterialMode() override { return _2dHeat; }
114};
115} // end namespace oofem
116#endif // quad1_ht_h
const char * giveClassName() const override
Definition qquad1_ht.h:97
const char * giveInputRecordName() const override
Definition qquad1_ht.h:96
QQuad1_hmt(int n, Domain *d)
Definition qquad1_ht.C:60
MaterialMode giveMaterialMode() override
Definition qquad1_ht.h:99
int computeNumberOfDofs() override
Definition qquad1_ht.h:98
void SPRNodalRecoveryMI_giveSPRAssemblyPoints(IntArray &pap) override
Definition qquad1_ht.C:140
int computeNumberOfDofs() override
Definition qquad1_ht.h:70
const char * giveInputRecordName() const override
Definition qquad1_ht.h:65
double computeVolumeAround(GaussPoint *gp) override
Definition qquad1_ht.C:93
double computeEdgeVolumeAround(GaussPoint *gp, int iEdge) override
Definition qquad1_ht.C:110
Interface * giveInterface(InterfaceType t) override
Definition qquad1_ht.C:124
Element_Geometry_Type giveGeometryType() const override
Definition qquad1_ht.h:67
void computeGaussPoints() override
Definition qquad1_ht.C:75
const char * giveClassName() const override
Definition qquad1_ht.h:66
MaterialMode giveMaterialMode() override
Definition qquad1_ht.h:72
FEInterpolation * giveInterpolation() const override
Definition qquad1_ht.C:72
double giveThicknessAt(const FloatArray &gcoords) override
Definition qquad1_ht.C:103
void initializeFrom(InputRecord &ir, int priority) override
Definition qquad1_ht.C:86
void NodalAveragingRecoveryMI_computeNodalValue(FloatArray &answer, int node, InternalStateType type, TimeStep *tStep) override
Definition qquad1_ht.C:182
void SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(IntArray &answer, int pap) override
Definition qquad1_ht.C:149
int SPRNodalRecoveryMI_giveNumberOfIP() override
Definition qquad1_ht.C:168
QQuad1_ht(int n, Domain *d)
Definition qquad1_ht.C:54
SPRPatchType SPRNodalRecoveryMI_givePatchType() override
Definition qquad1_ht.C:175
static FEI2dQuadQuad interpolation
Definition qquad1_ht.h:57
QQuad1_mt(int n, Domain *d)
Definition qquad1_ht.C:65
MaterialMode giveMaterialMode() override
Definition qquad1_ht.h:113
const char * giveClassName() const override
Definition qquad1_ht.h:111
int computeNumberOfDofs() override
Definition qquad1_ht.h:112
const char * giveInputRecordName() const override
Definition qquad1_ht.h:110
SpatialLocalizerInterface(Element *element)
TransportElement(int n, Domain *d, ElementMode em=HeatTransferEM)
ZZNodalRecoveryModelInterface(Element *element)
Constructor.
#define _IFT_QQuad1_mt_Name
Definition qquad1_ht.h:46
#define _IFT_QQuad1_hmt_Name
Definition qquad1_ht.h:45
#define _IFT_QQuad1_ht_Name
Definition qquad1_ht.h:44

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