An ordered pair of two objects of type <T> with first() and second() elements. More...
Public Member Functions | |
Pair () | |
Null constructor. More... | |
Pair (const Type &f, const Type &s) | |
Construct from components. More... | |
Pair (const FixedList< Type, 2 > &fl) | |
Construct from FixedList. More... | |
Pair (Istream &is) | |
Construct from Istream. More... | |
const Type & | first () const |
Return first. More... | |
Type & | first () |
Return first. More... | |
const Type & | second () const |
Return second. More... | |
Type & | second () |
Return second. More... | |
const Type & | other (const Type &a) const |
Return other. More... | |
Static Public Member Functions | |
static int | compare (const Pair< Type > &a, const Pair< Type > &b) |
Compare Pairs. More... | |
An ordered pair of two objects of type <T> with first() and second() elements.
Definition at line 49 of file contiguous.H.
|
inline |
|
inline |
Return first.
Definition at line 87 of file Pair.H.
Referenced by globalIndexAndTransform::addToTransformIndex(), meshRefinement::allocateInterRegionFaceZone(), preserveBafflesConstraint::apply(), meshRefinement::balance(), blockMesh::calcMergeInfoFast(), featureEdgesNeiOp::calculateNumberOfEdgesAtPoint(), edgeExtractor::calculateValence(), edgeExtractor::checkCorners(), triSurfaceClassifyEdges::checkOrientation(), meshBndLayerNeighbourOperator::collectGroups(), featureEdgesNeiOp::collectGroups(), extrudeLayer::createDuplicateFrontFaces(), decompositionMethod::decompose(), triSurfaceDetectFeatureEdges::detectFeatureEdgesAngleCriterion(), autoRefineDriver::doRefine(), Foam::faceNij(), polyMeshFilter::filterFaces(), boundaryLayers::findPatchesToBeTreatedTogether(), meshRefinement::freeStandingBaffles(), refineBoundaryLayers::generateNewVertices(), Foam::help::groupMarking(), globalIndexAndTransform::index(), linearInterpolationWeights::integrationWeights(), main(), Distribution::normalised(), multiphaseMixtureThermo::interfacePair::hash::operator()(), multiphaseMixture::interfacePair::hash::operator()(), multiphaseSystem::interfacePair::symmHash::operator()(), multiphaseSystem::interfacePair::hash::operator()(), labelledPair::operator<(), labelledPair::operator==(), Pair< word >::other(), Pair< word >::Pair(), edgeExtractor::projectDeterminedFeatureVertices(), Distribution::raw(), refineBoundaryLayers::refineFace(), slidingInterface::renumberAttachedAddressing(), meshRefinement::splitFacesUndo(), globalIndexAndTransform::transformIndicesForPatches(), Distribution::validLimits(), and meshRefinement::zonify().
|
inline |
Return second.
Definition at line 99 of file Pair.H.
Referenced by globalIndexAndTransform::addToTransformIndex(), meshRefinement::allocateInterRegionFaceZone(), preserveBafflesConstraint::apply(), meshRefinement::balance(), blockMesh::calcMergeInfoFast(), featureEdgesNeiOp::calculateNumberOfEdgesAtPoint(), edgeExtractor::calculateValence(), edgeExtractor::checkCorners(), triSurfaceClassifyEdges::checkOrientation(), meshBndLayerNeighbourOperator::collectGroups(), featureEdgesNeiOp::collectGroups(), extrudeLayer::createDuplicateFrontFaces(), decompositionMethod::decompose(), triSurfaceDetectFeatureEdges::detectFeatureEdgesAngleCriterion(), autoRefineDriver::doRefine(), Foam::faceNij(), polyMeshFilter::filterFaces(), boundaryLayers::findPatchesToBeTreatedTogether(), meshRefinement::freeStandingBaffles(), refineBoundaryLayers::generateNewVertices(), Foam::help::groupMarking(), linearInterpolationWeights::integrationWeights(), main(), Distribution::normalised(), multiphaseMixtureThermo::interfacePair::hash::operator()(), multiphaseMixture::interfacePair::hash::operator()(), multiphaseSystem::interfacePair::symmHash::operator()(), multiphaseSystem::interfacePair::hash::operator()(), labelledPair::operator<(), labelledPair::operator==(), Pair< word >::other(), Pair< word >::Pair(), globalIndexAndTransform::processor(), edgeExtractor::projectDeterminedFeatureVertices(), Distribution::raw(), refineBoundaryLayers::refineFace(), slidingInterface::renumberAttachedAddressing(), meshRefinement::splitFacesUndo(), globalIndexAndTransform::transformIndex(), globalIndexAndTransform::transformIndicesForPatches(), Distribution::validLimits(), and meshRefinement::zonify().
|
inline |
Compare Pairs.
Returning:
Definition at line 141 of file Pair.H.
Referenced by preserveBafflesConstraint::add(), and globalMeshData::calcGlobalEdgeOrientation().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.