Functions
gmvOutputSpray.H File Reference

Go to the source code of this file.

Functions

gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s (IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
 
 if (s.size())
 

Function Documentation

◆ s()

gmvFile<< "tracers " << particles.size() << nl;forAllConstIter(Cloud<passiveParticle>, particles, iter){ gmvFile << iter().position().x() << " ";}gmvFile << nl;forAllConstIter(Cloud<passiveParticle>, particles, iter){ gmvFile << iter().position().y() << " ";}gmvFile << nl;forAllConstIter(Cloud<passiveParticle>, particles, iter){ gmvFile << iter().position().z() << " ";}gmvFile << nl;forAll(lagrangianScalarNames, i){ word name = lagrangianScalarNames[i]; IOField<scalar> s ( IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE)  )

Referenced by thermo< Thermo, Type >::a(), greyMeanAbsorptionEmission::aCont(), dictionary::add(), triSurfaceImportSurfaceAsSubset::addSurfaceAsSubset(), DynList< Foam::triFace >::allocateSize(), LongList< Foam::meshOctreeCube >::allocateSize(), UPstream::allocateTag(), alphaNumHash(), triSurfPoints::appendVertex(), Foam::help::areFacesEqual(), Foam::atan2(), bernstein(), Foam::help::boundBoxLineIntersection(), isoSurfaceCell::calcCentre(), isoSurface::calcCentre(), polyMeshGenAddressing::calcEdgeFaces(), polyMeshGenAddressing::calcEdges(), polyMeshGenAddressing::calcFaceEdges(), ThermoParcel::calcHeatTransfer(), triSurfaceTools::calcInterpolationWeights(), isoSurfaceCell::calcSnappedCc(), isoSurface::calcSnappedCc(), isoSurface::calcSnappedPoint(), objectRefinement::calculateAdditionalRefLevels(), meshSurfaceEngine::calculateEdgesAndAddressing(), FSD< CombThermoType, ThermoType >::calculateSourceNorm(), pointToPointPlanarInterpolation::calcWeights(), displacementLayeredMotionMotionSolver::cellZoneSolve(), checkIrregularSurfaceConnections::checkAndFixCellGroupsAtBndVertices(), hexRef8::checkBoundaryOrientation(), searchableSurfaces::checkClosed(), primitiveMeshGeometry::checkFaceDotProduct(), Foam::polyMeshGenChecks::checkFaceDotProduct(), checkIrregularSurfaceConnections::checkFaceGroupsAtBndVertices(), primitiveMesh::checkFaceOrthogonality(), meshOctreeAddressing::checkGluedRegions(), hexRef8::checkInternalOrientation(), checkMeshDict::checkLocalRefinementLevel(), primitiveMesh::checkMeshMotion(), polyMeshGeometry::checkNonOrtho(), searchableSurfaces::checkNormalOrientation(), searchableSurfaces::checkQuality(), Foam::triSurfaceChecks::checkSelfIntersections(), triSurfaceTools::classify(), Foam::cmptAv(), Foam::cmptMag(), Foam::cmptMax(), Foam::cmptMin(), faceSource::combineSurfaceGeometry(), Foam::component(), searchableSurfaces::connected(), rotorDiskSource::constructGeometry(), triSurfaceCopyParts::copySurface(), triSurfaceCopyParts::copySurfaceMesh(), infinitelyFastChemistry< CombThermoType, ThermoType >::correct(), particle< Type >::correctAfterParallelTransfer(), meshSurfaceEdgeExtractor::createEdgeVertices(), geomCellLooper::cutEdge(), triSurfaceTools::cutEdge(), diaedg(), distributedTriSurfaceMesh::distribute(), Foam::help::doFaceAndTriangleIntersect(), Foam::dot(), DynList< Foam::triFace >::DynList(), orientedSurface::edgeToFace(), molecule::constantProperties::electrostaticSite(), VectorSpaceOps< N, I >::eqOpS(), Foam::help::exchangeMap(), calcEntry::execute(), Foam::stringOps::expand(), primitiveEntry::expandVariable(), treeBoundBox::extend(), cellQuality::faceNonOrthogonality(), primitiveMeshTools::faceOrthogonality(), sampledIsoSurfaceCell::faces(), sampledCuttingPlane::faces(), distanceSurface::faces(), sampledIsoSurface::faces(), orientedSurface::faceToEdge(), meshOctreeCube::findContainedEdges(), edgeExtractor::findCornerCandidates(), edgeExtractor::findEdgeCandidates(), searchableSurfaceCollection::findLine(), searchableCylinder::findLineAll(), searchableCone::findLineAll(), treeDataTriSurface::findNearest(), meshOctree::findNearestCorner(), meshOctree::findNearestEdgePoint(), meshOctree::findNearestSurfacePoint(), meshOctree::findNearestSurfacePointInRegion(), orientedSurface::findZoneSide(), orientedSurface::flipSurface(), UPstream::freeTag(), thermo< Thermo, Type >::g(), Foam::gAverage(), refineBoundaryLayers::generateNewVertices(), isoSurfaceCell::generatePoint(), isoSurface::generatePoint(), meshRefinement::generateRays(), isoSurfaceCell::genPointTris(), ISstream::getLine(), triSurfaceMesh::getNormal(), distributedTriSurfaceMesh::getNormal(), distributedTriSurfaceMesh::getRegion(), particle< Type >::hitCyclicAMIPatch(), particle< Type >::hitCyclicPatch(), if(), distributedTriSurfaceMesh::independentlyDistributedBbs(), boundBox::inflate(), Foam::stringOps::inplaceExpand(), Foam::stringOps::inplaceTrim(), Foam::stringOps::inplaceTrimLeft(), Foam::stringOps::inplaceTrimRight(), linearInterpolationWeights::integrationWeights(), volPointInterpolation::interpolateDimensionedInternalField(), Dual< Type >::interpolateGrad(), triangleFuncs::intersectAxesBundle(), treeBoundBox::intersects(), meshOctreeCubeCoordinates::intersectsLine(), meshOctreeCubeCoordinates::intersectsTriangleExact(), Foam::inv(), meshRefinement::isCollapsedFace(), Foam::jn(), List< T >::List(), List< substance >::List(), LongList< Foam::meshOctreeCube >::LongList(), Foam::LUDecompose(), Foam::mag(), Foam::magSqr(), main(), SVD::minNonZeroS(), molecule::move(), multiNormal::multiNormal(), Foam::name(), treeDataTriSurface::nearestCoords(), line::nearestDist(), surfaceFeatures::nearestEdges(), surfaceFeatures::nearestSamples(), Foam::neg(), Foam::negPart(), entry::New(), uniformSet::nextSample(), cellQuality::nonOrthogonality(), surfaceLocation::normal(), meshToMesh::normaliseWeights(), AMIInterpolation< SourcePatch, TargetPatch >::normaliseWeights(), Foam::help::numberOfFaceGroups(), pyrolysisChemistryModel< CompType, SolidThermo, GasThermo >::omega(), chemistryModel< CompType, ThermoType >::omega(), oneAtATimeHash(), oneAtATimeHashPH(), substance::operator!=(), refinementHistory::splitCell8::operator!=(), token::operator!=(), Foam::operator*(), specie::operator*=(), VectorSpace< DiagTensor< Cmpt >, Cmpt, 3 >::operator*=(), complex::operator*=(), septernion::operator*=(), perfectGas::operator*=(), rhoConst::operator*=(), constTransport::operator*=(), polynomialTransport::operator*=(), polynomialSolidTransport::operator*=(), perfectFluid::operator*=(), icoPolynomial::operator*=(), linear< Type >::operator*=(), polynomialFunction::operator*=(), incompressiblePerfectGas::operator*=(), hPolynomialThermo::operator*=(), PengRobinsonGas::operator*=(), adiabaticPerfectFluid::operator*=(), sutherlandTransport::operator*=(), quaternion::operator*=(), Boussinesq::operator*=(), dimensioned< Type >::operator*=(), thermo< Thermo, Type >::operator*=(), lduMatrix::operator*=(), complex::operator+=(), complex::operator-=(), Foam::operator/(), VectorSpace< DiagTensor< Cmpt >, Cmpt, 3 >::operator/=(), complex::operator/=(), septernion::operator/=(), polynomialFunction::operator/=(), quaternion::operator/=(), dimensioned< Type >::operator/=(), Foam::operator<<(), keyType::operator=(), refinementHistory::splitCell8::operator=(), complex::operator=(), quaternion::operator=(), token::operator=(), substance::operator==(), refinementHistory::splitCell8::operator==(), pointData::operator==(), token::operator==(), Foam::operator>>(), VectorSpaceOps< N, I >::opSV(), boundaryLayerOptimisation::optimiseThicknessVariation(), VectorSpaceOps< N, I >::opVS(), shellSurfaces::orient(), orientedSurface::orient(), orientedSurface::orientConsistent(), distributedTriSurfaceMesh::overlappingSurface(), Pair< word >::Pair(), molecule::constantProperties::pairPotentialSite(), AC3DsurfaceFormatCore::parse(), Foam::parseNASCoord(), NASCore::parseNASCoord(), subTriSurfaceMesh::patchNames(), Foam::pos(), Foam::posPart(), Foam::pow(), Foam::pow025(), Foam::pow3(), Foam::pow4(), Foam::pow5(), Foam::pow6(), autoSnapDriver::preventFaceSqueeze(), orientedSurface::propagateOrientation(), indexedOctree< Foam::treeDataFace >::pushPointIntoFace(), dynamicIndexedOctree::pushPointIntoFace(), quaternion::quaternion(), Random::randomise(), triangle< Foam::Vector, Foam::Vector >::randomPoint(), tetrahedron::randomPoint(), Foam::read(), HashPtrTable< ThermoType >::read(), ILList< DLListBase, entry >::read(), LPtrList< SLListBase, Reaction< Foam::sutherlandTransport > >::read(), PtrList< injectionModel >::read(), vtkUnstructuredReader::read(), dimensionSet::read(), IOPosition::readData(), Foam::readScalar(), meshOctreeAutomaticRefinement::refineBasedOnContainedPartitions(), meshOctreeAutomaticRefinement::refineBasedOnProximityTests(), meshOctreeCreator::refineBoxesContainedInObjects(), meshOctreeCreator::refineBoxesIntersectingEdgeMeshes(), meshOctreeCreator::refineBoxesIntersectingSurfaces(), refineBoundaryLayers::refineFace(), FixedList< bool, Foam::pTraits< Type >::nComponents >::resize(), faceAreaWeightAMI< SourcePatch, TargetPatch >::restartUncoveredSourceFace(), cyclicAMIPolyPatch::reverseTransformPosition(), Foam::rotationTensor(), hConstThermo::s(), hRefConstThermo::s(), eConstThermo::s(), hPolynomialThermo::s(), hPowerThermo::s(), janafThermo::s(), thermo< Thermo, Type >::S(), s_len_trim(), multiNormal::sample(), sampledSurfaces::sampleAndWrite(), cachedRandom::scalar01(), Foam::help::scalarToText(), searchableSurfaceCollection::searchableSurfaceCollection(), searchableSurfaces::searchableSurfaces(), searchableSurfaceWithGaps::searchableSurfaceWithGaps(), subTriSurfaceMesh::selectedRegions(), VectorSpaceOps< N, I >::SeqOp(), IOobject::setBad(), Foam::setComponent(), meshOctreeCreator::setRootCubeSizeAndRefParameters(), meshOctreeCreator::setScalingFactor(), graphRow< graphType >::setSize(), DynList< Foam::triFace >::setSize(), FixedList< bool, Foam::pTraits< Type >::nComponents >::setSize(), VRWGraphSMPModifier::setSizeAndRowSize(), foamChemistryReader< ThermoType >::setSpecies(), Foam::sign(), Dual< Type >::size(), Foam::sleep(), triSurfaceTools::snapToEnd(), solidMixtureProperties::solidMixtureProperties(), SprayParcel::solveTABEq(), RaviPetersen::speed(), Foam::sqr(), Foam::stabilise(), chemkinReader::stringToScalar(), stroustrup(), subTriSurfaceMesh::subset(), distributedTriSurfaceMesh::subsetMesh(), isoSurfaceCell::subsetMesh(), isoSurface::subsetMesh(), distributedTriSurfaceMesh::subsetMeshMap(), SVD::SVD(), swapec(), chemistryModel< CompType, ThermoType >::tc(), Foam::help::textToScalar(), timestring(), triSurfaceTools::track(), wallBoundedParticle::trackFaceTri(), triSurfaceTools::trackToEdge(), Foam::transform(), sixDoFRigidBodyMotion::transform(), cyclicAMIPolyPatch::transformPosition(), cyclicPolyPatch::transformPosition(), faceAreaIntersect::triangleIntersect(), triangle< Foam::Vector, Foam::Vector >::triangleOverlap(), triangulation_print(), Foam::help::triLineIntersection(), trim(), Foam::stringOps::trimLeft(), Foam::stringOps::trimRight(), turbGen::U(), medialAxisMeshMover::update(), sampledTriSurfaceMesh::update(), sampledSurfaces::update(), timeVaryingMappedFixedValuePointPatchField< Type >::updateCoeffs(), timeVaryingMappedFixedValueFvPatchField< Type >::updateCoeffs(), EulerImplicit< ChemistryModel >::updateRRInReactionI(), triSurfaceTools::visitFaces(), orientedSurface::walkSurface(), surfaceLocation::write(), meshRefinement::write(), faceCoupleInfo::writeEdges(), sampledSurfaces::writeGeometry(), cellZoneSet::writeObject(), pointZoneSet::writeObject(), faceZoneSet::writeObject(), faceCoupleInfo::writePointsFaces(), searchableSurfaces::writeStats(), sampledSurfaces::writeSurface(), and Foam::yn().

◆ if()

if ( s.  size())

Definition at line 37 of file gmvOutputSpray.H.

References forAll, n, Foam::name(), Foam::nl, and s().

Here is the call graph for this function: