Itasca C++ Interface
Loading...
Searching...
No Matches
ibodyfluid.h
1#pragma once
2
3namespace itascaxd {
4 class IBodyFluid {
5 public:
6 inline static const TType type_ = 0x4fe8df85;
7
8 virtual const IBody *getIBody() const =0;
9 virtual IBody *getIBody() =0;
10 virtual IBody *getBodyMech() =0;
11 virtual const IBody *getBodyMech() const =0;
12 virtual bool setPieceProperty(const QString& name, const QVariant& v, IPiece* p = 0) =0;
13 virtual QVariant getPieceProperty(const QString& name, const IPiece* p = 0) const =0;
14 virtual void setFluidForce(const DVect &d) =0;
15 virtual DVect getFluidForce() const=0;
16 virtual void setIncludePorosity(bool b) = 0;
17 virtual bool getIncludePorosity() const = 0;
18 virtual double getPressureHead() const = 0;
19
20 // Fluid physics
21 virtual void addToEta(const double& d) =0;
22 virtual void addToEtaPsi(const double& d) =0;
23 };
24}
Definition ibodyfluid.h:4
Definition ibody.h:20
Definition ipiece.h:15
uint32 TType
class type indicator
Definition basedef.h:46
DVect3 DVect
Vector of doubles, either 2D or 3D.
Definition dim.h:154
Itasca Library standard namespace, specific to 2D or 3D.
Definition icontactmodule.h:4