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 #include "mbconfig.h" /* This goes first in every *.c,*.cc file */
32
33 #include "mynewmem.h"
34 #include "thermalnode.h"
35 #include "solman.h"
36
37
38 /* ThermalNode - begin */
39
40 /* Costruttore */
ThermalNode(unsigned int uL,const DofOwner * pDO,doublereal dx,doublereal dxp,flag fOut)41 ThermalNode::ThermalNode(unsigned int uL,
42 const DofOwner* pDO,
43 doublereal dx,
44 doublereal dxp,
45 flag fOut)
46 : ScalarDifferentialNode(uL, pDO, dx, dxp, fOut)
47 {
48 NO_OP;
49 }
50
51 /* Distruttore (per ora e' banale) */
~ThermalNode(void)52 ThermalNode::~ThermalNode(void)
53 {
54 NO_OP;
55 }
56
57 /* Tipo di nodo */
58 Node::Type
GetNodeType(void) const59 ThermalNode::GetNodeType(void) const
60 {
61 return Node::THERMAL;
62 }
63
64 /* Output */
65 void
Output(OutputHandler & OH) const66 ThermalNode::Output(OutputHandler& OH) const
67 {
68 ScalarDifferentialNode::Output(OH.Get(OutputHandler::THERMALNODES));
69 }
70
71 /* ThermalNode - end */
72