|
IPPL (Independent Parallel Particle Layer)
IPPL
|
#include <RegionLayout.h>
Public Types | |
| using | NDRegion_t = NDRegion<T, Dim> |
| using | view_type = typename ViewType<NDRegion_t, 1, Properties...>::view_type |
| using | host_mirror_type = typename view_type::host_mirror_type |
| using | uniform_type = typename CreateUniformType<base_type, view_type>::type |
Public Member Functions | |
| RegionLayout () | |
| RegionLayout (const FieldLayout< Dim > &, const Mesh &) | |
| ~RegionLayout ()=default | |
| const NDRegion_t & | getDomain () const |
| const view_type | getdLocalRegions () const |
| const host_mirror_type | gethLocalRegions () const |
| void | write (std::ostream &=std::cout) const |
| void | changeDomain (const FieldLayout< Dim > &, const Mesh &mesh) |
Private Types | |
| template<typename... Props> | |
| using | base_type = RegionLayout<T, Dim, Mesh, Props...> |
Private Member Functions | |
| NDRegion_t | convertNDIndex (const NDIndex< Dim > &, const Mesh &mesh) const |
| void | fillRegions (const FieldLayout< Dim > &, const Mesh &mesh) |
Private Attributes | |
| std::array< int, Dim > | indexOffset_m |
| Offset from 'normal' Index space to 'Mesh' Index space. | |
| std::array< bool, Dim > | centerOffset_m |
| Offset needed between centering of Index space and Mesh points. | |
| NDRegion_t | region_m |
| view_type | dLocalRegions_m |
| local regions (device view) | |
| host_mirror_type | hLocalRegions_m |
| local regions (host mirror view) | |
| view_type | subdomains_m |
Definition at line 36 of file RegionLayout.h.
|
private |
Definition at line 38 of file RegionLayout.h.
| using ippl::detail::RegionLayout< T, Dim, Mesh, Properties >::host_mirror_type = typename view_type::host_mirror_type |
Definition at line 43 of file RegionLayout.h.
Definition at line 41 of file RegionLayout.h.
| using ippl::detail::RegionLayout< T, Dim, Mesh, Properties >::uniform_type = typename CreateUniformType<base_type, view_type>::type |
Definition at line 45 of file RegionLayout.h.
| using ippl::detail::RegionLayout< T, Dim, Mesh, Properties >::view_type = typename ViewType<NDRegion_t, 1, Properties...>::view_type |
Definition at line 42 of file RegionLayout.h.
| ippl::detail::RegionLayout< T, Dim, Mesh, Properties >::RegionLayout | ( | ) |
Definition at line 24 of file RegionLayout.hpp.
References centerOffset_m, dLocalRegions_m, hLocalRegions_m, and indexOffset_m.
Referenced by RegionLayout().
| ippl::detail::RegionLayout< T, Dim, Mesh, Properties >::RegionLayout | ( | const FieldLayout< Dim > & | fl, |
| const Mesh & | mesh ) |
Definition at line 32 of file RegionLayout.hpp.
References changeDomain(), and RegionLayout().
|
default |
| void ippl::detail::RegionLayout< T, Dim, Mesh, Properties >::changeDomain | ( | const FieldLayout< Dim > & | fl, |
| const Mesh & | mesh ) |
Definition at line 39 of file RegionLayout.hpp.
References centerOffset_m, convertNDIndex(), Dim, fillRegions(), ippl::FieldLayout< Dim >::getDomain(), indexOffset_m, and region_m.
Referenced by RegionLayout().
|
private |
Definition at line 59 of file RegionLayout.hpp.
Referenced by changeDomain(), and fillRegions().
|
private |
Definition at line 81 of file RegionLayout.hpp.
References convertNDIndex(), dLocalRegions_m, ippl::FieldLayout< Dim >::getHostLocalDomains(), and hLocalRegions_m.
Referenced by changeDomain().
| const RegionLayout< T, Dim, Mesh, Properties... >::view_type ippl::detail::RegionLayout< T, Dim, Mesh, Properties >::getdLocalRegions | ( | ) | const |
Definition at line 114 of file RegionLayout.hpp.
References dLocalRegions_m.
|
inline |
Definition at line 59 of file RegionLayout.h.
| const RegionLayout< T, Dim, Mesh, Properties... >::host_mirror_type ippl::detail::RegionLayout< T, Dim, Mesh, Properties >::gethLocalRegions | ( | ) | const |
Definition at line 120 of file RegionLayout.hpp.
References hLocalRegions_m.
Referenced by main().
| void ippl::detail::RegionLayout< T, Dim, Mesh, Properties >::write | ( | std::ostream & | out = std::cout | ) | const |
Definition at line 98 of file RegionLayout.hpp.
References ippl::Comm, hLocalRegions_m, and region_m.
Referenced by ippl::detail::operator<<().
|
private |
Offset needed between centering of Index space and Mesh points.
Definition at line 77 of file RegionLayout.h.
Referenced by changeDomain(), and RegionLayout().
|
private |
local regions (device view)
Definition at line 82 of file RegionLayout.h.
Referenced by fillRegions(), getdLocalRegions(), and RegionLayout().
|
private |
local regions (host mirror view)
Definition at line 85 of file RegionLayout.h.
Referenced by fillRegions(), gethLocalRegions(), RegionLayout(), and write().
|
private |
Offset from 'normal' Index space to 'Mesh' Index space.
Definition at line 74 of file RegionLayout.h.
Referenced by changeDomain(), and RegionLayout().
|
private |
Definition at line 79 of file RegionLayout.h.
Referenced by changeDomain(), and write().
|
private |
Definition at line 87 of file RegionLayout.h.