Impl object storing attributes in MemorySpace
.
More...
Public Types | |
using | discrete_dimension_type = SpeciesInformation |
alias of the discrete dimension | |
Public Member Functions | |
template<class OMemorySpace > | |
Impl (Impl< Grid1D, OMemorySpace > const &impl) | |
Conversion constructor between different memory spaces. | |
Impl (DFieldMem< index_range_type, MemorySpace > charge, DFieldMem< index_range_type, MemorySpace > mass) | |
Main constructor taking all attributes. | |
KOKKOS_FUNCTION discrete_element_type | ielec () const |
KOKKOS_FUNCTION double | charge (discrete_element_type const isp) const |
KOKKOS_FUNCTION double | mass (discrete_element_type const isp) const |
auto | charges () const |
auto | masses () const |
Impl object storing attributes in MemorySpace
.
|
inlineexplicit |
Conversion constructor between different memory spaces.
[in] | impl | object from OMemorySpace that will be used to initialize this object on MemorySpace |
|
inline |
Main constructor taking all attributes.
[in] | charge | array storing both kinetic and adiabatic charges |
[in] | mass | array storing both kinetic and adiabatic masses |
|
inline |
|
inline |
[in] | isp | a discrete element of either a kinetic or adiabatic species |
|
inline |
[in] | isp | a discrete element of either a kinetic or adiabatic species |
|
inline |
|
inline |