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) | |
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(), fvMeshStitcher::boundaryFieldRefNoUpdate(), extendedFaceToCellStencil::collectData(), extendedCellToFaceStencil::collectData(), extendedCentredFaceToCellStencil::collectData(), extendedCentredCellToCellStencil::collectData(), extendedCentredCellToFaceStencil::collectData(), 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()(), regionSizeDistribution::regionSum(), Foam::ReorderPatchFields(), distributionMap::reverseDistribute(), distributionMapBase::reverseDistribute(), globalIndex::scatter(), motionSmootherAlgo::smooth(), cellsToCellsStabilisation::stabilise(), patchToPatchStabilisation::stabilise(), meshRefinement::testSyncPointList(), mappedFvPatchBase::toNeighbour(), nonConformalMappedFvPatchBase::toNeighbour(), 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 | ( | fld. | size() | ) |
Definition at line 39 of file gmvOutputLagrangian.H.
References fld(), forAll(), n, Foam::name(), and Foam::nl.
forAll | ( | lagrangianVectorNames | , |
i | |||
) |
Definition at line 51 of file gmvOutputLagrangian.H.
References fld(), lagrangianVectorNames, n, Foam::name(), and Foam::nl.
Referenced by if().