Functions
gmvOutputLagrangian.H File Reference
This graph shows which files directly or indirectly include this file:

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){ const word &name=lagrangianScalarNames[i];IOField< scalar > fld (IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
 
 if (fld.size())
 
 forAll (lagrangianVectorNames, i)
 

Function Documentation

◆ fld()

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){ const word& name = lagrangianScalarNames[i]; IOField<scalar> fld ( IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE)  )

Referenced by mapDistributeBase::accessAndFlip(), isoSurface::adaptPatchFields(), meshToMesh::add(), fvMeshTools::addPatchFields(), meshRefinement::addPatchFields(), triFace::average(), face::average(), motionSmootherAlgo::avg(), motionSmootherAlgo::checkFld(), extendedFaceToCellStencil::collectData(), extendedCellToFaceStencil::collectData(), extendedCentredCellToFaceStencil::collectData(), extendedCentredFaceToCellStencil::collectData(), extendedCentredCellToCellStencil::collectData(), vtkPV3Foam::convertPointFields(), vtkPV4Foam::convertPointFields(), fvMeshDistribute::correctBoundaryConditions(), correctCoupledBoundaryConditions(), nearWallFields::createFields(), sampledCuttingPlane::createGeometry(), distanceSurface::createGeometry(), createScalarField(), DataEntry::dimIntegrate(), DataEntry::dimValue(), mapDistributeBase::distribute(), mapDistribute::distribute(), dynamicRefineFvMesh::error(), displacementLayeredMotionMotionSolver::faceZoneEvaluate(), for(), forAll(), globalIndex::gather(), externalCoupledFunctionObject::gatherAndCombine(), fvMeshDistribute::generateTestField(), surfaceMeshWriter::getFaceField(), triSurfaceMesh::getField(), distributedTriSurfaceMesh::getField(), coalCloudList::hsTrans(), if(), fvMeshDistribute::initPatchFields(), DataEntry::integrate(), cyclicAMIPolyPatch::interpolate(), regionCoupledBase::interpolate(), pointToPointPlanarInterpolation::interpolate(), vtkMesh::interpolate(), cyclicAMIFvPatch::interpolate(), surfaceInterpolateFields::interpolateFields(), AMIInterpolation< SourcePatch, TargetPatch >::interpolateToSource(), AMIInterpolation< SourcePatch, TargetPatch >::interpolateToTarget(), main(), fvMeshDistribute::mapBoundaryFields(), fvMeshAdder::MapDimField(), fvMeshAdder::MapDimFields(), fvMeshDistribute::mapExposedFaces(), fvMeshAdder::MapSurfaceField(), fvMeshAdder::MapSurfaceFields(), fvMeshAdder::MapVolField(), fvMeshAdder::MapVolFields(), motionSmootherAlgo::minSmooth(), cyclicFvPatchField< scalar >::neighbourPatchField(), cyclicAMIFvPatchField< scalar >::neighbourPatchField(), cyclicACMIFvPatchField< Type >::neighbourPatchField(), cyclicACMIFvPatchField< Type >::nonOverlapPatchField(), mapDistribute::transform::operator()(), mapDistribute::transformPosition::operator()(), transformOp< PrimitivePatchType, Type, TrackingData >::operator()(), fvMeshDistribute::printFieldInfo(), polyMeshFilter::printScalarFieldStats(), turbulenceFields::processField(), mappedPatchBase::readListOrField(), parFvFieldReconstructor::reconstructFvSurfaceField(), parFvFieldReconstructor::reconstructFvVolumeField(), parFvFieldReconstructor::reconstructFvVolumeInternalField(), regionSizeDistribution::regionSum(), fvMeshTools::reorderPatchFields(), meshRefinement::reorderPatchFields(), mapDistributeBase::reverseDistribute(), mapDistribute::reverseDistribute(), coalCloudList::rhoTrans(), cuttingPlane::sample(), sampledSurfaces::sampleAndWrite(), nearWallFields::sampleBoundaryField(), nearWallFields::sampleFields(), mappedPatchBase::samplePoints(), fvMeshDistribute::saveBoundaryFields(), fvMeshDistribute::saveInternalFields(), motionSmootherAlgo::scaleField(), globalIndex::scatter(), fvMeshDistribute::sendFields(), triSurfaceMesh::setField(), faceSource::setFieldValues(), fvMeshTools::setPatchFields(), rawTopoChangerFvMesh::setUnmappedValues(), motionSmootherAlgo::smooth(), coalCloudList::Srho(), solutionControl::storePrevIter(), subsetDimensionedFields(), subsetPointFields(), subsetSurfaceFields(), subsetVolFields(), motionSmootherAlgo::subtractField(), cyclicPointPatchField< Type >::swapAddSeparated(), cyclicACMIPointPatchField< Type >::swapAddSeparated(), cyclicAMIPointPatchField< Type >::swapAddSeparated(), fvMeshDistribute::testField(), motionSmootherAlgo::testSyncField(), meshRefinement::testSyncPointList(), motionSmootherAlgo::testSyncPositions(), vectorTensorTransform::transform(), axesRotation::transformVector(), STARCDCoordinateRotation::transformVector(), EulerCoordinateRotation::transformVector(), cylindrical::transformVector(), fvMeshTools::trimPatchFields(), timeVaryingMappedFixedValuePointPatchField< Type >::updateCoeffs(), timeVaryingMappedFixedValueFvPatchField< Type >::updateCoeffs(), fvPatchField< Type >::updateCoeffs(), coalCloudList::UTrans(), DataEntry::value(), extendedUpwindCellToFaceStencil::weightedSum(), extendedFaceToCellStencil::weightedSum(), extendedCellToFaceStencil::weightedSum(), extendedCentredCellToFaceStencil::weightedSum(), extendedCentredFaceToCellStencil::weightedSum(), extendedCentredCellToCellStencil::weightedSum(), vtkTools::write(), writeFuns::write(), ensightSetWriter< Type >::write(), vtkSetWriter< Type >::write(), surfaceMeshWriter::write(), patchWriter::write(), regionSizeDistribution::write(), lagrangianWriter::writeIOField(), autoLayerDriver::writeLayerData(), TableBase::x(), TableBase::y(), and rawTopoChangerFvMesh::zeroUnmappedValues().

◆ if()

if ( fld.  size())

Definition at line 37 of file gmvOutputLagrangian.H.

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

Here is the call graph for this function:

◆ forAll()

forAll ( lagrangianVectorNames  ,
 
)

Definition at line 51 of file gmvOutputLagrangian.H.

References fld(), lagrangianVectorNames, mesh, n, Foam::name(), and Foam::nl.

Referenced by if().

Here is the call graph for this function:
Here is the caller graph for this function: