Itasca C++ Interface
Loading...
Searching...
No Matches
ithermanasource.h
Go to the documentation of this file.
1#pragma once
2// ithermanasource.h
3
9#include "base/src/base.h"
10namespace itasca {
11 class IThing;
12}
13
14namespace zone {
15 using namespace itasca;
16
17 struct ThermAnaSourceComponent;
18
20
24 public:
26 inline static const TType type_ = 0x6240891f;
27
29 virtual IThing* getIThing() = 0;
30 virtual const IThing* getIThing() const = 0;
31
33 virtual const IThermAnaSource* getNext() const = 0;
34
36 virtual void setLocation(const DVect& v) = 0;
37
39 virtual DVect getPosition() const = 0;
40
42 virtual double getStartTime() const = 0;
44 virtual void setStartTime(double t) = 0;
45
47 virtual double getStrength() const = 0;
49 virtual void setStrength(double s) = 0;
50
52 virtual quint64 getNumComponents() const = 0;
54 virtual double getComponentFraction(size_t i) const = 0;
56 virtual double getComponentDecay(size_t i) const = 0;
57
59 virtual double getDiffusivity() const = 0;
61 virtual double getThermalCond() const = 0;
62
63 };
64} // namespace
One stop include for all objects defined as part of base interface.
Base class for items that will be stored in containers.
Definition ithing.h:30
Interface to the thermal analytical source.
Definition ithermanasource.h:23
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition ithermanasource.h:26
virtual double getStartTime() const =0
Set the start time.
virtual quint64 getNumComponents() const =0
Return number of components.
virtual void setStrength(double s)=0
Return the source strength.
virtual IThing * getIThing()=0
Returns an IThing interface to this object.
virtual double getStrength() const =0
Set the source strength.
virtual double getComponentDecay(size_t i) const =0
Return component i decay. Input is 0 based.
virtual double getThermalCond() const =0
get thermal conductivity constant
virtual double getDiffusivity() const =0
get thermal diffusivity constant ( =conductivity / (density*specific heat) )
virtual const IThermAnaSource * getNext() const =0
Get next source in the list.
virtual void setLocation(const DVect &v)=0
Sets the current position of the object.
virtual double getComponentFraction(size_t i) const =0
Return component i fraction. Input is 0 based.
virtual DVect getPosition() const =0
Get2D or 3D position - different from getLocatin , which only returns 3D.
virtual const IThing * getIThing() const =0
Returns an IThing interface to this object.
virtual void setStartTime(double t)=0
Return the start time.
uint32 TType
class type indicator
Definition basedef.h:46
DVect3 DVect
Vector of doubles, either 2D or 3D.
Definition dim.h:154
namespace Itasca
Definition basememory.cpp:10