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