Foam::blockMeshTools Namespace Reference

Tools for parsing label(List) with dictionary lookup. More...

Functions

void read (Istream &, label &, const dictionary &)
 In-place read with dictionary lookup. More...
 
template<class T >
void read (Istream &, List< T > &, const dictionary &)
 In-place read with dictionary lookup. More...
 
label read (Istream &, const dictionary &)
 Return-read with dictionary lookup. More...
 
void write (Ostream &, const label, const dictionary &)
 Write with dictionary lookup. More...
 
const keyTypefindEntry (const dictionary &, const label)
 Linear search for label entry. More...
 

Detailed Description

Tools for parsing label(List) with dictionary lookup.

Source files

Function Documentation

◆ read() [1/3]

void read ( Istream is,
label val,
const dictionary dict 
)

In-place read with dictionary lookup.

Definition at line 31 of file blockMeshTools.C.

References Foam::exit(), IOstream::fatalCheck(), Foam::FatalIOError, FatalIOErrorInFunction, token::info(), token::isLabel(), token::isWord(), token::labelToken(), dictionary::lookupScopedEntryPtr(), Foam::readLabel(), entry::stream(), and token::wordToken().

Referenced by AC3DsurfaceFormat< Face >::AC3DsurfaceFormat(), cloudSolution::cloudSolution(), CodedSource< Type >::CodedSource(), Pstream::combineGather(), Pstream::combineScatter(), processorLduInterface::compressedReceive(), processorLduInterface::compressedSend(), CSV< Type >::CSV(), dictionary::dictionary(), dimensioned< vector >::dimensioned(), mapDistributeBase::distribute(), edgeMesh::edgeMesh(), edgeMeshFormat::edgeMeshFormat(), Pstream::exchange(), extendedEdgeMeshFormat::extendedEdgeMeshFormat(), extendedFeatureEdgeMeshFormat::extendedFeatureEdgeMeshFormat(), FixedValueConstraint< Type >::FixedValueConstraint(), globalIndex::gather(), GTSsurfaceFormat< Face >::GTSsurfaceFormat(), HashPtrTable< ThermoType >::HashPtrTable(), ILList< LListBase, T >::ILList(), processorFvPatchField< Type >::initEvaluate(), processorFvPatchField< Type >::initInterfaceMatrixUpdate(), processorCyclicPointPatchField< Type >::initSwapAddSeparated(), IOPtrList< coordinateSystem >::IOPtrList(), Pstream::listCombineGather(), Pstream::listCombineScatter(), LPtrList< LListBase, T >::LPtrList(), MeshedSurface< Foam::face >::MeshedSurface(), IOOutputFilter< OutputFilter >::movePoints(), NASedgeFormat::NASedgeFormat(), NASsurfaceFormat< Face >::NASsurfaceFormat(), OBJedgeFormat::OBJedgeFormat(), OBJsurfaceFormat< Face >::OBJsurfaceFormat(), OFFsurfaceFormat< Face >::OFFsurfaceFormat(), OFSsurfaceFormat< Face >::OFSsurfaceFormat(), PackedList< 2 >::PackedList(), PtrList< transferModel >::PtrList(), read(), linearViscousStress< RASModel< BasicTurbulenceModel > >::read(), extendedFeatureEdgeMeshFormat::read(), options::read(), eddyViscosity< RASModel< BasicTurbulenceModel > >::read(), EddyDiffusivity< compressible::turbulenceModel >::read(), specieReactionRates< ChemistryModelType >::read(), FixedValueConstraint< Type >::read(), OFSsurfaceFormat< Face >::read(), ReynoldsStress< RASModel< BasicTurbulenceModel > >::read(), IOOutputFilter< OutputFilter >::read(), CombustionModel< ReactionThermo >::read(), edgeMeshFormat::read(), blockVertex::read(), PhaseLimitStabilization< Type >::read(), laminarModel< BasicTurbulenceModel >::read(), RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > >::read(), LESModel< BasicTurbulenceModel >::read(), SemiImplicitSource< Type >::read(), CodedSource< Type >::read(), kOmegaSST< LESeddyViscosity< BasicTurbulenceModel >, BasicTurbulenceModel >::read(), heThermo< BasicSolidThermo, MixtureType >::read(), rotorDiskSource::read(), MeshedSurface< Foam::face >::read(), regIOobject::readHeaderOk(), processorLduInterface::receive(), Scale< Type >::Scale(), globalIndex::scatter(), SemiImplicitSource< Type >::SemiImplicitSource(), processorLduInterface::send(), Sine< Type >::Sine(), LUscalarMatrix::solve(), Square< Type >::Square(), STARCDsurfaceFormat< Face >::STARCDsurfaceFormat(), STLsurfaceFormat< Face >::STLsurfaceFormat(), processorCyclicPointPatchField< Type >::swapAddSeparated(), TRIsurfaceFormat< Face >::TRIsurfaceFormat(), TRIsurfaceFormatCore::TRIsurfaceFormatCore(), IOOutputFilter< OutputFilter >::updateMesh(), VTKedgeFormat::VTKedgeFormat(), VTKsurfaceFormat< Face >::VTKsurfaceFormat(), and ZoneMesh< cellZone, polyMesh >::ZoneMesh().

