30 inline Foam::label Foam::triIntersect::location::noi()
138 <<
"Source point requested from non-source-point location" 152 <<
"Target point requested from non-source-point location" 166 <<
"Source edge requested from non-intersection location" 180 <<
"Target edge requested from non-intersection location" 194 == static_cast<const labelPair&>(b);
bool isTgtNotSrcPoint() const
Return whether the location is a target point and not a source.
FvWallInfoData< WallInfo, label > label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
bool isIntersection() const
Return whether the location is an intersection.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Class to encapsulate the topology of a point within a triangle intersection.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
bool isSrcPoint() const
Return whether the location is a source point.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m K].
Holds information (coordinate and normal) regarding nearest wall point.
static location tgtPoint(const label tgtPi)
Construct a target point location.
static location srcPoint(const label srcPi)
Construct a source point location.
bool isSrcNotTgtPoint() const
Return whether the location is a source point and not a target.
static location srcTgtPoint(const label srcPi, const label tgtPi)
Construct a source and target point location.
bool isTgtPoint() const
Return whether the location is a target point.
label tgtPointi() const
Return the target point index.
label srcPointi() const
Return the source point index.
An ordered pair of two objects of type <T> with first() and second() elements.
Pair< label > labelPair
Label pair.
static const label labelMax
bool operator==(const location &a, const location &b)
bool operator!=(const location &a, const location &b)
location()
Construct null.
const Type & second() const
Return second.
bool isSrcAndTgtPoint() const
Return whether the location is a source point and a target point.
static location intersection(const label srcEi, const label tgtEi)
Construct an intersection location between a source and a.
bool isNull() const
Return whether the location is null.
const Type & first() const
Return first.
label tgtEdgei() const
Return the target edge index.
label srcEdgei() const
Return the source edge index.