
Go to the source code of this file.
Namespaces | |
| namespace | Foam |
| Namespace for OpenFOAM. | |
Functions | |
| label | sign (const label s) noexcept |
| Return 1 if s is greater_equal zero, or otherwise -1. | |
| label | pos0 (const label s) noexcept |
| Return 1 if s is greater_equal zero, or otherwise 0. | |
| label | neg (const label s) noexcept |
| Return 1 if s is less than zero, or otherwise 0. | |
| label | neg0 (const label s) noexcept |
| Return 1 if s is less_equal zero, or otherwise 0. | |
| label | posPart (const label s) noexcept |
| Return the positive part of s, otherwise zero. Same as max(0, s). | |
| label | negPart (const label s) noexcept |
| Return the negative part of s, otherwise zero. Same as min(0, s). | |
Original source file labelSpecific.H
Definition in file labelSpecific.H.