Itasca C++ Interface
Loading...
Searching...
No Matches
ibodythermal.h
1#pragma once
2// ibodythermal.h
3
4// Interface for functionality of all thermal bodies.
5
6namespace itascaxd {
7 class IBody;
8 class IPieceThermal;
9
11 public:
13 inline static const TType type_ = 0x4f6358d0;
15 virtual const IBody *getIBody() const=0;
17 virtual IBody *getIBody()=0;
19 virtual IBody *getBodyMech()=0;
21 virtual const IBody *getBodyMech() const=0;
23 virtual QVariant getPieceProperty(const QString &name,const IPiece *p=0) const=0;
25 virtual double getTemperature() const=0;
27 virtual double getSpecificHeat() const=0;
29 virtual double getExpCoef() const=0;
31 virtual double getAppliedPower() const=0;
33 virtual bool getFix() const=0;
35 virtual QString getFixLabel() const=0;
37 virtual double getTempInc() const=0;
39 virtual double getPower() const=0;
40
42 virtual bool setPieceProperty(const QString &name,const QVariant &v,IPiece *p=0) =0;
44 virtual void setTemperature(const double &d) =0;
46 virtual void setSpecificHeat(const double &d) =0;
48 virtual void setExpCoef(const double &d) =0;
50 virtual void setAppliedPower(const double &d) =0;
52 virtual void setFix(bool b) =0;
54 virtual void setTempInc(const double &d) =0;
56 virtual void setPower(const double &d) =0;
57
58 };
59} // namespace itascaxd
60
61// EoF
Definition ibody.h:20
Definition ibodythermal.h:10
virtual void setSpecificHeat(const double &d)=0
Set the specific heat at constant volume.
virtual double getExpCoef() const =0
Return the coefficient of linear expansion.
virtual void setTemperature(const double &d)=0
Set the temperature.
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition ibodythermal.h:13
virtual bool setPieceProperty(const QString &name, const QVariant &v, IPiece *p=0)=0
Set the property name.
virtual double getSpecificHeat() const =0
Return the specific heat at constant volume.
virtual void setPower(const double &d)=0
Set the out-of-balance power.
virtual QString getFixLabel() const =0
Return the fixity label.
virtual const IBody * getIBody() const =0
Return the IBody pointer.
virtual double getPower() const =0
Return the out-of-balance power after last thermal step.
virtual void setFix(bool b)=0
Set the temperature fixity flag.
virtual IBody * getBodyMech()=0
Return the IBody pointer of the mechanical body.
virtual bool getFix() const =0
Return the temperature fixity flag.
virtual double getTemperature() const =0
Return the temperature.
virtual double getAppliedPower() const =0
Return the applied power.
virtual QVariant getPieceProperty(const QString &name, const IPiece *p=0) const =0
Return the property of the piece.
virtual void setAppliedPower(const double &d)=0
Set the applied power.
virtual double getTempInc() const =0
Return the temperature increment during last thermal step.
virtual const IBody * getBodyMech() const =0
Return the IBody pointer of the mechanical body.
virtual void setTempInc(const double &d)=0
Set the temperature increment.
virtual IBody * getIBody()=0
Return the IBody pointer.
virtual void setExpCoef(const double &d)=0
Set the coefficient of linear expansion.
Definition ipiece.h:15
uint32 TType
class type indicator
Definition basedef.h:46
Itasca Library standard namespace, specific to 2D or 3D.
Definition icontactmodule.h:4