MBDyn-1.7.3
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
therm.h
Go to the documentation of this file.
1
/*
2
* MBDyn (C) is a multibody analysis code.
3
* http://www.mbdyn.org
4
*
5
* Copyright (C) 1996-2005
6
*
7
* Pierangelo Masarati <masarati@aero.polimi.it>
8
* Paolo Mantegazza <mantegazza@aero.polimi.it>
9
*
10
* Dipartimento di Ingegneria Aerospaziale - Politecnico di Milano
11
* via La Masa, 34 - 20156 Milano, Italy
12
* http://www.aero.polimi.it
13
*
14
* Changing this copyright notice is forbidden.
15
*
16
* This program is free software; you can redistribute it and/or modify
17
* it under the terms of the GNU General Public License as published by
18
* the Free Software Foundation (version 2 of the License).
19
*
20
*
21
* This program is distributed in the hope that it will be useful,
22
* but WITHOUT ANY WARRANTY; without even the implied warranty of
23
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24
* GNU General Public License for more details.
25
*
26
* You should have received a copy of the GNU General Public License
27
* along with this program; if not, write to the Free Software
28
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
29
*/
30
31
/* elementi elettrici, tipo: Elem::ELECTRIC */
32
33
#ifndef THERM_H
34
#define THERM_H
35
36
#include "
elem.h
"
37
38
/* Electric - begin */
39
40
class
Thermal
:
virtual
public
Elem
,
public
ElemWithDofs
{
41
public
:
42
/* Tipi di elementi elettrici */
43
enum
Type
{
44
UNKNOWN
= -1,
45
46
THERMALRESISTANCE
= 0,
47
THERMALCAPACITANCE
,
48
THERMALSOURCE
,
49
50
LASTTHERMLATYPE
51
};
52
53
public
:
54
Thermal
(
unsigned
int
uL,
55
const
DofOwner
* pDO,
flag
fOut);
56
virtual
~Thermal
(
void
);
57
58
/* Contributo al file di restart
59
* (Nota: e' incompleta, deve essere chiamata dalla funzione corrispndente
60
* relativa alla classe derivata */
61
virtual
std::ostream&
Restart
(std::ostream& out)
const
;
62
63
/* Tipo dell'elemento (usato solo per debug ecc.) */
64
virtual
Elem::Type
GetElemType
(
void
)
const
;
65
66
/* Tipo di elemento elettrico (usato solo per debug ecc.) */
67
virtual
Thermal::Type
GetThermalType
(
void
)
const
= 0;
68
};
69
70
/* Electric - end */
71
72
class
DataManager
;
73
class
MBDynParser
;
74
75
extern
Elem
*
ReadThermal
(
DataManager
*
pDM
,
76
MBDynParser
& HP,
77
const
DofOwner
* pDO,
78
unsigned
int
uLabel);
79
80
#endif
/* ELEC_H */
81
flag
long int flag
Definition:
mbdyn.h:43
Thermal::Thermal
Thermal(unsigned int uL, const DofOwner *pDO, flag fOut)
Definition:
therm.cc:45
ReadThermal
Elem * ReadThermal(DataManager *pDM, MBDynParser &HP, const DofOwner *pDO, unsigned int uLabel)
Definition:
therm.cc:82
Thermal::UNKNOWN
Definition:
therm.h:44
Thermal::~Thermal
virtual ~Thermal(void)
Definition:
therm.cc:54
Thermal
Definition:
therm.h:40
elem.h
DataManager
Definition:
dataman.h:85
Thermal::THERMALCAPACITANCE
Definition:
therm.h:47
MBDynParser
Definition:
mbpar.h:129
DofOwner
Definition:
dofown.h:68
Thermal::Restart
virtual std::ostream & Restart(std::ostream &out) const
Definition:
therm.cc:63
Thermal::Type
Type
Definition:
therm.h:43
Thermal::THERMALSOURCE
Definition:
therm.h:48
MBDynParser::pDM
DataManager * pDM
Definition:
mbpar.h:252
Thermal::LASTTHERMLATYPE
Definition:
therm.h:50
Thermal::GetThermalType
virtual Thermal::Type GetThermalType(void) const =0
ElemWithDofs
Definition:
elem.h:278
Elem
Definition:
elem.h:75
Elem::Type
Type
Definition:
elem.h:91
Thermal::GetElemType
virtual Elem::Type GetElemType(void) const
Definition:
therm.cc:69
Thermal::THERMALRESISTANCE
Definition:
therm.h:46
mbdyn
thermo
therm.h
Generated on Fri Apr 13 2018 10:19:38 for MBDyn-1.7.3 by
1.8.7