#include <vertex_list.hpp>
|
| VertexList () |
|
| VertexList (int start, int end) |
|
template<typename F > |
| VertexList (int n, F condition) |
|
| VertexList (const View< int *, CLayout, Device > &unordered_full_list, bool one_indexed) |
|
template<typename F > |
void | parallel_for (F func) const |
|
KOKKOS_INLINE_FUNCTION bool | is_in_list (int i) const |
|
KOKKOS_INLINE_FUNCTION int | size () |
|
template<typename DeviceExSpace , typename F > |
void | for_all (const std::string label, F lambda_func) const |
|
void | pack_contiguous (const View< double *, CLayout, HostType > &input, const View< double *, CLayout, HostType > &contiguous) const |
|
void | unpack_contiguous (const View< double *, CLayout, HostType > &contiguous, const View< double *, CLayout, HostType > &output) const |
|
VertexList | intersection (const VertexList &list2) const |
|
int | min () const |
|
bool | is_contiguous () const |
|
template<> |
| VertexList (int start, int end) |
|
template<> |
| VertexList (const View< int *, CLayout, HostType > &unordered_full_list, bool one_indexed) |
|
template<> |
void | pack_contiguous (const View< double *, CLayout, HostType > &input, const View< double *, CLayout, HostType > &contiguous) const |
|
template<> |
void | unpack_contiguous (const View< double *, CLayout, HostType > &contiguous, const View< double *, CLayout, HostType > &output) const |
|
template<> |
VertexList< HostType > | intersection (const VertexList &list2) const |
|
template<> |
int | min () const |
|
template<> |
bool | is_contiguous () const |
|
|
using | exspace = typename Device::execution_space |
| Use execution space where views are allocated. More...
|
|
Use execution space where views are allocated.
template<class Device>
template<typename F >
template<class Device>
template<typename DeviceExSpace , typename F >
void VertexList< Device >::for_all |
( |
const std::string |
label, |
|
|
F |
lambda_func |
|
) |
| const |
|
inline |
Loops over vertices with a parallel_for, with no particle movement
- Parameters
-
[in] | label | is the label of the parallel_for used for debugging |
[in] | lambda_func | is the lambda function. Must be copy [=] not by reference |
template<class Device>
bool VertexList< Device >::is_contiguous |
( |
| ) |
const |
template<class Device>
KOKKOS_INLINE_FUNCTION bool VertexList< Device >::is_in_list |
( |
int |
i | ) |
const |
|
inline |
Checks if a vertex is inside the list
- Parameters
-
- Returns
- Returns whether this vertex is in the list
template<class Device>
template<typename F >
void VertexList< Device >::parallel_for |
( |
F |
func | ) |
const |
|
inline |
template<class Device>
KOKKOS_INLINE_FUNCTION int VertexList< Device >::size |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: