Functions | |
void | swapWord (label &word32) |
Swap halves of word. More... | |
void | swapWords (const label nWords, label *words32) |
Swap halves of word. More... | |
void | writeHeader (std::ostream &, const bool isBinary, const std::string &title) |
Write header. More... | |
void | writeCellDataHeader (std::ostream &, const label nCells, const label nFields) |
void | writePointDataHeader (std::ostream &, const label nPoints, const label nFields) |
void | write (std::ostream &os, const bool binary, List< floatScalar > &fField) |
Write floats ascii or binary. More... | |
void | write (std::ostream &, const bool, DynamicList< floatScalar > &) |
Write floats ascii or binary. More... | |
void | write (std::ostream &, const bool, labelList &) |
Write floats ascii or binary. More... | |
void | write (std::ostream &, const bool, DynamicList< label > &) |
Write floats ascii or binary. More... | |
void | insert (const scalar, DynamicList< floatScalar > &) |
Append scalar to given DynamicList. More... | |
void | insert (const point &, DynamicList< floatScalar > &) |
Append point to given DynamicList. More... | |
void | insert (const sphericalTensor &, DynamicList< floatScalar > &) |
Append sphericalTensor to given DynamicList. More... | |
void | insert (const symmTensor &, DynamicList< floatScalar > &) |
Append symmTensor to given DynamicList. More... | |
void | insert (const tensor &, DynamicList< floatScalar > &) |
Append tensor to given DynamicList. More... | |
void | insert (const labelList &, DynamicList< label > &) |
Append elements to DynamicList. More... | |
template<class Type > | |
void | insert (const List< Type > &, DynamicList< floatScalar > &) |
Append elements to DynamicList. More... | |
void | insert (const labelList &map, const List< scalar > &source, DynamicList< floatScalar > &) |
Append elements of scalarList to given DynamicList using map. More... | |
void | insert (const List< point > &source, DynamicList< floatScalar > &) |
Append points to given DynamicList of floats. More... | |
void | insert (const labelList &map, const List< point > &source, DynamicList< floatScalar > &) |
Append points to given DynamicList of floats using map. More... | |
template<class Type > | |
void | write (std::ostream &, const bool binary, const DimensionedField< Type, volMesh > &, const vtkMesh &) |
Write volField with cell values (including decomposed cells) More... | |
template<class Type > | |
void | write (std::ostream &, const bool binary, const GeometricField< Type, pointPatchField, pointMesh > &, const vtkMesh &) |
Write pointField on all mesh points. Interpolate to cell centre. More... | |
template<class Type > | |
void | write (std::ostream &, const bool binary, const GeometricField< Type, fvPatchField, volMesh > &, const GeometricField< Type, pointPatchField, pointMesh > &, const vtkMesh &) |
Write interpolated field on points and original cell values on. More... | |
template<class Type , template< class > class PatchField, class GeoMesh > | |
void | write (std::ostream &, const bool binary, const PtrList< GeometricField< Type, PatchField, GeoMesh >> &, const vtkMesh &) |
Write generic GeometricFields. More... | |
template<class Type > | |
void | write (std::ostream &, const bool binary, const volPointInterpolation &, const PtrList< GeometricField< Type, fvPatchField, volMesh >> &, const vtkMesh &) |
Interpolate and write volFields. More... | |
void Foam::vtkWriteOps::swapWord | ( | label & | word32 | ) |
Swap halves of word.
void Foam::vtkWriteOps::writeHeader | ( | std::ostream & | , |
const bool | isBinary, | ||
const std::string & | title | ||
) |
Write header.
Referenced by X3DsurfaceFormat< Face >::write(), WRLsurfaceFormat< Face >::write(), AC3DsurfaceFormat< Face >::write(), VTKsurfaceFormat< Face >::write(), VTKedgeFormat::write(), STARCDsurfaceFormat< Face >::write(), OFSsurfaceFormat< Face >::write(), decomposedBlockData::writeData(), rawSurfaceWriter::writeData(), externalCoupledMixedFvPatchField< scalar >::writeData(), ensightPart::writeField(), timeStep::writeFileHeader(), time::writeFileHeader(), residuals::writeFileHeader(), rigidBodyState::writeFileHeader(), sixDoFRigidBodyState::writeFileHeader(), cloudInfo::writeFileHeader(), wallHeatFlux::writeFileHeader(), wallShearStress::writeFileHeader(), wallHeatTransferCoeff::writeFileHeader(), forceCoeffs::writeFileHeader(), and forces::writeFileHeader().
void Foam::vtkWriteOps::writeCellDataHeader | ( | std::ostream & | , |
const label | nCells, | ||
const label | nFields | ||
) |
void Foam::vtkWriteOps::writePointDataHeader | ( | std::ostream & | , |
const label | nPoints, | ||
const label | nFields | ||
) |
void Foam::vtkWriteOps::write | ( | std::ostream & | os, |
const bool | binary, | ||
List< floatScalar > & | fField | ||
) |
Write floats ascii or binary.
If binary optionally in-place swaps argument
Referenced by meshRefinement::balanceAndRefine(), interpolationCellPointWallModified< Type >::calcPointField(), Pstream::combineGather(), Pstream::combineScatter(), processorLduInterface::compressedSend(), constAnIsoSolidTransport< Thermo >::constAnIsoSolidTransport(), constIsoSolidTransport< Thermo >::constIsoSolidTransport(), constTransport< Thermo >::constTransport(), fvFieldDecomposer::decomposeFields(), mapDistributeBase::distribute(), ensightGeoFile::ensightGeoFile(), Pstream::exchange(), exponentialSolidTransport< Thermo >::exponentialSolidTransport(), GAMGSolver::GAMGSolver(), globalIndex::gather(), processorFvPatchField< Type >::initEvaluate(), processorFvPatchField< Type >::initInterfaceMatrixUpdate(), processorCyclicPointPatchField< Type >::initSwapAddSeparated(), Foam::stringOps::inplaceExpand(), dictionary::isNull(), Pstream::listCombineGather(), Pstream::listCombineScatter(), meshRefinement::mergeEdgesUndo(), meshRefinement::mergePatchFacesUndo(), masterUncollatedFileOperation::readDirOp::operator()(), regionModelFunctionObject::postEvolveRegion(), MomentumParcel< ParcelType >::readFields(), CollidingParcel< ParcelType >::readFields(), molecule::readFields(), SprayParcel< ParcelType >::readFields(), Foam::reconstructLagrangianPositions(), codedMixedFvPatchField< Type >::redirectPatchField(), meshRefinement::refineAndBalance(), globalIndex::scatter(), processorLduInterface::send(), LUscalarMatrix::solve(), timeVaryingMappedFvPatchField< Type >::time(), triSurface::triSurfInstance(), thermo< Thermo, Type >::typeName(), AC3DsurfaceFormat< Face >::write(), OBJstream::write(), cellMotionFvPatchField< Type >::write(), starcdSurfaceWriter::write(), processorField::write(), edgeMeshFormat::write(), CloudSubModelBase< Foam::ReactingCloud< Foam::DSMCCloud > >::write(), DispersionRASModel< CloudType >::write(), IOOutputFilter< OutputFilter >::write(), timeVaryingAlphaContactAngleFvPatchScalarField::write(), constantAlphaContactAngleFvPatchScalarField::write(), inclinedFilmNusseltHeightFvPatchScalarField::write(), gradientEnergyFvPatchScalarField::write(), fixedNormalSlipPointPatchField< Type >::write(), kqRWallFunctionFvPatchField< Type >::write(), fixedFluxPressureFvPatchScalarField::write(), solidBodyMotionDisplacementPointPatchVectorField::write(), alphaContactAngleFvPatchScalarField::write(), calculatedFvPatchField< Type >::write(), uniformFixedValuePointPatchField< Type >::write(), fixedMeanFvPatchField< Type >::write(), valuePointPatchField< vector >::write(), sutherlandTransport< Thermo >::write(), perfectGas< Specie >::write(), icoTabulatedTransport< Thermo >::write(), rhoConst< Specie >::write(), WLFTransport< Thermo >::write(), setWriter< Foam::SphericalTensor >::write(), uniformFixedValueFvPatchField< Type >::write(), PrghPressureFvPatchScalarField< PressureFvPatchScalarField >::write(), freestreamFvPatchField< Type >::write(), uniformFixedGradientFvPatchField< Type >::write(), fixedMeanOutletInletFvPatchField< Type >::write(), outletInletFvPatchField< Type >::write(), mappedFixedInternalValueFvPatchField< Type >::write(), uniformJumpFvPatchField< Type >::write(), polynomialTransport< Thermo, PolySize >::write(), uniformJumpAMIFvPatchField< Type >::write(), eConstThermo< EquationOfState >::write(), hConstThermo< EquationOfState >::write(), incompressiblePerfectGas< Specie >::write(), temperatureDependentAlphaContactAngleFvPatchScalarField::write(), polynomialSolidTransport< Thermo, PolySize >::write(), eIcoTabulatedThermo< EquationOfState >::write(), hIcoTabulatedThermo< EquationOfState >::write(), outletMappedUniformInletFvPatchField< Type >::write(), waveInletOutletFvPatchField< Type >::write(), linear< Type >::write(), inletOutletFvPatchField< Type >::write(), icoTabulated< Specie >::write(), tabulatedTransport< Thermo >::write(), perfectFluid< Specie >::write(), fixedValueFvPatchField< scalar >::write(), fixedJumpAMIFvPatchField< scalar >::write(), fixedJumpFvPatchField< scalar >::write(), timeVaryingMappedFixedValuePointPatchField< Type >::write(), wavePressureFvPatchScalarField::write(), logPolynomialTransport< Thermo, PolySize >::write(), wideBandDiffusiveRadiationMixedFvPatchScalarField::write(), PengRobinsonGas< Specie >::write(), cyclicFvPatchField< Type >::write(), adiabaticPerfectFluid< Specie >::write(), slicedFvPatchField< Type >::write(), MarshakRadiationFvPatchScalarField::write(), codedFixedValueFvPatchField< Type >::write(), surfaceDisplacementPointPatchVectorField::write(), Boussinesq< Specie >::write(), turbulentTemperatureCoupledBaffleMixedFvPatchScalarField::write(), greyDiffusiveViewFactorFixedValueFvPatchScalarField::write(), MarshakRadiationFixedTemperatureFvPatchScalarField::write(), uniformInletOutletFvPatchField< Type >::write(), partialSlipFvPatchField< Type >::write(), codedFixedValuePointPatchField< Type >::write(), cyclicAMIFvPatchField< Type >::write(), directionMixedFvPatchField< Type >::write(), fixedNormalSlipFvPatchField< Type >::write(), greyDiffusiveRadiationMixedFvPatchScalarField::write(), codedMixedFvPatchField< Type >::write(), mappedFixedValueFvPatchField< Type >::write(), janafThermo< EquationOfState >::write(), icoPolynomial< Specie, PolySize >::write(), waveAlphaFvPatchScalarField::write(), turbulentTemperatureRadCoupledMixedFvPatchScalarField::write(), fixedProfileFvPatchField< Type >::write(), mappedFieldFvPatchField< Type >::write(), coupledFvPatchField< Type >::write(), rPolynomial< Specie >::write(), ReversibleReaction< ReactionThermo, ReactionRate >::write(), IrreversibleReaction< ReactionThermo, ReactionRate >::write(), hPolynomialThermo< EquationOfState, PolySize >::write(), ePolynomialThermo< EquationOfState, PolySize >::write(), hTabulatedThermo< EquationOfState >::write(), eTabulatedThermo< EquationOfState >::write(), rhoTabulated< Specie >::write(), fanPressureJumpFvPatchScalarField::write(), waveTransmissiveFvPatchField< Type >::write(), advectiveFvPatchField< Type >::write(), waveVelocityFvPatchVectorField::write(), thermalBaffle1DFvPatchScalarField< solidType >::write(), NonEquilibriumReversibleReaction< ReactionThermo, ReactionRate >::write(), fixedGradientFvPatchField< Type >::write(), timeVaryingMappedFixedValueFvPatchField< Type >::write(), UnsortedMeshedSurface< Face >::write(), turbulentInletFvPatchField< Type >::write(), MeshedSurface< Foam::face >::write(), mixedFvPatchField< scalar >::write(), thermo< Thermo, Type >::write(), Reaction< ReactionThermo >::write(), externalCoupledMixedFvPatchField< scalar >::write(), meshRefinement::write(), Foam::writeCellGraph(), setWriter< Foam::SphericalTensor >::writeCoord(), MomentumParcel< ParcelType >::writeFields(), CollidingParcel< ParcelType >::writeFields(), molecule::writeFields(), SprayParcel< ParcelType >::writeFields(), Foam::writePatchGraph(), OBJstream::writeQuoted(), setWriter< Foam::SphericalTensor >::writeTable(), and volFieldValue::writeValues().
void Foam::vtkWriteOps::write | ( | std::ostream & | , |
const bool | , | ||
DynamicList< floatScalar > & | |||
) |
Write floats ascii or binary.
If binary optionally in-place swaps argument
void Foam::vtkWriteOps::write | ( | std::ostream & | , |
const bool | , | ||
labelList & | |||
) |
Write floats ascii or binary.
If binary optionally in-place swaps argument
void Foam::vtkWriteOps::write | ( | std::ostream & | , |
const bool | , | ||
DynamicList< label > & | |||
) |
Write floats ascii or binary.
If binary optionally in-place swaps argument
void Foam::vtkWriteOps::insert | ( | const scalar | , |
DynamicList< floatScalar > & | |||
) |
Append scalar to given DynamicList.
Referenced by dynamicIndexedOctree< Foam::dynamicTreeDataPoint >::dynamicIndexedOctree(), negEntry::execute(), calcEntry::execute(), codeStream::execute(), graph::graph(), HashPtrTable< T, label, Hash< label > >::HashPtrTable(), HashSet< Foam::triFace, Foam::Hash< Foam::triFace > >::HashSet(), HashTable< Pair< autoPtr< interfaceCompositionModel > >, phasePairKey, phasePairKey::hash >::HashTable(), HashSet< Foam::triFace, Foam::Hash< Foam::triFace > >::insert(), cellShapeControlMesh::insert(), DictionaryBase< DLPtrList< T >, T >::insert(), LList< Foam::string >::insert(), cellShapeControlMesh::insertFar(), CV2D::movePoint(), NamedEnum< compressibleField, 8 >::NamedEnum(), ListHashTable< T, Key, Hash >::operator()(), HashTable< Pair< autoPtr< interfaceCompositionModel > >, phasePairKey, phasePairKey::hash >::operator()(), HashPtrTable< T, label, Hash< label > >::operator=(), HashTable< Pair< autoPtr< interfaceCompositionModel > >, phasePairKey, phasePairKey::hash >::operator=(), HashSet< Foam::triFace, Foam::Hash< Foam::triFace > >::operator^=(), HashSet< Foam::triFace, Foam::Hash< Foam::triFace > >::operator|=(), coordinateSystems::readData(), and graph::wordify().
void Foam::vtkWriteOps::insert | ( | const point & | , |
DynamicList< floatScalar > & | |||
) |
Append point to given DynamicList.
void Foam::vtkWriteOps::insert | ( | const sphericalTensor & | , |
DynamicList< floatScalar > & | |||
) |
Append sphericalTensor to given DynamicList.
void Foam::vtkWriteOps::insert | ( | const symmTensor & | , |
DynamicList< floatScalar > & | |||
) |
Append symmTensor to given DynamicList.
void Foam::vtkWriteOps::insert | ( | const tensor & | , |
DynamicList< floatScalar > & | |||
) |
Append tensor to given DynamicList.
void Foam::vtkWriteOps::insert | ( | const labelList & | , |
DynamicList< label > & | |||
) |
Append elements to DynamicList.
void Foam::vtkWriteOps::insert | ( | const List< Type > & | , |
DynamicList< floatScalar > & | |||
) |
Append elements to DynamicList.
void Foam::vtkWriteOps::insert | ( | const labelList & | map, |
const List< scalar > & | source, | ||
DynamicList< floatScalar > & | |||
) |
Append elements of scalarList to given DynamicList using map.
void Foam::vtkWriteOps::insert | ( | const List< point > & | source, |
DynamicList< floatScalar > & | |||
) |
Append points to given DynamicList of floats.
void Foam::vtkWriteOps::insert | ( | const labelList & | map, |
const List< point > & | source, | ||
DynamicList< floatScalar > & | |||
) |
Append points to given DynamicList of floats using map.
void Foam::vtkWriteOps::write | ( | std::ostream & | , |
const bool | binary, | ||
const DimensionedField< Type, volMesh > & | , | ||
const vtkMesh & | |||
) |
Write volField with cell values (including decomposed cells)
void Foam::vtkWriteOps::write | ( | std::ostream & | , |
const bool | binary, | ||
const GeometricField< Type, pointPatchField, pointMesh > & | , | ||
const vtkMesh & | |||
) |
Write pointField on all mesh points. Interpolate to cell centre.
for decomposed cell centres.
void Foam::vtkWriteOps::write | ( | std::ostream & | , |
const bool | binary, | ||
const GeometricField< Type, fvPatchField, volMesh > & | , | ||
const GeometricField< Type, pointPatchField, pointMesh > & | , | ||
const vtkMesh & | |||
) |
Write interpolated field on points and original cell values on.
decomposed cell centres.
void Foam::vtkWriteOps::write | ( | std::ostream & | , |
const bool | binary, | ||
const PtrList< GeometricField< Type, PatchField, GeoMesh >> & | , | ||
const vtkMesh & | |||
) |
Write generic GeometricFields.
void Foam::vtkWriteOps::write | ( | std::ostream & | , |
const bool | binary, | ||
const volPointInterpolation & | , | ||
const PtrList< GeometricField< Type, fvPatchField, volMesh >> & | , | ||
const vtkMesh & | |||
) |
Interpolate and write volFields.