Legion Runtime
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Legion::Domain Class Reference

#include <legion_domain.h>

Classes

class  DomainPointIterator
 

Public Types

typedef ::realm_id_t IDType
 

Public Member Functions

__CUDA_HD__ Domain (const Domain &other)
 
__CUDA_HD__ Domain (Domain &&other) noexcept
 
__CUDA_HD__ Domain (const DomainPoint &lo, const DomainPoint &hi)
 
template<int DIM, typename T >
__CUDA_HD__ Domain (const Rect< DIM, T > &other)
 
template<int DIM, typename T >
__CUDA_HD__ Domain (const DomainT< DIM, T > &other)
 
__CUDA_HD__ Domainoperator= (const Domain &other)
 
__CUDA_HD__ Domainoperator= (Domain &&other) noexcept
 
template<int DIM, typename T >
__CUDA_HD__ Domainoperator= (const Rect< DIM, T > &other)
 
template<int DIM, typename T >
__CUDA_HD__ Domainoperator= (const DomainT< DIM, T > &other)
 
__CUDA_HD__ bool operator== (const Domain &rhs) const
 
__CUDA_HD__ bool operator!= (const Domain &rhs) const
 
__CUDA_HD__ bool operator< (const Domain &rhs) const
 
__CUDA_HD__ Domain operator+ (const DomainPoint &point) const
 
__CUDA_HD__ Domainoperator+= (const DomainPoint &point)
 
__CUDA_HD__ Domain operator- (const DomainPoint &point) const
 
__CUDA_HD__ Domainoperator-= (const DomainPoint &point)
 
__CUDA_HD__ bool exists (void) const
 
__CUDA_HD__ bool dense (void) const
 
template<int DIM, typename T >
__CUDA_HD__ Rect< DIM, T > bounds (void) const
 
template<int DIM, typename T >
__CUDA_HD__ operator Rect< DIM, T > (void) const
 
template<int DIM, typename T >
 operator DomainT< DIM, T > (void) const
 
__CUDA_HD__ bool is_valid (void) const
 
bool contains (const DomainPoint &point) const
 
__CUDA_HD__ bool contains_bounds_only (const DomainPoint &point) const
 
__CUDA_HD__ int get_dim (void) const
 
bool empty (void) const
 
size_t get_volume (void) const
 
__CUDA_HD__ DomainPoint lo (void) const
 
__CUDA_HD__ DomainPoint hi (void) const
 
Domain intersection (const Domain &other) const
 
Domain convex_hull (const DomainPoint &p) const
 

Static Public Member Functions

static Domain from_domain_point (const DomainPoint &p)
 

Public Attributes

IDType is_id
 
TypeTag is_type
 
int dim
 
coord_t rect_data [2 *MAX_RECT_DIM]
 

Static Public Attributes

static constexpr int MAX_RECT_DIM = LEGION_MAX_DIM
 
static const Domain NO_DOMAIN
 

Detailed Description

This is a type erased rectangle where the number of dimensions is stored as a runtime value


The documentation for this class was generated from the following file: