Itasca C++ Interface
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
iflowzonething.h
Go to the documentation of this file.
1 #pragma once
2 // iflowzonething.h
3 
4 #include "base/src/farray.h"
5 
6 #include "iblockdef.h"
7 
14 namespace itasca
15 {
16  class IThing;
17 }
18 
19 namespace block
20 {
21  class IFlowPlaneThing;
22  class IFlowPlaneVertexThing;
23 
25  {
26  public:
27 
29  inline static const TType type_ = 0x52d95a3f;
31  virtual const itasca::IThing * getIThing() const=0;
33  virtual itasca::IThing * getIThing()=0;
35  virtual FInt getFortranOffset() const=0;
37  virtual double getArea() const=0;
39  virtual const IFlowPlaneThing * getFlowPlane() const=0;
41  virtual quint64 getFlowPlaneID() const=0;
43  virtual const IFlowPlaneVertexThing * getFlowPlaneVertex(int n) const=0;
45  virtual quint64 getFlowPlaneVertexID(int n) const=0;
47  virtual DVect3 getDischarge() const=0;
49  virtual DVect3 getVelocity() const=0;
51  virtual double getViscosity() const=0;
53  virtual bool getCracked() const=0;
55  virtual DVect3 getLocation() const = 0;
56  };
57 
58 } // end namespace block
59 // EOF
static const TType type_
type used in IThing typing system
Definition: iflowzonething.h:29
virtual quint64 getFlowPlaneVertexID(int n) const =0
Return a vertex id of the flow plane. Input vertex number n (0-2)
namespace Itasca
Definition: basememory.cpp:9
Int FInt
Interface to provide access to 3DEC modules, global data, list of 3DEC entities, etc.
Definition: iblockdef.h:19
Base class for items that will be stored in containers.
Definition: ithing.h:31
Definition: iflowplanething.h:27
virtual bool getCracked() const =0
Return true if zone is cracked.
Fortran to C++ type declarations.
virtual DVect3 getDischarge() const =0
Return fluid discharge vector for the flow zone.
virtual FInt getFortranOffset() const =0
Return flow zone fortran offset.
This is the interface for FlowPlaneVertexThing, a C++ wrapper for a flow plane vertex This will be st...
Definition: iflowplanevertexthing.h:27
virtual const itasca::IThing * getIThing() const =0
Returns a const IThing pointer.
An array class that attempts to minimize unnecessary heap access.
virtual const IFlowPlaneThing * getFlowPlane() const =0
Return the host flow plane.
virtual DVect3 getVelocity() const =0
Return fluid velocity vector for the flow zone.
unsigned int TType
class type indicator
Definition: basedef.h:41
virtual double getViscosity() const =0
Return fluid viscosity associated with flow zone.
virtual DVect3 getLocation() const =0
Return the flow zone locaton.
virtual const IFlowPlaneVertexThing * getFlowPlaneVertex(int n) const =0
Return a vertex of the flow zone. Input vertex number n (0-2)
Definition: iflowzonething.h:24
virtual double getArea() const =0
Return the plane area.
virtual quint64 getFlowPlaneID() const =0
Return the id of the host flow plane.