56 (!strict || isType<displacedPhaseInterface>(interface))
57 && (strict || isA<displacedPhaseInterface>(interface))
59 == &refCast<const displacedPhaseInterface>(interface).displacing_
74 displacing_(displacing)
87 if (contains(displacing_))
90 <<
"Interface " <<
name <<
" is not valid. An interface cannot "
111 + displacing().name();
Macros for easy insertion into run-time selection tables.
Class to represent an interface between phases which has been displaced to some extent by a third pha...
displacedPhaseInterface(const phaseModel &phase1, const phaseModel &phase2, const phaseModel &displacing)
Construct from phases.
virtual ~displacedPhaseInterface()
Destructor.
static word separator()
Return the separator that delimits this interface's name.
virtual word name() const
Name.
virtual bool same(const phaseInterface &interface, bool strict) const
Return true if the phase interfaces are the same.
const phaseModel & displacing() const
Displacing phase.
Class to represent an interface between phases. Derivations can further specify the configuration of ...
static word separator()
Return the separator that delimits this interface's name.
virtual word name() const
Name.
virtual bool same(const phaseInterface &interface, bool strict) const
Return true if the phase interfaces are the same.
Class to represent a system of phases.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
addToRunTimeSelectionTable(polyPatch, mergedCyclicPolyPatch, word)
defineTypeNameAndDebugWithName(dispersedDisplacedPhaseInterface, separatorsToTypeName({ dispersedPhaseInterface::separator(), displacedPhaseInterface::separator() }).c_str(), 0)
labelList second(const UList< labelPair > &p)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.