Loading...
Searching...
No Matches
uLabel.H File Reference
Include dependency graph for uLabel.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Foam
 Namespace for OpenFOAM.

Macros

#define UINT_ADD_SIZE(x, s, y)
#define UINT_ADD_DEF_SIZE(x, s, y)
#define UINT_SIZE(x, y)

Functions

uLabel readULabel (Istream &is)
 Read uLabel from stream.
uLabel readULabel (const char *buf)
 Parse entire buffer as a uLabel, skipping leading/trailing whitespace.
uLabel readULabel (const std::string &str)
 Parse entire string as a uLabel, skipping leading/trailing whitespace.
bool readULabel (const char *buf, uLabel &val)
 Parse entire buffer as a uLabel, skipping leading/trailing whitespace.
bool readULabel (const std::string &str, uLabel &val)
 Parse entire string as a uLabel, skipping leading/trailing whitespace.
uLabel pow (uLabel a, uLabel b)
 Raise one uLabel to the power of another.
uLabel factorial (uLabel n)
 Evaluate n! : 0 < n <= 12.
uLabel & setComponent (uLabel &val, const direction) noexcept
 Non-const access to unsigned-type (has no components).
constexpr uLabel component (const uLabel val, const direction) noexcept
 Return unsigned value (has no components).

Variables

constexpr uLabel uLabelMax = UINTWM_LABEL_SIZE_MAX

Detailed Description

Original source file uLabel.H

Definition in file uLabel.H.

Macro Definition Documentation

◆ UINT_ADD_SIZE

#define UINT_ADD_SIZE ( x,
s,
y )
Value:
x ## s ## y
scalar y
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))

Definition at line 41 of file uLabel.H.

◆ UINT_ADD_DEF_SIZE

#define UINT_ADD_DEF_SIZE ( x,
s,
y )
Value:
#define UINT_ADD_SIZE(x, s, y)
Definition uLabel.H:41

Definition at line 42 of file uLabel.H.

◆ UINT_SIZE

#define UINT_SIZE ( x,
y )
Value:
UINT_ADD_DEF_SIZE(x,WM_LABEL_SIZE,y)
#define UINT_ADD_DEF_SIZE(x, s, y)
Definition uLabel.H:42

Definition at line 43 of file uLabel.H.

Referenced by Foam::readULabel(), Foam::readULabel(), Foam::readULabel(), Foam::readULabel(), and Foam::readULabel().