Object for handling masks in Neko.  
 | 
| type   | mask_t | 
|   | Type for consistently handling masks in Neko. This type encapsulates the mask array and its associated device pointer.  More...
  | 
|   | 
 | 
| subroutine  | mask_allocate (this, n_elements) | 
|   | Allocate the mask object.  
  | 
|   | 
| subroutine  | mask_free (this) | 
|   | Free the mask object.  
  | 
|   | 
| subroutine  | init_from_array (this, mask_array, n_elements) | 
|   | Initialize the mask from a 1-indexed host array.  
  | 
|   | 
| subroutine  | init_from_array_device (this, mask_array_d, n_elements) | 
|   | Initialize the mask from a 0-indexed device array.  
  | 
|   | 
| subroutine  | init_from_mask (this, other) | 
|   | Initialize the mask from another mask object.  
  | 
|   | 
| pure integer function  | mask_size (this) | 
|   | Get the size of the mask.  
  | 
|   | 
| pure logical function  | mask_is_set (this) | 
|   | Check if the mask is set.  
  | 
|   | 
| integer function, dimension(:), pointer  | mask_get (this) | 
|   | Get the mask array.  
  | 
|   | 
| integer function  | mask_get_i (this, index) | 
|   | Get the mask array.  
  | 
|   | 
| type(c_ptr) function  | mask_get_d (this) | 
|   | Get the device pointer to the mask array.  
  | 
|   | 
| subroutine  | mask_set (this, mask_array, n_elements) | 
|   | Set the mask from a 1-indexed host array.  
  | 
|   | 
| subroutine  | mask_set_d (this, mask_array_d, n_elements) | 
|   | Set the mask from a 0-indexed device array.  
  | 
|   | 
◆ init_from_array()
◆ init_from_array_device()
◆ init_from_mask()
◆ mask_allocate()
◆ mask_free()
◆ mask_get()
◆ mask_get_d()
◆ mask_get_i()
◆ mask_is_set()
◆ mask_set()
◆ mask_set_d()
◆ mask_size()