unitSetTemplates.C File Reference
Include dependency graph for unitSetTemplates.C:

Go to the source code of this file.

Functions

template<>
const Foam::typeUnitsType< Foam::label >::type & Foam::typeUnits< Foam::label > (const unitSet &units)
 
template<>
Foam::typeUnitsType< Foam::label >::type Foam::typeUnits< Foam::label > (const dimensionSet &dimensions)
 
template<>
Foam::unitSet Foam::readAndMaybeConvert< Foam::unitSet > (Istream &is)
 
template<>
Foam::dimensionSet Foam::readAndMaybeConvert< Foam::dimensionSet > (Istream &is)
 

Detailed Description

Original source file unitSetTemplates.C

Definition in file unitSetTemplates.C.

Function Documentation

◆ Foam::typeUnits< Foam::label >() [1/2]

const Foam::typeUnitsType<Foam::label>::type& Foam::typeUnits< Foam::label > ( const unitSet &  units)
inline

Definition at line 97 of file unitSetTemplates.C.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::typeName(), and Foam::typeUnits< label >().

Here is the call graph for this function:

◆ Foam::typeUnits< Foam::label >() [2/2]

Foam::typeUnitsType<Foam::label>::type Foam::typeUnits< Foam::label > ( const dimensionSet &  dimensions)
inline

Definition at line 117 of file unitSetTemplates.C.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, and Foam::typeName().

Here is the call graph for this function:

◆ Foam::readAndMaybeConvert< Foam::unitSet >()

Definition at line 221 of file unitSetTemplates.C.

◆ Foam::readAndMaybeConvert< Foam::dimensionSet >()

Definition at line 231 of file unitSetTemplates.C.