printMeshSummary.H File Reference

Go to the source code of this file.

Functions

 if (Pstream::parRun())
 
const labelList nFaces (UPstream::listGatherValues< label >(aMesh.nFaces()))
 
const labelList nPoints (UPstream::listGatherValues< label >(aMesh.nPoints()))
 
const labelList nEdges (UPstream::listGatherValues< label >(aMesh.nEdges()))
 
const labelList nIntEdges (UPstream::listGatherValues< label >(aMesh.nInternalEdges()))
 
const labelList nBndEdges (UPstream::listGatherValues< label >(aMesh.nBoundaryEdges() - nLocalProcEdges))
 
const labelList nProcEdges (UPstream::listGatherValues< label >(nLocalProcEdges))
 

Variables

const label nNonProcessor = patches.nNonProcessor()
 
const label nPatches = patches.size()
 
label nLocalProcEdges = 0
 
const auto reporter
 

Detailed Description

Original source file printMeshSummary.H

Definition in file printMeshSummary.H.

Function Documentation

◆ if()

if ( Pstream::parRun()  )

Definition at line 33 of file printMeshSummary.H.

References nLocalProcEdges, and patches.

◆ nFaces()

const labelList nFaces ( UPstream::listGatherValues< label >  aMesh.nFaces())

Referenced by polyMeshAdder::add(), fvMeshAdder::add(), geometric::add(), fvMeshPrimitiveLduAddressing::addAddressing(), LduMatrix< Type, DType, LUType >::Amul(), lduMatrix::Amul(), TDILUPreconditioner< Type, DType, LUType >::calcInvD(), DICPreconditioner::calcReciprocalD(), DILUPreconditioner::calcReciprocalD(), boundaryMesh::changeFaces(), primitiveMesh::checkClosedCells(), primitiveMesh::checkFaceFaces(), extractEulerianParticles::checkFaceZone(), polyMesh::checkMeshMotion(), surfMesh::checkZones(), sensitivitySurface::computeDerivativesSize(), edgeCollapser::consistentCollapse(), structuredDecomp::decompose(), FaceCellWave< Type, TrackingData >::enterDomain(), dynamicRefineFvMesh::extendMarkedCells(), FaceInteraction< CloudType >::FaceInteraction(), FacePostProcessing< CloudType >::FacePostProcessing(), FDICPreconditioner::FDICPreconditioner(), FDICSmoother::FDICSmoother(), patchProbes::findElements(), interfaceTrackingFvMesh::freeSurfacePressureJump(), interfaceTrackingFvMesh::freeSurfaceSnGradU(), interfaceTrackingFvMesh::freeSurfaceSnGradUn(), FaceCellWave< Type, TrackingData >::getChangedPatchFaces(), boundaryMesh::getNPoints(), boundaryMesh::getNTris(), externalDisplacementMeshMover::getPatch(), Foam::ensightOutput::Detail::getPolysFacePoints(), LduMatrix< Type, DType, LUType >::H(), lduMatrix::H(), lduMatrix::H1(), dynamicRefineFvMesh::init(), extractEulerianParticles::initialiseBins(), fluxSummary::initialiseCellZoneAndDirection(), PDRblock::innerMesh(), FaceCellWave< Type, TrackingData >::iterate(), PatchEdgeFaceWave< PrimitivePatchType, Type, TrackingData >::iterate(), fvMesh::lduAddr(), FaceCellWave< Type, TrackingData >::leaveDomain(), meshRefinement::makePatch(), dynamicRefineFvMesh::mapFields(), fvMesh::mapFields(), faMesh::mapOldAreas(), dynamicOversetFvMesh::normalisation(), FaceCellWave< Type, TrackingData >::offset(), polyMeshAdder::patchFacePairs(), PatchTools::pointNormals(), TDILUPreconditioner< Type, DType, LUType >::precondition(), DICPreconditioner::precondition(), DILUPreconditioner::precondition(), FDICPreconditioner::precondition(), TDILUPreconditioner< Type, DType, LUType >::preconditionT(), DILUPreconditioner::preconditionT(), wallBoundedStreamLine::read(), AC3DsurfaceFormat< Face >::read(), STARCDMeshReader::readBoundary(), STARCDMeshReader::readCells(), FIREMeshReader::readFaces(), fvMeshTools::removeEmptyPatches(), RemoveParcels< CloudType >::RemoveParcels(), structuredRenumber::renumber(), vtuSizing::renumberFaceLabelsXml(), vtuSizing::renumberVertLabelsLegacy(), primitiveMesh::reset(), LduMatrix< Type, DType, LUType >::residual(), lduMatrix::residual(), Foam::rewritePatchLabels(), polyTopoChange::setCapacity(), faceSetOption::setFaceSelection(), meshCutter::setRefinement(), meshCutAndRemove::setRefinement(), edgeCollapser::setRefinement(), DICSmoother::smooth(), DILUSmoother::smooth(), FDICSmoother::smooth(), displacementMeshMoverMotionSolver::solve(), LduMatrix< Type, DType, LUType >::sumA(), lduMatrix::sumA(), LduMatrix< Type, DType, LUType >::Tmul(), lduMatrix::Tmul(), FaceCellWave< Type, TrackingData >::transform(), boundaryMesh::triangulate(), boundaryMesh::triangulateLocal(), rawTopoChangerFvMesh::update(), lduPrimitiveMeshAssembly::update(), emptyFaPatchField< Type >::updateCoeffs(), faceZone::updateMesh(), streamLineBase::wallPatch(), polyBoundaryMesh::whichPatch(), patchWriter::write(), surfaceFieldWriter::write(), FLMAsurfaceFormat< Face >::write(), STARCDsurfaceFormatCore::writeCase(), VTKsurfaceFormatCore::writeCellData(), VTPsurfaceFormatCore::writeCellData(), VTPsurfaceFormatCore::writeHeader(), and x3dWriter::writeTemplate().

◆ nPoints()

const labelList nPoints ( UPstream::listGatherValues< label >  aMesh.nPoints())

◆ nEdges()

◆ nIntEdges()

const labelList nIntEdges ( UPstream::listGatherValues< label >  aMesh.nInternalEdges())

Referenced by faMeshDecomposition::decomposeMesh().

Here is the caller graph for this function:

◆ nBndEdges()

const labelList nBndEdges ( UPstream::listGatherValues< label >  aMesh.nBoundaryEdges() - nLocalProcEdges)

Referenced by holeToFace::calcClosure(), and patchPatchDist::correct().

Here is the caller graph for this function:

◆ nProcEdges()

const labelList nProcEdges ( UPstream::listGatherValues< label >  nLocalProcEdges)

Referenced by faMeshDistributor::distribute(), and faMeshDecomposition::writeDecomposition().

Here is the caller graph for this function:

Variable Documentation

◆ nNonProcessor

const label nNonProcessor = patches.nNonProcessor()

Definition at line 29 of file printMeshSummary.H.

Referenced by faMeshDistributor::distribute().

◆ nPatches

◆ nLocalProcEdges

label nLocalProcEdges = 0

Definition at line 32 of file printMeshSummary.H.

Referenced by if().

◆ reporter

const auto reporter
Initial value:
=
[&](const char* tag, const labelList& list)
{
Info<< " Number of " << tag << ": " << sum(list) << nl;
if (Pstream::parRun())
{
int padding = static_cast<int>
(
(12 - 8)
+ strlen(tag)
);
do { Info<< ' '; } while (--padding > 0);
Info<< "per-proc: " << flatOutput(list) << nl;
}
}

Definition at line 81 of file printMeshSummary.H.