Itasca C++ Interface
Loading...
Searching...
No Matches
3dec
block
interface
isubcontactarray.h
Go to the documentation of this file.
1
#pragma once
2
// isubcontactarray.h
3
9
namespace
itasca
10
{
11
class
IContainer;
12
class
IThing;
13
}
14
15
namespace
block
16
{
17
using namespace
itasca
;
18
19
class
ISubcontactThing;
20
24
class
ISubcontactArray
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
block::ISubcontactArray
Container to store SubcontactThings. ID of SubcontactThing is stored in offset $KCXCPP in Fortran sub...
Definition
isubcontactarray.h:25
block::ISubcontactArray::getIThing
virtual const IThing * getIThing() const =0
Returns a const pointer to an IThing interface representing the IContactArray.
block::ISubcontactArray::findSubcontactWithID
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...
block::ISubcontactArray::getSubcontactType
virtual quint32 getSubcontactType() const =0
Returns the subcontact type identifier.
block::ISubcontactArray::getIContainer
virtual const IContainer * getIContainer() const =0
Returns a const pointer to the IContainer interface representing the global list of contacts.
block::ISubcontactArray::getNumSubcontacts
virtual quint64 getNumSubcontacts() const =0
Returns number of subcontacts in the container.
block::ISubcontactArray::getModelNotice
virtual uint getModelNotice() const =0
Returns the tag for the subcontact model change notice.
block::ISubcontactArray::getSubcontactExtraNotice
virtual uint getSubcontactExtraNotice() const =0
Returns the tag for the subcontact extra variable change notice.
block::ISubcontactArray::getPorePressureNotice
virtual uint getPorePressureNotice() const =0
Returns the tag for pore pressure change notice.
block::ISubcontactArray::getGroupNotice
virtual uint getGroupNotice() const =0
Returns tag for group change notice.
block::ISubcontactArray::getIThing
virtual IThing * getIThing()=0
Returns a pointer to an IThing interface representing the IContactArray.
block::ISubcontactArray::findSubcontactWithID
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...
block::ISubcontactArray::findPartner
virtual const ISubcontactThing * findPartner(const ISubcontactThing *cx, double tol=-1) const =0
block::ISubcontactArray::getIContainer
virtual IContainer * getIContainer()=0
Returns a pointer to the IContainer interface representing the global list of contacts.
block::ISubcontactThing
This is the interface for SubcontactThing, a class that holds extra data not in the fortran arrays....
Definition
isubcontactthing.h:32
itasca::IContainer
Interface for containers of IThings.
Definition
icontainer.h:21
itasca::IThing
Base class for items that will be stored in containers.
Definition
ithing.h:30
itasca
namespace Itasca
Definition
basememory.cpp:14
Generated by
1.10.0