Itasca C++ Interface
Loading...
Searching...
No Matches
isubcontactarray.h
Go to the documentation of this file.
1#pragma once
2// isubcontactarray.h
3
9namespace itasca
10{
11 class IContainer;
12 class IThing;
13}
14
15namespace block
16{
17 using namespace itasca;
18
19 class ISubcontactThing;
20
25 {
26 public:
27
29 virtual const IThing * getIThing() const=0;
31 virtual IThing * getIThing()=0;
33 virtual const IContainer * getIContainer() const=0;
35 virtual IContainer * getIContainer() =0;
37 virtual const ISubcontactThing * findSubcontactWithID(quint64 id) const=0;
39 virtual ISubcontactThing * findSubcontactWithID(quint64 id)=0;
41 //virtual const SubcontactThing * findSubcontact(const DVect &loc) const = 0;
43 virtual quint32 getSubcontactType() const=0;
45 virtual quint64 getNumSubcontacts() const=0;
47 virtual uint getGroupNotice() const=0;
49 virtual uint getSubcontactExtraNotice() const=0;
51 virtual uint getModelNotice() const=0;
53 virtual uint getPorePressureNotice() const=0;
56 virtual const ISubcontactThing* findPartner(const ISubcontactThing* cx, double tol = -1) const=0;
57 };
58
59} // end namespace block
60// EOF
Container to store SubcontactThings. ID of SubcontactThing is stored in offset $KCXCPP in Fortran sub...
Definition isubcontactarray.h:25
virtual const IThing * getIThing() const =0
Returns a const pointer to an IThing interface representing the IContactArray.
virtual const ISubcontactThing * findSubcontactWithID(quint64 id) const =0
Returns a const pointer to the subcontact, ISubcontactThing, with the ID id, or 0 if the contact does...
virtual quint32 getSubcontactType() const =0
Returns the subcontact type identifier.
virtual const IContainer * getIContainer() const =0
Returns a const pointer to the IContainer interface representing the global list of contacts.
virtual quint64 getNumSubcontacts() const =0
Returns number of subcontacts in the container.
virtual uint getModelNotice() const =0
Returns the tag for the subcontact model change notice.
virtual uint getSubcontactExtraNotice() const =0
Returns the tag for the subcontact extra variable change notice.
virtual uint getPorePressureNotice() const =0
Returns the tag for pore pressure change notice.
virtual uint getGroupNotice() const =0
Returns tag for group change notice.
virtual IThing * getIThing()=0
Returns a pointer to an IThing interface representing the IContactArray.
virtual ISubcontactThing * findSubcontactWithID(quint64 id)=0
Returns a pointer to the subcontact, ISubcontactThing, with the ID id, or 0 if the contact does not e...
virtual const ISubcontactThing * findPartner(const ISubcontactThing *cx, double tol=-1) const =0
virtual IContainer * getIContainer()=0
Returns a pointer to the IContainer interface representing the global list of contacts.
This is the interface for SubcontactThing, a class that holds extra data not in the fortran arrays....
Definition isubcontactthing.h:32
Interface for containers of IThings.
Definition icontainer.h:21
Base class for items that will be stored in containers.
Definition ithing.h:30
namespace Itasca
Definition basememory.cpp:10