gmvOutputSpray.H File Reference

Go to the source code of this file.

Functions

gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.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;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.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 greyMeanAbsorptionEmission::aCont(), wideBandAbsorptionEmission::aCont(), dynamicOversetFvMesh::addInterpolation(), UPstream::allocateTag(), Foam::areaInvDistSqrWeightedNormal(), Foam::atan2(), Foam::barycentric01(), barycentric01Impl(), Foam::barycentric2D01(), barycentric2D01Impl(), triSurfaceTools::calcInterpolationWeights(), StandardChemistryModel< CompType, ThermoType >::calculate(), genericRagelLemonDriver::cbegin(), genericRagelLemonDriver::cend(), voxelMeshSearch::centre(), fvPatchField< symmTensor >::check(), searchableSurfaces::checkClosed(), primitiveMeshGeometry::checkFaceDotProduct(), searchableSurfaces::checkNormalOrientation(), searchableSurfaces::checkQuality(), triSurfaceTools::classify(), Foam::cmptAv(), Foam::cmptMag(), Foam::cmptMagSqr(), Foam::cmptMax(), Foam::cmptMin(), Foam::cmptSqr(), conjugateGradient::computeCorrection(), rotorDiskSource::constructGeometry(), genericRagelLemonDriver::content(), eddyDissipationModelBase< ReactionThermo, ThermoType >::correct(), infinitelyFastChemistry< ReactionThermo, ThermoType >::correct(), particle< Type >::correctAfterParallelTransfer(), Foam::stringOps::count(), particle< Type >::currentTimeFraction(), cutFaceAdvect::cutPoints(), diaedg(), distributedTriSurfaceMesh::distribute(), snappyVoxelMeshDriver::doRefine(), Foam::dot(), molecule::constantProperties::electrostaticSite(), string::ends_with(), energyTransport::energyTransport(), VectorSpaceOps< N, I >::eqOpS(), Grimshaw::eta(), faPatchField< scalar >::evaluate(), setFlow::execute(), energyTransport::execute(), scalarTransport::execute(), Foam::stringOps::expand(), expressionEntry::expand(), Foam::expandLeading(), Foam::expandLeadingTag(), Foam::expandLeadingTilde(), Foam::expandString(), treeBoundBox::extend(), cellQuality::faceNonOrthogonality(), primitiveMeshTools::faceOrthogonality(), fileOperationInitialise::fileOperationInitialise(), searchableSurfaceCollection::findLine(), searchableExtrudedCircle::findNearest(), searchableSurfacesQueries::findNearest(), findParameterAlternative(), Foam::findRootEllipseDistance(), Foam::findRootEllipsoidDistance(), UPstream::freeTag(), relaxedNonOrthoGaussLaplacianScheme< Type, GType >::fvmLaplacian(), Foam::gAverage(), FIRECore::getFireString(), triSurfaceMesh::getNormal(), distributedTriSurfaceMesh::getNormal(), distributedTriSurfaceMesh::getRegion(), particle< Type >::hitCyclicAMIPatch(), particle< Type >::hitCyclicPatch(), Foam::HSV_to_RGB(), if(), memorybuf::in::in(), voxelMeshSearch::index(), voxelMeshSearch::index3(), boundBox::inflate(), fluxSummary::initialiseSurfaceAndDirection(), expressionEntry::inplaceExpand(), Foam::stringOps::inplaceExpand(), Foam::stringOps::inplaceLower(), Foam::stringOps::inplaceRemoveComments(), Foam::stringOps::inplaceRemoveSpace(), Foam::stringOps::inplaceReplaceVar(), Foam::stringOps::inplaceTrim(), Foam::stringOps::inplaceTrimLeft(), Foam::stringOps::inplaceTrimRight(), Foam::stringOps::inplaceUpper(), dynamicOversetFvMesh::interpolate(), volPointInterpolation::interpolateDimensionedInternalField(), Foam::colourTools::interpolateDiverging(), Dual< Type >::interpolateGrad(), Foam::colourTools::interpolateHSV(), Foam::colourTools::interpolateRGB(), isoSurfaceTopo::interpolateTemplate(), triangleFuncs::intersectAxesBundle(), treeBoundBox::intersects(), Foam::inv(), Foam::Math::invIncGamma(), fileName::isBackup(), isoSurfaceTopo::isoSurfaceTopo(), token::isWord(), TDACChemistryModel< CompType, ThermoType >::jacobian(), updateMethod::leftMult(), triangle2D::lineSegmentIntersectionPoint(), Foam::stringOps::lower(), Foam::LUDecompose(), Foam::mag(), Foam::magSqr(), dynamicRefineFvMesh::mapFields(), meshedSurfRef::meshedSurfRef(), Foam::minimaxs(), SVD::minNonZeroS(), trackedParticle::move(), molecule::move(), KinematicParcel< ParcelType >::move(), Foam::name(), line< Point, PointRef >::nearestDist(), surfaceFeatures::nearestEdges(), surfaceFeatures::nearestSamples(), Foam::neg(), Foam::neg0(), Foam::negPart(), cellQuality::nonOrthogonality(), surfaceLocation::normal(), Field< Type >::normalise(), quaternion::normalise(), Foam::normalised(), AMIInterpolation::normaliseWeights(), pyrolysisChemistryModel< CompType, SolidThermo, GasThermo >::omega(), StandardChemistryModel< ReactionThermo, ThermoType >::omega(), StandardChemistryModel< CompType, ThermoType >::omegaI(), token::operator!=(), substance::operator!=(), regExpCxx::meta::operator()(), Foam::operator*(), SubField< Type >::operator*=(), MinMax< T >::operator*=(), dimensioned< Type >::operator*=(), complex::operator*=(), quaternion::operator*=(), faPatchField< Type >::operator*=(), fvPatchField< Type >::operator*=(), polynomialFunction::operator*=(), septernion::operator*=(), VectorSpace< Form, Cmpt, Ncmpts >::operator*=(), adjointFarFieldPressureFvPatchScalarField::operator*=(), polynomialSolidTransport< Thermo, PolySize >::operator*=(), adiabaticPerfectFluid< Specie >::operator*=(), Boussinesq< Specie >::operator*=(), icoPolynomial< Specie, PolySize >::operator*=(), incompressiblePerfectGas< Specie >::operator*=(), linear< Type >::operator*=(), PengRobinsonGas< Specie >::operator*=(), perfectFluid< Specie >::operator*=(), perfectGas< Specie >::operator*=(), rhoConst< Specie >::operator*=(), rPolynomial< Specie >::operator*=(), specie::operator*=(), hPolynomialThermo< EquationOfState, PolySize >::operator*=(), thermo< Thermo, Type >::operator*=(), constTransport< Thermo >::operator*=(), logPolynomialTransport< Thermo, PolySize >::operator*=(), polynomialTransport< Thermo, PolySize >::operator*=(), sutherlandTransport< Thermo >::operator*=(), WLFTransport< Thermo >::operator*=(), Matrix< Form, Type >::operator*=(), LduMatrix< Type, DType, LUType >::operator*=(), lduMatrix::operator*=(), Foam::operator+(), complex::operator+=(), Matrix< Form, Type >::operator+=(), complex::operator-=(), Matrix< Form, Type >::operator-=(), Foam::operator/(), SubField< Type >::operator/=(), MinMax< T >::operator/=(), dimensioned< Type >::operator/=(), complex::operator/=(), quaternion::operator/=(), polynomialFunction::operator/=(), septernion::operator/=(), VectorSpace< Form, Cmpt, Ncmpts >::operator/=(), adjointFarFieldPressureFvPatchScalarField::operator/=(), fileName::operator/=(), Matrix< Form, Type >::operator/=(), Foam::operator<<(), complex::operator=(), quaternion::operator=(), fvsPatchField< scalar >::operator=(), word::operator=(), token::operator=(), scaledFixedValueFvPatchField< Type >::operator==(), token::operator==(), substance::operator==(), Foam::operator>>(), VectorSpaceOps< N, I >::opSV(), VectorSpaceOps< N, I >::opVS(), orientedSurface::orient(), memorybuf::out::out(), distributedTriSurfaceMesh::overlappingSurface(), Pair< word >::Pair(), Pair< T >::Pair(), molecule::constantProperties::pairPotentialSite(), scalarRanges::parse(), Foam::pos(), Foam::pos0(), projectCurveEdge::position(), polyline::positionAndDirection(), Foam::posPart(), Foam::pow(), Foam::pow025(), Foam::pow3(), Foam::pow4(), Foam::pow5(), Foam::pow6(), quaternion::quaternion(), Foam::Ra(), sampledSets::read(), sampledSurfaces::read(), dimensionSet::read(), ensightSurfaceReader::readCase(), particle< Type >::readData(), functionEntry::readLine(), Foam::recursiveExpand(), DAC< CompType, ThermoType >::reduceMechanism(), DRG< CompType, ThermoType >::reduceMechanism(), DRGEP< CompType, ThermoType >::reduceMechanism(), EFA< CompType, ThermoType >::reduceMechanism(), PFA< CompType, ThermoType >::reduceMechanism(), Foam::stringOps::removeComments(), meshRefinement::removeGapCells(), FieldField< Field, Type >::replace(), fvFieldDecomposer::reset(), meshedSurfRef::reset(), faceAreaWeightAMI::restartUncoveredSourceFace(), cyclicAMIPolyPatch::reverseTransformPosition(), Foam::RGB_to_HSV(), updateMethod::rightMult(), Foam::rotationTensor(), Foam::Rx(), Foam::Ry(), Foam::Rz(), s_len_trim(), PPCG::scalarSolveCG(), scalarTransport::scalarTransport(), scaledFixedValueFvPatchField< Type >::scaledFixedValueFvPatchField(), searchableSurfaceCollection::searchableSurfaceCollection(), searchableSurfaces::searchableSurfaces(), VectorSpaceOps< N, I >::SeqOp(), IOobject::setBad(), UnsortedMeshedSurface< Face >::setSize(), Foam::shorterPath(), Foam::sign(), solidMixtureProperties::solidMixtureProperties(), StandardChemistryModel< CompType, ThermoType >::solve(), dynamicOversetFvMesh::solve(), SprayParcel< ParcelType >::solveTABEq(), Foam::sqr(), Foam::stabilise(), StandardChemistryModel< CompType, ThermoType >::StandardChemistryModel(), string::starts_with(), faceAreaWeightAMI2D::storeInterArea(), StringStreamAllocator< StreamType >::str(), fluxSummary::surfaceModeWrite(), SVD::SVD(), swapec(), StandardChemistryModel< ReactionThermo, ThermoType >::tc(), timestring(), fluxSummary::totalArea(), triSurfaceTools::track(), wallBoundedParticle::trackFaceTri(), triSurfaceTools::trackToEdge(), triSurface::transfer(), sixDoFRigidBodyMotion::transform(), Foam::transform(), rigidBodyMotion::transformPoints(), cyclicAMIPolyPatch::transformPosition(), cyclicPolyPatch::transformPosition(), triangle< Point, PointRef >::triangleOverlap(), triangulation_print(), Foam::stringOps::trim(), Foam::stringOps::trimLeft(), Foam::stringOps::trimRight(), turbGen::U(), Grimshaw::Uf(), triangle< Point, PointRef >::unitNormal(), face::unitNormal(), triFace::unitNormal(), line< Point, PointRef >::unitVec(), edge::unitVec(), surfaceFieldValue::update(), cellVolumeWeight::update(), plenumPressureFvPatchScalarField::updateCoeffs(), scaledFixedValueFvPatchField< Type >::updateCoeffs(), timeVaryingMappedFixedValuePointPatchField< Type >::updateCoeffs(), BFGS::updateHessian(), DBFGS::updateHessian(), SR1::updateHessian(), EulerImplicit< ChemistryModel >::updateRRInReactionI(), Foam::stringOps::upper(), word::validate(), colourTable::value(), MappedFile< Type >::value(), Vector2D< scalar >::Vector2D(), exprDriver::weightedAverage(), surfaceFieldValue::write(), scalarTransport::write(), meshRefinement::write(), appendRawFormatter::write(), foamVtkBase64Layer::write(), legacyRawFormatter::write(), base64Layer::write(), faePatchField< scalar >::write(), fvsPatchField< scalar >::write(), functionEntry::write(), surfaceLocation::write(), voxelMeshSearch::writeGrid(), injectedParticle::writePosition(), particle< Type >::writePosition(), passivePositionParticle::writePosition(), searchableSurfaces::writeStats(), eddy::writeSurfaceOBJ(), Vector< float >::x(), memorybuf::in::xsgetn(), and memorybuf::out::xsputn().

◆ if()

if ( s.  size())

Definition at line 37 of file gmvOutputSpray.H.

References forAll, n, and s().

Here is the call graph for this function: