Itasca C++ Interface
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
ivertexarray.h
Go to the documentation of this file.
1 #pragma once
2 // ivertexarray.h
3 #include "base/src/farray.h"
4 
11 namespace itasca
12 {
13  class IContainer;
14  class IThing;
15 }
16 
17 namespace block
18 {
19  using namespace itasca;
20 
21  class IVertexThing;
22  class VertexThing;
23  class IGpData;
24 
25 
30  {
31  public:
32 
34  virtual const IThing * getIThing() const=0;
36  virtual IThing * getIThing()=0;
38  virtual const IContainer * getIContainer() const=0;
40  virtual IContainer * getIContainer() =0;
42  virtual const IVertexThing * findVertexWithID(quint64 id) const=0;
44  virtual IVertexThing * findVertexWithID(quint64 id)=0;
46  virtual quint32 getVertexType() const=0;
48  virtual quint64 getNumVertices() const=0;
50  virtual const IVertexThing * findVertex(const DVect3 &loc, bool visible=false) =0;
51 
53  virtual FArray<IVertexThing*> findAllVertices(const DVect3& loc, double radius, bool visible = false)=0;
54 
65  virtual int claimBit() const=0;
67  virtual void releaseBit(int bit) const=0;
78  virtual int claimValue() const=0;
80  virtual void releaseValue(int bit) const=0;
82  virtual IGpData * createIGpData(QObject *parent=0) const=0;
84  virtual uint getVertexExtraNotice() const=0;
86  virtual uint getDisplacementNotice() const=0;
88  virtual uint getVelocityNotice() const=0;
90  virtual uint getPorePressureNotice() const=0;
92  virtual uint getTemperatureNotice() const=0;
94  virtual uint getGeometryNotice() const=0;
96  virtual uint getBoundaryNotice() const=0;
97  };
98 
99 } // end namespace block
100 // EOF
namespace Itasca
Definition: basememory.cpp:9
Base class for items that will be stored in containers.
Definition: ithing.h:31
Container to store VertexThings. ID of VertexThing is stored in offset $KVCPP in Fortran vertex linke...
Definition: ivertexarray.h:29
An array class that attempts to minimize unnecessary heap access.
This class maintains a list of scalar data (x-position, density, velocity magnitude,...
Definition: igpdata.h:20
This is the interface for VertexThing. This will be stored in a container and the ID will be stored i...
Definition: ivertexthing.h:28
An array class that attempts to minimize unnecessary heap access.
Definition: farray.h:27
Interface for containers of IThings.
Definition: icontainer.h:23