|
Celeritas 0.7.0-dev.179+develop.ec08af0c9
|
Sense helper functions and types. More...

Classes | |
| class | celeritas::SenseValue |
| Wrapper for a sense value that is optionally set. More... | |
Functions | |
| CELER_CONSTEXPR_FUNCTION Sense | celeritas::to_sense (bool s) |
| Convert a boolean value to a Sense enum. | |
| CELER_CONSTEXPR_FUNCTION Sense | celeritas::flip_sense (Sense orig) |
| Change the sense across a surface. | |
| CELER_CONSTEXPR_FUNCTION SignedSense | celeritas::flip_sense (SignedSense orig) |
| Change the sense across a surface. | |
| CELER_CONSTEXPR_FUNCTION SignedSense | celeritas::real_to_sense (real_type quadric) |
| Evaluate the sense based on the LHS expression of the quadric equation. | |
| CELER_CONSTEXPR_FUNCTION Sense | celeritas::to_sense (SignedSense s) |
| Convert a signed sense to a Sense enum. | |
| CELER_CONSTEXPR_FUNCTION SurfaceState | celeritas::to_surface_state (SignedSense s) |
| Convert a signed sense to a surface state. | |
| constexpr char | celeritas::to_char (Sense s) |
| Get a printable character corresponding to a sense. | |
| char const * | celeritas::to_cstring (SignedSense s) |
Sense helper functions and types.
| CELER_CONSTEXPR_FUNCTION SignedSense celeritas::real_to_sense | ( | real_type | quadric | ) |
Evaluate the sense based on the LHS expression of the quadric equation.
This is an optimized jump-free version of:
as
and compressed into a single line.
NaN values are treated as "outside".