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(), 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< T, label, Hash< label > >::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(), TableReader< scalar >::operator()(), PackedList< 2 >::PackedList(), PtrList< transferModel >::PtrList(), Ramp< linearRamp >::Ramp(), read(), linearViscousStress< LESModel< BasicMomentumTransportModel > >::read(), extendedFeatureEdgeMeshFormat::read(), options::read(), eddyViscosity< LESModel< BasicMomentumTransportModel > >::read(), specieReactionRates< ChemistryModelType >::read(), FixedValueConstraint< Type >::read(), OFSsurfaceFormat< Face >::read(), ReynoldsStress< LESModel< BasicMomentumTransportModel > >::read(), CombustionModel< ReactionThermo >::read(), IOOutputFilter< OutputFilter >::read(), edgeMeshFormat::read(), blockVertex::read(), PhaseLimitStabilization< Type >::read(), eddyDiffusivity< TurbulenceThermophysicalTransportModel >::read(), laminarThermophysicalTransportModel< BasicThermophysicalTransportModel >::read(), LESThermophysicalTransportModel< BasicThermophysicalTransportModel >::read(), RASThermophysicalTransportModel< BasicThermophysicalTransportModel >::read(), laminarModel< BasicMomentumTransportModel >::read(), RASModel< phaseCompressibleMomentumTransportModel >::read(), LESModel< BasicMomentumTransportModel >::read(), CodedSource< Type >::read(), kOmegaSST< eddyViscosity< RASModel< BasicMomentumTransportModel > >, BasicMomentumTransportModel >::read(), rotorDiskSource::read(), heThermo< BasicSolidThermo, MixtureType >::read(), MeshedSurface< Foam::face >::read(), regIOobject::readHeaderOk(), processorLduInterface::receive(), Scale< Type >::Scale(), globalIndex::scatter(), 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 read(), blockVertex::write(), and blockDescriptor::write().

Here is the call graph for this function:
Here is the caller 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: