OOFEM 3.0
Loading...
Searching...
No Matches
line1_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 line1_ht_h
36#define line1_ht_h
37
39#include "spatiallocalizer.h"
41
42#define _IFT_Line1_hmt_Name "line1hmt"
43#define _IFT_Line1_ht_Name "line1ht"
44#define _IFT_Line1_mt_Name "line1mt"
45
46namespace oofem {
47class FEI3dLineLin;
48
53{
54protected:
56
57public:
58 Line1_ht(int n, Domain * d);
59
60 double computeVolumeAround(GaussPoint *gp) override;
61
62 // definition
63 const char *giveInputRecordName() const override { return _IFT_Line1_ht_Name; }
64 const char *giveClassName() const override { return "Line1_htElement"; }
65
66 int computeNumberOfDofs() override { return ( emode == HeatMass1TransferEM ) ? 4 : 2; }
67 void initializeFrom(InputRecord &ir, int priority) override;
68 MaterialMode giveMaterialMode() override { return _3dHeat; }
69 Element_Geometry_Type giveGeometryType() const override {return EGT_line_1;}
70
71
73
74 FEInterpolation *giveInterpolation() const override;
75
76#ifdef __OOFEG
77 // Graphics output
78 //void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep) override {}
79 //void drawDeformedGeometry(oofegGraphicContext &gc, TimeStep *tStep, UnknownType) override {}
80#endif
81
82protected:
83 void computeGaussPoints() override;
84};
85
89class Line1_mt : public Line1_ht
90{
91public:
92 Line1_mt(int n, Domain * d);
93
94 const char *giveInputRecordName() const override { return _IFT_Line1_mt_Name; }
95 const char *giveClassName() const override { return "Line1_mt"; }
96 MaterialMode giveMaterialMode() override { return _3dHeat; }
97};
98
99
103class Line1_hmt : public Line1_ht
104{
105public:
106 Line1_hmt(int n, Domain * d);
107
108 const char *giveInputRecordName() const override { return _IFT_Line1_hmt_Name; }
109 const char *giveClassName() const override { return "Line1_hmt"; }
110 MaterialMode giveMaterialMode() override { return _3dHeMo; }
111};
112} // end namespace oofem
113#endif // line1_ht_h
const char * giveClassName() const override
Definition line1_ht.h:109
const char * giveInputRecordName() const override
Definition line1_ht.h:108
Line1_hmt(int n, Domain *d)
Definition line1_ht.C:61
MaterialMode giveMaterialMode() override
Definition line1_ht.h:110
Interface * giveInterface(InterfaceType t) override
Definition line1_ht.C:103
const char * giveInputRecordName() const override
Definition line1_ht.h:63
static FEI3dLineLin interp
Definition line1_ht.h:55
FEInterpolation * giveInterpolation() const override
Definition line1_ht.C:73
Line1_ht(int n, Domain *d)
Definition line1_ht.C:54
MaterialMode giveMaterialMode() override
Definition line1_ht.h:68
const char * giveClassName() const override
Definition line1_ht.h:64
Element_Geometry_Type giveGeometryType() const override
Definition line1_ht.h:69
int computeNumberOfDofs() override
Definition line1_ht.h:66
void computeGaussPoints() override
Definition line1_ht.C:76
double computeVolumeAround(GaussPoint *gp) override
Definition line1_ht.C:94
void initializeFrom(InputRecord &ir, int priority) override
Definition line1_ht.C:87
const char * giveInputRecordName() const override
Definition line1_ht.h:94
const char * giveClassName() const override
Definition line1_ht.h:95
MaterialMode giveMaterialMode() override
Definition line1_ht.h:96
Line1_mt(int n, Domain *d)
Definition line1_ht.C:66
SpatialLocalizerInterface(Element *element)
TransportElement(int n, Domain *d, ElementMode em=HeatTransferEM)
ZZNodalRecoveryModelInterface(Element *element)
Constructor.
#define _IFT_Line1_ht_Name
Definition line1_ht.h:43
#define _IFT_Line1_hmt_Name
Definition line1_ht.h:42
#define _IFT_Line1_mt_Name
Definition line1_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