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 30 of file blockMeshTools.C.

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

Referenced by AC3DsurfaceFormat< Face >::AC3DsurfaceFormat(), GTSsurfaceFormat< Face >::GTSsurfaceFormat(), HashPtrTable< T, Key, Hash >::HashPtrTable(), ILList< LListBase, T >::ILList(), linearViscousStress< laminarModel< BasicMomentumTransportModel > >::linearViscousStress(), dimensioned< scalar >::lookupOrDefault(), LPtrList< LListBase, T >::LPtrList(), NASsurfaceFormat< Face >::NASsurfaceFormat(), OBJsurfaceFormat< Face >::OBJsurfaceFormat(), OFFsurfaceFormat< Face >::OFFsurfaceFormat(), OFSsurfaceFormat< Face >::OFSsurfaceFormat(), PtrList< T >::PtrList(), HeatTransferPhaseSystem< BasePhaseSystem >::read(), TwoResistanceHeatTransferPhaseSystem< BasePhaseSystem >::read(), InterfaceCompositionPhaseChangePhaseSystem< BasePhaseSystem >::read(), MomentumTransferPhaseSystem< BasePhaseSystem >::read(), PhaseTransferPhaseSystem< BasePhaseSystem >::read(), PopulationBalancePhaseSystem< BasePhaseSystem >::read(), ThermalPhaseChangePhaseSystem< BasePhaseSystem >::read(), fvConstraints::read(), fvModels::read(), kOmegaSST< MomentumTransportModel, BasicMomentumTransportModel >::read(), laminarModel< BasicMomentumTransportModel >::read(), LESModel< BasicMomentumTransportModel >::read(), RASModel< BasicMomentumTransportModel >::read(), IOOutputFilter< OutputFilter >::read(), heThermo< BasicThermo, MixtureType >::read(), laminarThermophysicalTransportModel< BasicThermophysicalTransportModel >::read(), MaxwellStefan< BasicThermophysicalTransportModel >::read(), eddyDiffusivity< TurbulenceThermophysicalTransportModel >::read(), LESThermophysicalTransportModel< BasicThermophysicalTransportModel >::read(), RASThermophysicalTransportModel< BasicThermophysicalTransportModel >::read(), unityLewisEddyDiffusivity< TurbulenceThermophysicalTransportModel >::read(), eddyViscosity< BasicMomentumTransportModel >::read(), ReynoldsStress< BasicMomentumTransportModel >::read(), TableFileReader< Type >::read(), read(), blockVertex::read(), OFSsurfaceFormat< Face >::read(), STARCDsurfaceFormat< Face >::STARCDsurfaceFormat(), STLsurfaceFormat< Face >::STLsurfaceFormat(), TRIsurfaceFormat< Face >::TRIsurfaceFormat(), VTKsurfaceFormat< Face >::VTKsurfaceFormat(), and MeshZones< faceZone, polyMesh >::writeData().

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

◆ read() [2/3]

◆ read() [3/3]

Foam::label read ( Istream is,
const dictionary dict 
)

Return-read with dictionary lookup.

Definition at line 79 of file blockMeshTools.C.

References dict, and read().

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 91 of file blockMeshTools.C.

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

Referenced by blockDescriptor::write(), and blockVertex::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 114 of file blockMeshTools.C.

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

Here is the call graph for this function: