Itasca C++ Interface
Loading...
Searching...
No Matches
iclumpthermal.h
1#pragma once
2// iclumpthermal.h
3#include "base/src/farray.h"
4
5namespace itasca {
6 class IThing;
7 class IContainer;
8}
9
10namespace itascaxd {
11 class IBody;
12 class IBodyThermal;
13 class IPiece;
14 class IContact;
15}
16
17namespace pfc {
18 class IClump;
19}
20
21namespace pfcthermal {
22 using namespace itasca;
23 using namespace itascaxd;
24
25 using namespace pfc;
26 class IPebbleThermal;
28 public:
29 inline static const TType type_ = 0x4fc90342;
30
31 virtual IThing * getIThing()=0;
32 virtual const IThing * getIThing() const=0;
33 virtual IBody * getIBody()=0;
34 virtual const IBody * getIBody() const=0;
35 virtual IBodyThermal * getIBodyThermal()=0;
36 virtual const IBodyThermal * getIBodyThermal() const=0;
37 virtual IBody * getIBodyMechanical()=0;
38 virtual const IBody * getIBodyMechanical() const=0;
39 virtual IClump * getIClump()=0;
43 virtual const IPebbleThermal * getFirstPebble() const = 0;
44 virtual const IClump * getIClump() const=0;
45 virtual void getContactList(FArray<IContact *> *ret,const TType &type=0,const IPiece *p2=0) = 0;
46 virtual void getContactList(FArray<const IContact *> *ret,const TType &type=0,const IPiece *p2=0) const = 0;
48 virtual quint64 getContactCount(bool active,const TType &type=0,bool domainToo = false) const=0;
50 virtual uint getNumberPebbles() const=0;
55 virtual IContainer *getClumpThermalAsPebbleContainer() = 0;
56 virtual const IContainer *getClumpThermalAsPebbleContainer() const = 0;
57 virtual bool setProperty(const QString &name,const QVariant &v)=0;
58 };
59
60} // namespace pfcthermal
61// EoF
62
An array class that attempts to minimize unnecessary heap access.
Definition farray.h:25
Interface for containers of IThings.
Definition icontainer.h:21
Base class for items that will be stored in containers.
Definition ithing.h:30
Definition ibody.h:20
Definition ibodythermal.h:10
Definition ipiece.h:15
Interface for a clump. This is the interface for a clump. A clump is a collection of pebbles that def...
Definition iclump.h:37
Definition iclumpthermal.h:27
virtual quint64 getContactCount(bool active, const TType &type=0, bool domainToo=false) const =0
Return the number of contacts.
virtual void getPebbleList(FArray< IPebbleThermal * > *)=0
Return a list of pebbles.
virtual IPebbleThermal * getFirstPebble()=0
Return the first IPebbleThermal in this thermal clump.
virtual uint getNumberPebbles() const =0
Return the number of pebbles.
virtual const IPebbleThermal * getFirstPebble() const =0
Return the first const IPebbleThermal in this thermal clump.
virtual void getPebbleList(FArray< const IPebbleThermal * > *) const =0
Return a list of pebbles.
Definition ipebblethermal.h:25
An array class that attempts to minimize unnecessary heap access.
uint32 TType
class type indicator
Definition basedef.h:46
namespace Itasca
Definition basememory.cpp:10
Itasca Library standard namespace, specific to 2D or 3D.
Definition icontactmodule.h:4
PFC namespace.
Definition iballfluid.h:15