Here is the call graph for this function:

◆ read() [2/3]

void read ( Istream is,
List< T > &  L,
const dictionary dict 
)

◆ read() [3/3]

Foam::List< T > read ( Istream is,
const dictionary dict 
)

Return-read with dictionary lookup.

Definition at line 80 of file blockMeshTools.C.

References read(), and write().

Here is the call graph for this function:

◆ write()

void write ( Ostream os,
const label  val,
const dictionary dict 
)

Write with dictionary lookup.

Definition at line 92 of file blockMeshTools.C.

References findEntry(), forAllConstIter(), and Foam::readLabel().

Referenced by meshRefinement::balanceAndRefine(), interpolationCellPointWallModified< Type >::calcPointField(), Pstream::combineGather(), Pstream::combineScatter(), processorLduInterface::compressedSend(), constAnIsoSolidTransport< Thermo >::constAnIsoSolidTransport(), constIsoSolidTransport< Thermo >::constIsoSolidTransport(), constTransport< Thermo >::constTransport(), NonEquilibriumReversibleReaction< ReactionType, ReactionThermo, ReactionRate >::dcidT(), ReversibleReaction< ReactionType, ReactionThermo, ReactionRate >::dcidT(), fvFieldDecomposer::decomposeFields(), mapDistributeBase::distribute(), ensightGeoFile::ensightGeoFile(), Pstream::exchange(), exponentialSolidTransport< Thermo >::exponentialSolidTransport(), GAMGSolver::GAMGSolver(), globalIndex::gather(), Foam::stringOps::getVariable(), 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(), read(), KinematicParcel< ParcelType >::readFields(), CollidingParcel< ParcelType >::readFields(), molecule::readFields(), SprayParcel< ParcelType >::readFields(), Foam::reconstructLagrangianPositions(), codedMixedFvPatchField< Type >::redirectPatchField(), meshRefinement::refineAndBalance(), globalIndex::scatter(), processorLduInterface::send(), LUscalarMatrix::solve(), time::time(), timeVaryingMappedFvPatchField< Type >::time(), triSurface::triSurfInstance(), thermo< Thermo, Type >::typeName(), AC3DsurfaceFormat< Face >::write(), specieReactionRates< ChemistryModelType >::write(), OBJstream::write(), processorField::write(), edgeMeshFormat::write(), CloudSubModelBase< Foam::KinematicCloud< Cloud< basicKinematicCollidingParcel > > >::write(), DispersionRASModel< CloudType >::write(), IOOutputFilter< OutputFilter >::write(), blockVertex::write(), cellMotionFvPatchField< Type >::write(), timeVaryingAlphaContactAngleFvPatchScalarField::write(), constantAlphaContactAngleFvPatchScalarField::write(), inclinedFilmNusseltHeightFvPatchScalarField::write(), kqRWallFunctionFvPatchField< Type >::write(), fixedNormalSlipPointPatchField< Type >::write(), timeVaryingUniformFixedValuePointPatchField< Type >::write(), fixedFluxPressureFvPatchScalarField::write(), alphaContactAngleFvPatchScalarField::write(), solidBodyMotionDisplacementPointPatchVectorField::write(), WLFTransport< Thermo >::write(), perfectGas< Specie >::write(), rhoConst< Specie >::write(), sutherlandTransport< Thermo >::write(), writer< Foam::SphericalTensor >::write(), hConstThermo< EquationOfState >::write(), uniformFixedValuePointPatchField< Type >::write(), fixedMeanFvPatchField< Type >::write(), valuePointPatchField< vector >::write(), eRefConstThermo< EquationOfState >::write(), hRefConstThermo< EquationOfState >::write(), eConstThermo< EquationOfState >::write(), incompressiblePerfectGas< Specie >::write(), perfectFluid< Specie >::write(), linear< Type >::write(), calculatedFvPatchField< Type >::write(), uniformFixedValueFvPatchField< Type >::write(), freestreamFvPatchField< Type >::write(), uniformFixedGradientFvPatchField< Type >::write(), fixedMeanOutletInletFvPatchField< Type >::write(), mappedFixedInternalValueFvPatchField< Type >::write(), polynomialSolidTransport< Thermo, PolySize >::write(), outletInletFvPatchField< Type >::write(), polynomialTransport< Thermo, PolySize >::write(), uniformJumpFvPatchField< Type >::write(), uniformJumpAMIFvPatchField< Type >::write(), adiabaticPerfectFluid< Specie >::write(), PengRobinsonGas< Specie >::write(), outletMappedUniformInletFvPatchField< Type >::write(), Boussinesq< Specie >::write(), waveInletOutletFvPatchField< Type >::write(), mappedFixedPushedInternalValueFvPatchField< Type >::write(), temperatureDependentAlphaContactAngleFvPatchScalarField::write(), variableHeightFlowRateInletVelocityFvPatchVectorField::write(), inletOutletFvPatchField< Type >::write(), fixedJumpAMIFvPatchField< scalar >::write(), fixedJumpFvPatchField< scalar >::write(), timeVaryingMappedFixedValuePointPatchField< Type >::write(), wavePressureFvPatchScalarField::write(), fixedValueFvPatchField< scalar >::write(), wideBandDiffusiveRadiationMixedFvPatchScalarField::write(), icoPolynomial< Specie, PolySize >::write(), logPolynomialTransport< Thermo, PolySize >::write(), MarshakRadiationFvPatchScalarField::write(), janafThermo< EquationOfState >::write(), greyDiffusiveViewFactorFixedValueFvPatchScalarField::write(), NonEquilibriumReversibleReaction< ReactionType, ReactionThermo, ReactionRate >::write(), MarshakRadiationFixedTemperatureFvPatchScalarField::write(), surfaceDisplacementPointPatchVectorField::write(), uniformInletOutletFvPatchField< Type >::write(), directionMixedFvPatchField< Type >::write(), fixedNormalSlipFvPatchField< Type >::write(), greyDiffusiveRadiationMixedFvPatchScalarField::write(), partialSlipFvPatchField< Type >::write(), slicedFvPatchField< Type >::write(), mappedFixedValueFvPatchField< Type >::write(), cyclicFvPatchField< Type >::write(), ReversibleReaction< ReactionType, ReactionThermo, ReactionRate >::write(), waveAlphaFvPatchScalarField::write(), IrreversibleReaction< ReactionType, ReactionThermo, ReactionRate >::write(), cyclicAMIFvPatchField< Type >::write(), turbulentTemperatureCoupledBaffleMixedFvPatchScalarField::write(), filmPyrolysisRadiativeCoupledMixedFvPatchScalarField::write(), coupledFvPatchField< scalar >::write(), hPolynomialThermo< EquationOfState, PolySize >::write(), fixedProfileFvPatchField< Type >::write(), mappedFieldFvPatchField< Type >::write(), fanPressureJumpFvPatchScalarField::write(), turbulentTemperatureRadCoupledMixedFvPatchScalarField::write(), blockDescriptor::write(), codedFixedValueFvPatchField< Type >::write(), thermalBaffle1DFvPatchScalarField< solidType >::write(), waveTransmissiveFvPatchField< Type >::write(), advectiveFvPatchField< Type >::write(), codedFixedValuePointPatchField< Type >::write(), waveVelocityFvPatchVectorField::write(), fixedGradientFvPatchField< Type >::write(), codedMixedFvPatchField< Type >::write(), UnsortedMeshedSurface< Face >::write(), timeVaryingMappedFixedValueFvPatchField< Type >::write(), turbulentInletFvPatchField< Type >::write(), MeshedSurface< Foam::face >::write(), mixedFvPatchField< scalar >::write(), thermo< Thermo, Type >::write(), externalCoupledMixedFvPatchField< scalar >::write(), meshRefinement::write(), Foam::writeCellGraph(), writer< Foam::SphericalTensor >::writeCoord(), KinematicParcel< ParcelType >::writeFields(), CollidingParcel< ParcelType >::writeFields(), molecule::writeFields(), SprayParcel< ParcelType >::writeFields(), Foam::writePatchGraph(), OBJstream::writeQuoted(), writer< Foam::SphericalTensor >::writeTable(), and volFieldValue::writeValues().

Here is the call graph for this function:

◆ findEntry()

const Foam::keyType & findEntry ( const dictionary dict,
const label  val 
)

Linear search for label entry.

Definition at line 115 of file blockMeshTools.C.

References forAllConstIter(), and Foam::readLabel().

Referenced by write().

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