Itasca C++ Interface
ifaceblockarray.h
Go to the documentation of this file.
1 #pragma once
2 // ifaceblockaarray.h
3 
10 #include "iblockdef.h"
11 
12 namespace itasca
13 {
14  class IContainer;
15  class IThing;
16 }
17 
18 namespace block
19 {
20  using namespace itasca;
21 
22  class IBlockThing;
23  class FaceBlockThing;
24 
29  {
30  public:
31 
33  virtual const IThing * getIThing() const=0;
35  virtual IThing * getIThing()=0;
37  virtual const IContainer * getIContainer() const=0;
39  virtual IContainer * getIContainer() =0;
41  virtual const IBlockThing * findBlockWithID(quint64 id) const=0;
43  virtual IBlockThing * findBlockWithID(quint64 id)=0;
45  virtual quint32 getBlockType() const = 0;
46 
48  virtual uint getBlockExtraNotice() const=0;
50  virtual uint getGroupNotice() const=0;
52  virtual uint getGeometryNotice() const=0;
54  virtual uint getJoinNotice() const=0;
56  virtual uint getBoundaryNotice() const=0;
58  virtual uint getMaterialNotice() const=0;
60  virtual uint getHideNotice() const=0;
62  virtual FaceBlockThing * findBlock(const DVect3 &dv)=0;
63 
64  };
65 
66 } // end namespace block
67 // EOF
This is the interface for BlockThing, a class that holds extra data not in the fortran arrays....
Definition: iblockthing.h:32
Container to store blockThings that are face blocks. ID of BlockThing is stored in offset $KBID in Fo...
Definition: ifaceblockarray.h:29
virtual const IContainer * getIContainer() const =0
Returns a const pointer to the IContainer interface representing the global list of blocks.
virtual uint getMaterialNotice() const =0
Returns the tag for the material change notice.
virtual uint getGeometryNotice() const =0
Returns the tag for the block geometry change notice.
virtual quint32 getBlockType() const =0
Returns the block type identifier.
virtual IThing * getIThing()=0
Returns a pointer to an IThing interface representing the IBlockArray.
virtual IContainer * getIContainer()=0
Returns a pointer to the IContainer interface representing the global list of blocks.
virtual uint getBlockExtraNotice() const =0
Returns the tag for the block extra variable change notice.
virtual uint getHideNotice() const =0
Returns the tag for the block hide state notice.
virtual uint getJoinNotice() const =0
Returns the tag for join condition change notice.
virtual uint getBoundaryNotice() const =0
Returns the tag for the boundary geometry change notice.
virtual const IBlockThing * findBlockWithID(quint64 id) const =0
Returns a const pointer to the block, IBlock, with the ID id, or 0 if the block does not exist.
virtual const IThing * getIThing() const =0
Returns a const pointer to an IThing interface representing the IBlockArray.
virtual FaceBlockThing * findBlock(const DVect3 &dv)=0
Return block closest to input location.
virtual uint getGroupNotice() const =0
Returns the tag for the block group change notice.
virtual IBlockThing * findBlockWithID(quint64 id)=0
Returns a pointer to the block, IBlock, with the ID id, or 0 if the block does not exist.
Interface for containers of IThings.
Definition: icontainer.h:21
Base class for items that will be stored in containers.
Definition: ithing.h:30
Fortran to C++ type declarations.
namespace Itasca
Definition: basememory.cpp:10