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;{ pointField positions(particles.size());label particlei=0;forAllConstIter(Cloud< passiveParticle >, particles, iter) { positions[particlei++]=iter().position(mesh);} for(i=0;i< pTraits< point >::nComponents;i++) { forAll(positions, particlei) { gmvFile<< component(positions[particlei], i)<< ' ';} gmvFile<< nl;}}forAll(lagrangianScalarNames, i){ const word &name=lagrangianScalarNames[i];IOField< scalar > fld (IOobject(name, runTime.name(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
 
 if (fld.size())
 
 forAll (lagrangianVectorNames, i)
 

Function Documentation

◆ fld()

gmvFile<< "tracers " << particles.size() << nl;{ pointField positions(particles.size()); label particlei = 0; forAllConstIter(Cloud<passiveParticle>, particles, iter) { positions[particlei ++] = iter().position(mesh); } for (i = 0; i < pTraits<point>::nComponents; i ++) { forAll(positions, particlei) { gmvFile << component(positions[particlei], i) << ' '; } gmvFile << nl; }}forAll(lagrangianScalarNames, i){ const word& name = lagrangianScalarNames[i]; IOField<scalar> fld ( IOobject(name, runTime.name(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE)  )

Referenced by distributionMapBase::accessAndFlip(), Foam::AddPatchFields(), face::average(), triFace::average(), motionSmootherAlgo::avg(), extendedFaceToCellStencil::collectData(), extendedCellToFaceStencil::collectData(), extendedCentredFaceToCellStencil::collectData(), extendedCentredCellToCellStencil::collectData(), extendedCentredCellToFaceStencil::collectData(), nearWallFields::createFields(), mappedInternalPatchBase::distribute(), distributionMap::distribute(), distributionMapBase::distribute(), for(), forAll(), globalIndex::gather(), triSurfaceMesh::getField(), distributedTriSurfaceMesh::getField(), surfaceFieldValue::getFieldValues(), if(), FieldFunction1< Type, Function1Type >::integral(), pointToPointPlanarInterpolation::interpolate(), vtkMesh::interpolate(), transformer::invTransform(), timeVaryingMappedFvPatchField< Type >::map(), fvMeshAdder::MapDimFields(), fvMeshAdder::MapPointFields(), fvMeshAdder::MapSurfaceFields(), fvMeshAdder::MapVolFields(), cyclicFvPatchField< Type >::nbrPatchField(), distributionMap::transformPosition::operator()(), transformOp< PrimitivePatchType, Type, TrackingData >::operator()(), distributionMap::transform::operator()(), fvMeshDistribute::printFieldInfo(), regionSizeDistribution::regionSum(), Foam::ReorderPatchFields(), distributionMap::reverseDistribute(), distributionMapBase::reverseDistribute(), nearWallFields::sampleBoundaryField(), nearWallFields::sampleFields(), globalIndex::scatter(), motionSmootherAlgo::smooth(), cellsToCellsStabilisation::stabilise(), patchToPatchStabilisation::stabilise(), singleRegionSolutionControl::storePrevIterTypeFields(), meshRefinement::testSyncPointList(), mappedPatchBase::toNeighbour(), transformer::transform(), axesRotation::transformDiagTensor(), cylindrical::transformDiagTensor(), EulerCoordinateRotation::transformDiagTensor(), STARCDCoordinateRotation::transformDiagTensor(), timeVaryingMappedFixedValuePointPatchField< Type >::updateCoeffs(), FieldFunction1< Type, Function1Type >::value(), FieldFunction2< Type, Function2Type >::value(), extendedFaceToCellStencil::weightedSum(), extendedCellToFaceStencil::weightedSum(), extendedCentredFaceToCellStencil::weightedSum(), extendedUpwindCellToFaceStencil::weightedSum(), extendedCentredCellToFaceStencil::weightedSum(), extendedCentredCellToCellStencil::weightedSum(), Table< Type >::x(), and Table< Type >::y().

◆ if()

if ( fld.  size())

Definition at line 39 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, 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: