A STARCCM interface definition is a pair of boundary ids. More...
Public Member Functions | |
interfaceEntry () | |
Construct null. More... | |
interfaceEntry (const label index) | |
Construct empty interface definition. More... | |
interfaceEntry (const label index, const label boundary0, const label boundary1) | |
Construct from components. More... | |
bool | inInterface (label bndId) const |
True if the boundary id is in this interface. More... | |
bool | valid () const |
True if all internal ids are non-negative. More... | |
word | canonicalName0 () const |
Canonical name for boundary 0. More... | |
word | canonicalName1 () const |
Canonical name for boundary 1. More... | |
word | canonicalName (label bndId) const |
Canonical name for boundary. More... | |
Static Public Member Functions | |
static bool | isInPlace (const std::string &configurationType) |
Check for in-place interfaces. More... | |
Public Attributes | |
label | id |
The internal interface id. More... | |
label | bnd0 |
The first boundary. More... | |
label | bnd1 |
The second boundary. More... | |
Friends | |
Ostream & | operator<< (Ostream &os, const interfaceEntry &entry) |
A STARCCM interface definition is a pair of boundary ids.
Definition at line 55 of file ccmInterfaceDefinitions.H.
|
inline |
Construct null.
Definition at line 73 of file ccmInterfaceDefinitions.H.
|
inline |
Construct empty interface definition.
Definition at line 82 of file ccmInterfaceDefinitions.H.
|
inline |
Construct from components.
Definition at line 91 of file ccmInterfaceDefinitions.H.
|
inlinestatic |
Check for in-place interfaces.
Definition at line 107 of file ccmInterfaceDefinitions.H.
|
inline |
True if the boundary id is in this interface.
Definition at line 114 of file ccmInterfaceDefinitions.H.
References interfaceEntry::bnd0, and interfaceEntry::bnd1.
|
inline |
True if all internal ids are non-negative.
Definition at line 120 of file ccmInterfaceDefinitions.H.
References interfaceEntry::bnd0, and interfaceEntry::bnd1.
Referenced by ISstream::read(), searchableBox::searchableBox(), FileName::valid(), VarName::valid(), keyType::valid(), wordRe::valid(), and word::validate().
|
inline |
Canonical name for boundary 0.
Definition at line 127 of file ccmInterfaceDefinitions.H.
References Foam::name().
Referenced by interfaceEntry::canonicalName().
|
inline |
Canonical name for boundary 1.
Definition at line 133 of file ccmInterfaceDefinitions.H.
References Foam::name().
Referenced by interfaceEntry::canonicalName().
|
inline |
Canonical name for boundary.
Definition at line 139 of file ccmInterfaceDefinitions.H.
References interfaceEntry::bnd0, interfaceEntry::bnd1, interfaceEntry::canonicalName0(), interfaceEntry::canonicalName1(), and word::null.
|
friend |
Definition at line 158 of file ccmInterfaceDefinitions.H.
label id |
The internal interface id.
Definition at line 61 of file ccmInterfaceDefinitions.H.
label bnd0 |
The first boundary.
Definition at line 64 of file ccmInterfaceDefinitions.H.
Referenced by interfaceEntry::canonicalName(), interfaceEntry::inInterface(), and interfaceEntry::valid().
label bnd1 |
The second boundary.
Definition at line 67 of file ccmInterfaceDefinitions.H.
Referenced by interfaceEntry::canonicalName(), interfaceEntry::inInterface(), and interfaceEntry::valid().