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 keyType & | findEntry (const dictionary &, const label) |
Linear search for label entry. More... | |
Tools for parsing label(List) with dictionary lookup.
void read | ( | Istream & | is, |
label & | val, | ||
const dictionary & | dict | ||
) |
In-place read with dictionary lookup.
Definition at line 33 of file blockMeshTools.C.
References dict, Foam::exit(), IOstream::fatalCheck(), Foam::FatalIOError, FatalIOErrorInFunction, FUNCTION_NAME, token::info(), token::isLabel(), token::isWord(), token::labelToken(), Foam::readLabel(), entry::stream(), and token::wordToken().
Referenced by ABAQUSsurfaceFormat< Face >::ABAQUSsurfaceFormat(), abort::abort(), AC3DsurfaceFormat< Face >::AC3DsurfaceFormat(), areaWrite::areaWrite(), axis::axis(), CodedSource< Type >::CodedSource(), Pstream::combineGather(), Pstream::combineScatter(), processorLduInterface::compressedReceive(), processorLduInterface::compressedSend(), CSV< Type >::CSV(), decomposedBlockData::decomposedBlockData(), derivedFields::derivedFields(), dictionary::dictionary(), dimensioned< vector >::dimensioned(), mapDistributeBase::distribute(), drivenLinearMotion::drivenLinearMotion(), edgeMesh::edgeMesh(), edgeMeshFormat::edgeMeshFormat(), explicitPorositySource::explicitPorositySource(), extendedEdgeMeshFormat::extendedEdgeMeshFormat(), extendedFeatureEdgeMeshFormat::extendedFeatureEdgeMeshFormat(), externalForce::externalForce(), fieldExpression::fieldExpression(), fieldsExpression::fieldsExpression(), fieldValue::fieldValue(), fieldValueDelta::fieldValueDelta(), fixedReferenceTemperature::fixedReferenceTemperature(), FixedValueConstraint< Type >::FixedValueConstraint(), globalIndex::gather(), GTSsurfaceFormat< Face >::GTSsurfaceFormat(), HashPtrTable< exprResult >::HashPtrTable(), processorFvPatchField< Type >::initEvaluate(), calculatedProcessorFvPatchField< Type >::initEvaluate(), calculatedProcessorGAMGInterfaceField::initInterfaceMatrixUpdate(), processorGAMGInterfaceField::initInterfaceMatrixUpdate(), processorFvPatchField< Type >::initInterfaceMatrixUpdate(), calculatedProcessorFvPatchField< Type >::initInterfaceMatrixUpdate(), processorCyclicPointPatchField< Type >::initSwapAddSeparated(), limitFields::limitFields(), line::line(), linearAxialAngularSpring::linearAxialAngularSpring(), linearDamper::linearDamper(), linearMotion::linearMotion(), linearSpring::linearSpring(), linearSpringDamper::linearSpringDamper(), Pstream::listCombineGather(), Pstream::listCombineScatter(), localReferenceTemperature::localReferenceTemperature(), MeshedSurface< Foam::face >::MeshedSurface(), MultiInteraction< CloudType >::MultiInteraction(), multiMotion::multiMotion(), multiphaseMangrovesTurbulenceModel::multiphaseMangrovesTurbulenceModel(), NASsurfaceFormat< Face >::NASsurfaceFormat(), OBJedgeFormat::OBJedgeFormat(), OBJsurfaceFormat< Face >::OBJsurfaceFormat(), OFFsurfaceFormat< Face >::OFFsurfaceFormat(), orientation::orientation(), oscillatingLinearMotion::oscillatingLinearMotion(), oscillatingRotatingMotion::oscillatingRotatingMotion(), PackedList< 2 >::PackedList(), particleDistribution::particleDistribution(), plane::plane(), point::point(), prescribedRotation::prescribedRotation(), processorField::processorField(), reactionsSensitivityAnalysis< chemistryType >::reactionsSensitivityAnalysis(), read(), linearViscousStress< RASModel< BasicTurbulenceModel > >::read(), extendedFeatureEdgeMeshFormat::read(), options::read(), OneResistanceHeatTransferPhaseSystem< BasePhaseSystem >::read(), noCombustion< ReactionThermo >::read(), eddyViscosity< RASModel< BasicTurbulenceModel > >::read(), EddyDiffusivity< compressible::turbulenceModel >::read(), PopulationBalancePhaseSystem< BasePhaseSystem >::read(), FixedValueConstraint< Type >::read(), Newtonian::read(), specieReactionRates< ChemistryModelType >::read(), TwoResistanceHeatTransferPhaseSystem< BasePhaseSystem >::read(), PhaseTransferPhaseSystem< BasePhaseSystem >::read(), ReynoldsStress< RASModel< BasicTurbulenceModel > >::read(), Arrhenius< ViscousModel >::read(), edgeMeshFormat::read(), blockVertex::read(), CombustionModel< ReactionThermo >::read(), PhaseLimitStabilization< Type >::read(), dsmcFields::read(), ThermalPhaseChangePhaseSystem< BasePhaseSystem >::read(), localReferenceTemperature::read(), runTimeControl::read(), InterfaceCompositionPhaseChangePhaseSystem< BasePhaseSystem >::read(), laminarModel< BasicTurbulenceModel >::read(), fixedReferenceTemperature::read(), RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > >::read(), LESModel< BasicTurbulenceModel >::read(), surfaceInterpolate::read(), surfaceDistance::read(), CodedSource< Type >::read(), SemiImplicitSource< Type >::read(), reactionsSensitivityAnalysis< chemistryType >::read(), areaWrite::read(), fieldValueDelta::read(), MomentumTransferPhaseSystem< BasePhaseSystem >::read(), dimensioned< vector >::read(), Curle::read(), kOmegaSSTBase< eddyViscosity< RASModel< BasicTurbulenceModel > > >::read(), rotorDiskSource::read(), heThermo< BasicSolidThermo, MixtureType >::read(), sampledSurfaces::read(), actuationDiskSource::read(), STDMD::read(), waveModel::readDict(), readFields::readFields(), processorLduInterface::receive(), removeRegisteredObject::removeRegisteredObject(), runTimeControl::runTimeControl(), Scale< Type >::Scale(), globalIndex::scatter(), SemiImplicitSource< Type >::SemiImplicitSource(), processorLduInterface::send(), setTimeStepFunctionObject::setTimeStepFunctionObject(), SIMPLEControl::SIMPLEControl(), SimplifiedDynamicFvMesh< DynamicMeshType >::SimplifiedDynamicFvMesh(), Sine< Type >::Sine(), softWall::softWall(), LUscalarMatrix::solve(), sphericalAngularDamper::sphericalAngularDamper(), sphericalAngularSpring::sphericalAngularSpring(), Square< Type >::Square(), STARCDsurfaceFormat< Face >::STARCDsurfaceFormat(), STLsurfaceFormat< Face >::STLsurfaceFormat(), surfaceDistance::surfaceDistance(), surfaceInterpolate::surfaceInterpolate(), processorCyclicPointPatchField< Type >::swapAddSeparated(), tabulated6DoFAcceleration::tabulated6DoFAcceleration(), tabulated6DoFMotion::tabulated6DoFMotion(), tabulatedAxialAngularSpring::tabulatedAxialAngularSpring(), timeControl::timeControl(), trimModel::trimModel(), TRIsurfaceFormat< Face >::TRIsurfaceFormat(), VTKedgeFormat::VTKedgeFormat(), VTKsurfaceFormat< Face >::VTKsurfaceFormat(), writeCellCentres::writeCellCentres(), writeCellVolumes::writeCellVolumes(), writeObjects::writeObjects(), XiReactionRate::XiReactionRate(), and ZoneMesh< cellZone, polyMesh >::ZoneMesh().
void read | ( | Istream & | is, |
List< T > & | L, | ||
const dictionary & | dict | ||
) |
In-place read with dictionary lookup.
Definition at line 32 of file blockMeshToolsTemplates.C.
References LList< LListBase, T >::append(), dict, Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, token::info(), token::isLabel(), token::isPunctuation(), L(), token::labelToken(), token::pToken(), Istream::putBack(), read(), Istream::readBeginList(), Istream::readEndList(), s, and T.
Foam::List< T > read | ( | Istream & | is, |
const dictionary & | dict | ||
) |
Return-read with dictionary lookup.
Definition at line 76 of file blockMeshTools.C.
void write | ( | Ostream & | os, |
const label | val, | ||
const dictionary & | dict | ||
) |
Write with dictionary lookup.
Definition at line 88 of file blockMeshTools.C.
References dict, Foam::constant::electromagnetic::e, and Foam::readLabel().
Referenced by blockVertex::write(), and blockDescriptor::write().
const Foam::keyType & findEntry | ( | const dictionary & | dict, |
const label | val | ||
) |
Linear search for label entry.
Definition at line 111 of file blockMeshTools.C.
References dict, Foam::constant::electromagnetic::e, and Foam::readLabel().