Itasca C++ Interface
Loading...
Searching...
No Matches
Public Member Functions | List of all members
block::IVertexArray Class Referenceabstract

Container to store VertexThings. ID of VertexThing is stored in offset $KVCPP in Fortran vertex linked list. More...

#include <ivertexarray.h>

Public Member Functions

virtual const IThinggetIThing () const =0
 Returns a const pointer to an IThing interface representing the IVertexArray.
 
virtual IThinggetIThing ()=0
 Returns a pointer to an IThing interface representing the IVertexArray.
 
virtual const IContainergetIContainer () const =0
 Returns a const pointer to the IContainer interface representing the global list of grid points.
 
virtual IContainergetIContainer ()=0
 Returns a pointer to the IContainer interface representing the global list of grid points.
 
virtual const IVertexThingfindVertexWithID (quint64 id) const =0
 Returns a const pointer to the vertex, IVertexThing, with the ID id, or 0 if the vertex does not exist.
 
virtual IVertexThingfindVertexWithID (quint64 id)=0
 Returns a pointer to the vertex, IVertexThing, with the ID id, or 0 if the vertex does not exist.
 
virtual quint32 getVertexType () const =0
 Returns the vertex type identifier.
 
virtual quint64 getNumVertices () const =0
 Returns number of vertices in the container.
 
virtual const IVertexThingfindVertex (const DVect3 &loc, bool visible=false)=0
 Return vertex nearest to input location.
 
virtual FArray< IVertexThing * > findAllVertices (const DVect3 &loc, double radius, bool visible=false)=0
 return array of vertices withing distance radius of inpult location.
 
virtual int claimBit () const =0
 Claims a bit from the vertex utility bit field.
 
virtual void releaseBit (int bit) const =0
 Releases a bit index previously obtained with claimBit(). Thread-safe.
 
virtual int claimValue () const =0
 Claims a bit from the zones utility value array.
 
virtual void releaseValue (int bit) const =0
 Releases a value index back to the zones utility value array. Thread-safe.
 
virtual IGpDatacreateIGpData () const =0
 Returns a pointer to a new IGpData object. This pointer must be destroyed by the caller.
 
virtual uint getVertexExtraNotice () const =0
 Returns the tag for the vertex extra variable change notice.
 
virtual uint getDisplacementNotice () const =0
 Returns the tag for the vertex displacement change notice.
 
virtual uint getVelocityNotice () const =0
 Returns the tag for the vertex velocity change notice.
 
virtual uint getPorePressureNotice () const =0
 Returns the tag for the vertex pore pressure change notice.
 
virtual uint getTemperatureNotice () const =0
 Returns the tag for the vertex temperature change notice.
 
virtual uint getGeometryNotice () const =0
 Returns the tag for vertex geometry change notice.
 
virtual uint getBoundaryNotice () const =0
 Returns the tag for vertex boundary condition change notice.
 
virtual double getTolerance () const =0
 Global tolerance (atol)
 

Detailed Description

Container to store VertexThings. ID of VertexThing is stored in offset $KVCPP in Fortran vertex linked list.

Member Function Documentation

◆ claimBit()

virtual int block::IVertexArray::claimBit ( ) const
pure virtual

Claims a bit from the vertex utility bit field.

It is sometimes useful to be able to store flags and data in a zone during calculations unrelated to the actual model cycling logic.
Two utility arrays are available for this purpose, they are primarily intended to be briefly claimed, used, and then released for back for use in other algorithms.
claimBit() returns a bit index that can be used with the IVertexThing::getBit() and IVertexThing::setBit() functions. This function is thread-safe (IVertexThing::getBit and IVertexThing::setBit are not).

See also
releaseBit() IVertexThing::setBit() IVertexThing::getBit()

◆ claimValue()

virtual int block::IVertexArray::claimValue ( ) const
pure virtual

Claims a bit from the zones utility value array.

It is sometimes useful to be able to store flags and data in a zone during calculations unrelated to the actual model cycling logic.
Two utility arrays are available for this purpose, they are primarily intended to be briefly claimed, used, and then released for back for use in other algorithms.
claimValue() returns a value index that can be used with the IVertexThing::getValue() and IVertexThing::setValue() functions. This function is thread-safe (IVertexThing::getValue and IVertexThing::setValue are not).

See also
releaseBit() IVertexThing::setValue() IVertexThing::getValue()

The documentation for this class was generated from the following file: