Itasca C++ Interface
Loading...
Searching...
No Matches
iballfluid.h
1#pragma once
2// iballfluid.h
3#include "base/src/farray.h"
4
5namespace itasca {
6 class IThing;
7}
8
9namespace itascaxd {
10 class IBody;
11 class IBodyFluid;
12 class IPiece;
13}
14
15namespace pfc {
16 class IBall;
17}
18
19namespace ccfd {
20 using namespace itasca;
21 using namespace itascaxd;
22
23 using namespace pfc;
24
25 class ICcfdElement;
26
27 class IBallFluid {
28 public:
29 inline static const TType type_ = 0x4fe8e795;
30
31 virtual IThing * getIThing()=0;
32 virtual const IThing * getIThing() const=0;
33 virtual IPiece * getIPiece()=0;
34 virtual const IPiece * getIPiece() const=0;
35 virtual IBody * getIBody()=0;
36 virtual const IBody * getIBody() const=0;
37 virtual IBodyFluid * getIBodyFluid()=0;
38 virtual const IBodyFluid * getIBodyFluid() const=0;
39 virtual IBody * getIBodyMechanical()=0;
40 virtual const IBody * getIBodyMechanical() const=0;
41 virtual IBall * getIBall()=0;
42 virtual const IBall * getIBall() const=0;
43 //virtual ICcfdElement * getElement()=0;
44 //virtual const ICcfdElement * getElement() const=0;
45 virtual void getElements(FArray<ICcfdElement*> *) const=0;
46 virtual void getOverlaps(FArray<double> *) const=0;
47 virtual DVect getFluidForce() const=0;
48 virtual void setFluidForce(const DVect &d) =0;
49
50 };
51
52} // namespace ccfd
53// EoF
54
An array class that attempts to minimize unnecessary heap access.
Definition farray.h:25
Definition iballfluid.h:27
Definition iccfdelement.h:17
Base class for items that will be stored in containers.
Definition ithing.h:30
Definition ibodyfluid.h:6
Definition ibody.h:20
Definition ipiece.h:15
Interface for a ball.
Definition iball.h:35
An array class that attempts to minimize unnecessary heap access.
uint32 TType
class type indicator
Definition basedef.h:46
DVect3 DVect
Vector of doubles, either 2D or 3D.
Definition dim.h:154
ccfd namespace
Definition iballfluid.h:19
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