|
omega_h
Reliable mesh adaptation
|
Public Types | |
| enum | : std::uintptr_t { FREE_BIT1 = 0x1 , FREE_BIT2 = 0x2 , FREE_BIT3 = 0x4 , FREE_MASK = 0x7 , IN_PARALLEL = FREE_BIT1 , IS_IDENTITY = FREE_BIT2 } |
Public Member Functions | |
| SharedAlloc (std::size_t size_in, std::string const &name_in) | |
| SharedAlloc (std::size_t size_in, std::string &&name_in) | |
| SharedAlloc (std::size_t size_in) | |
| OMEGA_H_INLINE void | copy (SharedAlloc const &other) noexcept |
| OMEGA_H_INLINE | SharedAlloc (SharedAlloc const &other) |
| OMEGA_H_INLINE void | move (SharedAlloc &&other) noexcept |
| OMEGA_H_INLINE | SharedAlloc (SharedAlloc &&other) |
| OMEGA_H_INLINE SharedAlloc & | operator= (SharedAlloc const &other) |
| OMEGA_H_INLINE SharedAlloc & | operator= (SharedAlloc &&other) |
| OMEGA_H_INLINE void | clear () |
| OMEGA_H_INLINE std::size_t | size () const noexcept |
| OMEGA_H_INLINE int | maybe_identity_index (int i) const noexcept |
| OMEGA_H_INLINE void * | data () const noexcept |
Static Public Member Functions | |
| static SharedAlloc | identity (std::size_t size_in) |
Public Attributes | |
| Alloc * | alloc |
| void * | direct_ptr |