specfem::execution::VoidIterator¶
-
template<typename ExecutionSpace>
class VoidIterator : public specfem::execution::VoidPolicy<ExecutionSpace>¶ Base level iterator when there is no valid index to iterate over.
- Template Parameters:
ExecutionSpace – The execution space type where iterator closure will be executed.
Public Types
-
using base_policy_type = VoidPolicy<ExecutionSpace>¶
Base policy type.
-
using policy_index_type = void¶
Index type for the policy.
-
using index_type = void¶
Index type for the iterator.
-
using execution_space_type = typename base_policy_type::execution_space¶
Execution space type.
-
using execution_space = ExecutionSpace¶
Execution space type for the void policy.
Public Functions
-
inline constexpr index_type operator()() const¶
Returns an empty index type.
Public Static Attributes
-
static constexpr PolicyType policy_type = PolicyType::VoidPolicy¶
Indicates this is a void policy.
-
static constexpr bool is_top_level_policy = false¶
Indicates this is not a top-level policy.