21#ifndef IPPL_REGION_LAYOUT_H
22#define IPPL_REGION_LAYOUT_H
35 template <
typename T,
unsigned Dim,
class Mesh,
class... Properties>
37 template <
typename... Props>
65 void write(std::ostream& = std::cout)
const;
90 template <
typename T,
unsigned Dim,
class Mesh>
typename ippl::detail::ViewType< ippl::Vector< double, Dim >, 1 >::view_type view_type
This file defines multi-dimensional arrays to store mesh and particle attributes.
Implementations for FFT constructor/destructor and transforms.
typename Forward< Type, view_type >::type type
std::ostream & operator<<(std::ostream &, const BCondBase< Field > &)
NDRegion_t convertNDIndex(const NDIndex< Dim > &, const Mesh &mesh) const
view_type dLocalRegions_m
local regions (device view)
host_mirror_type hLocalRegions_m
local regions (host mirror view)
const view_type getdLocalRegions() const
typename CreateUniformType< base_type, view_type >::type uniform_type
void fillRegions(const FieldLayout< Dim > &, const Mesh &mesh)
const NDRegion_t & getDomain() const
void write(std::ostream &=std::cout) const
typename ViewType< NDRegion_t, 1, Properties... >::view_type view_type
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, Dim > NDRegion_t
const host_mirror_type gethLocalRegions() const
typename view_type::host_mirror_type host_mirror_type
void changeDomain(const FieldLayout< Dim > &, const Mesh &mesh)