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(), Pstream::combineGather(), Pstream::combineScatter(), processorLduInterface::compressedReceive(), processorLduInterface::compressedSend(), dictionary::dictionary(), dimensioned< vector >::dimensioned(), distributionMapBase::distribute(), edgeMesh::edgeMesh(), edgeMeshFormat::edgeMeshFormat(), Pstream::exchange(), extendedEdgeMeshFormat::extendedEdgeMeshFormat(), extendedFeatureEdgeMeshFormat::extendedFeatureEdgeMeshFormat(), Foam< Type >::Foam(), globalIndex::gather(), GTSsurfaceFormat< Face >::GTSsurfaceFormat(), HashPtrTable< HashPtrTable< volScalarField >, phaseInterfaceKey, phaseInterfaceKey::hash >::HashPtrTable(), ILList< LListBase, T >::ILList(), processorFvPatchField< Type >::initEvaluate(), processorFvPatchField< Type >::initInterfaceMatrixUpdate(), processorFvsPatchField< Type >::initPatchNeighbourField(), Pstream::listCombineGather(), Pstream::listCombineScatter(), LPtrList< LListBase, T >::LPtrList(), IOOutputFilter< OutputFilter >::mapMesh(), MeshedSurface< Foam::face >::MeshedSurface(), MeshZones< cellZone, polyMesh >::MeshZones(), IOOutputFilter< OutputFilter >::movePoints(), NASedgeFormat::NASedgeFormat(), NASsurfaceFormat< Face >::NASsurfaceFormat(), OBJedgeFormat::OBJedgeFormat(), OBJsurfaceFormat< Face >::OBJsurfaceFormat(), OFFsurfaceFormat< Face >::OFFsurfaceFormat(), OFSsurfaceFormat< Face >::OFSsurfaceFormat(), PackedList< 2 >::PackedList(), processorFvsPatchField< Type >::patchNeighbourField(), PtrList< transferModel >::PtrList(), Ramp< linearRamp >::Ramp(), read(), TableFileReader< Type >::read(), linearViscousStress< LESModel< BasicMomentumTransportModel > >::read(), extendedFeatureEdgeMeshFormat::read(), eddyViscosity< LESModel< BasicMomentumTransportModel > >::read(), OFSsurfaceFormat< Face >::read(), ReynoldsStress< LESModel< BasicMomentumTransportModel > >::read(), Fickian< unityLewisFourier< laminarThermophysicalTransportModel > >::read(), IOOutputFilter< OutputFilter >::read(), edgeMeshFormat::read(), eddyDiffusivity< TurbulenceThermophysicalTransportModel >::read(), blockVertex::read(), unityLewisEddyDiffusivity< TurbulenceThermophysicalTransportModel >::read(), RASThermophysicalTransportModel< BasicThermophysicalTransportModel >::read(), LESThermophysicalTransportModel< BasicThermophysicalTransportModel >::read(), laminarThermophysicalTransportModel< laminarThermophysicalTransportModel >::read(), laminarModel< BasicMomentumTransportModel >::read(), fvConstraints::read(), RASModel< phaseCompressible::momentumTransportModel >::read(), LESModel< BasicMomentumTransportModel >::read(), MaxwellStefan< unityLewisFourier< laminarThermophysicalTransportModel > >::read(), fvModels::read(), kOmegaSST< eddyViscosity< RASModel< BasicMomentumTransportModel > >, BasicMomentumTransportModel >::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(), IOOutputFilter< OutputFilter >::topoChange(), TRIsurfaceFormat< Face >::TRIsurfaceFormat(), TRIsurfaceFormatCore::TRIsurfaceFormatCore(), VTKedgeFormat::VTKedgeFormat(), and VTKsurfaceFormat< Face >::VTKsurfaceFormat().

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: