Topology interface base.
More...
|
template<index_space S, typename T , Privileges P> |
auto | mdcolex (data::accessor< data::dense, T, P > const &a) const |
| Create a Fortran-like view of a field.
|
|
template<index_space S, typename T , Privileges P> |
auto | mdspan (data::accessor< data::dense, T, P > const &a) const |
| This method provides a mdspan of the field underlying data.
|
|
|
template<index_space S, Axis A> |
axis_info | axis () const |
| Get axis information.
|
|
template<index_space S, Axis A> |
util::gid | global_id (util::id logical_id) const |
| Method returning the global id of a logical index of an index space S along axis A.
|
|
template<index_space S, Axis A> |
bool | is_degenerate () const |
| Method to check if the partition returned by the coloring is degenerate.
|
|
template<index_space S, Axis A> |
bool | is_high () const |
| Method to check if an axis of the local mesh is incident on the upper bound of the corresponding axis of the global mesh.
|
|
template<index_space S, Axis A> |
bool | is_interior () const |
| Method to check if axis A of index-space S is in between the lower and upper bound along axis A of the global domain.
|
|
template<index_space S, Axis A> |
bool | is_low () const |
| Method to check if an axis of the local mesh is incident on the lower bound of the corresponding axis of the global mesh.
|
|
template<index_space S, Axis A, domain DM> |
util::gid | offset () const |
| Method to return an offset of S along A for DM.
|
|
auto & | policy_meta () const |
| Get the specialization's metadata.
|
|
template<index_space S, Axis A, domain DM> |
auto | range () const |
| Method to return an iterator over the extents of the index-space S along axis A for domain DM.
|
|
template<index_space S, Axis A, domain DM> |
auto | size () const |
| Method to return size of S along A for DM.
|
|
|
template<index_space S, Axis A, std::size_t P> |
util::id | extended () const |
| Method to access extended lower/upper bounds of index space S along axis A.
|
|
template<index_space S> |
auto | extents () const |
| Method to access local extents of all axes of index space S.
|
|
template<index_space S, Axis A> |
util::gid | global () const |
| Method to access global extents of index space S along axis A.
|
|
template<index_space S, Axis A, std::size_t P> |
util::id | logical () const |
| Method to access logical lower/upper bounds of index space S along axis A.
|
|
template<index_space S, Axis A> |
util::gid | offset () const |
| Method to access global offset of the local mesh i.e., the global coordinate offset of the local mesh w.r.t the global mesh of index space S along axis A.
|
|
template<typename Policy>
template<Privileges Priv>
struct flecsi::topo::narray< Policy >::access< Priv >
Topology interface base.
This class is supported for GPU execution.
- See also
- specialization_base::interface
◆ mdspan()
template<typename Policy >
template<Privileges Priv>
template<index_space S, typename T , Privileges P>
This method provides a mdspan of the field underlying data.
It can be used to create data views with the shape appropriate to S. This function is host-accessible, although the values in a are typically not.
◆ mdcolex()
template<typename Policy >
template<Privileges Priv>
template<index_space S, typename T , Privileges P>
◆ global()
template<typename Policy >
template<Privileges Priv>
template<index_space S, Axis A>
Method to access global extents of index space S along axis A.
This function is host-accessible.
◆ offset() [1/2]
template<typename Policy >
template<Privileges Priv>
template<index_space S, Axis A>
Method to access global offset of the local mesh i.e., the global coordinate offset of the local mesh w.r.t the global mesh of index space S along axis A.
This function is host-accessible.
◆ extents()
template<typename Policy >
template<Privileges Priv>
template<index_space S>
Method to access local extents of all axes of index space S.
This function is host-accessible.
◆ logical()
template<typename Policy >
template<Privileges Priv>
template<index_space S, Axis A, std::size_t P>
Method to access logical lower/upper bounds of index space S along axis A.
This function is host-accessible.
- Template Parameters
-
P | Value 0 denotes lower bound, and value 1 denotes upper bound. |
◆ extended()
template<typename Policy >
template<Privileges Priv>
template<index_space S, Axis A, std::size_t P>
Method to access extended lower/upper bounds of index space S along axis A.
This function is host-accessible.
- Template Parameters
-
P | Value 0 denotes lower bound, and value 1 denotes upper bound. |
◆ policy_meta()
template<typename Policy >
template<Privileges Priv>
auto & policy_meta |
( |
| ) |
const |
|
protected |
◆ axis()
template<typename Policy >
template<Privileges Priv>
template<index_space S, Axis A>
◆ is_low()
template<typename Policy >
template<Privileges Priv>
template<index_space S, Axis A>
◆ is_high()
template<typename Policy >
template<Privileges Priv>
template<index_space S, Axis A>
◆ is_interior()
template<typename Policy >
template<Privileges Priv>
template<index_space S, Axis A>
bool is_interior |
( |
| ) |
const |
|
protected |
◆ is_degenerate()
template<typename Policy >
template<Privileges Priv>
template<index_space S, Axis A>
bool is_degenerate |
( |
| ) |
const |
|
protected |
◆ global_id()
template<typename Policy >
template<Privileges Priv>
template<index_space S, Axis A>
◆ size()
template<typename Policy >
template<Privileges Priv>
template<index_space S, Axis A,
domain DM>
◆ range()
template<typename Policy >
template<Privileges Priv>
template<index_space S, Axis A,
domain DM>
Method to return an iterator over the extents of the index-space S along axis A for domain DM.
This function is host-accessible.
- Template Parameters
-
- Deprecated
- Use
axis_layout
.
◆ offset() [2/2]
template<typename Policy >
template<Privileges Priv>
template<index_space S, Axis A,
domain DM>