![]() |
QMCPACK
|
class to use hyperslabs in both file and memory spaces More...
Inheritance diagram for double_hyperslab_proxy< CT, MAXDIM >:
Collaboration diagram for double_hyperslab_proxy< CT, MAXDIM >:Public Types | |
| enum | { element_size = container_proxy<CT>::DIM } |
| determine the size of value_type More... | |
Public Types inherited from container_proxy< CT > | |
| enum | |
| using | pointer = typename scalar_traits< CT >::real_type * |
Public Member Functions | |
| double_hyperslab_proxy (CT &a) | |
| 1D More... | |
| template<typename IC > | |
| double_hyperslab_proxy (CT &a, const IC &dims_in, const IC &dims_loc, const IC &offsets_in, const IC &mem_dims_in, const IC &mem_dims_loc, const IC &mem_offsets_in) | |
| hsize_t | size (int i) const |
| return the size of the i-th dimension More... | |
| void | change_shape () |
Public Member Functions inherited from container_proxy< CT > | |
| container_proxy (CT &a) | |
| size_t | size () const |
| pointer | data () |
Public Attributes | |
| int | slab_rank |
| rank of hyperslab More... | |
| int | mem_rank |
| bool | use_slab |
| true, if hyperslab is used More... | |
| TinyVector< hsize_t, MAXDIM+1 > | slab_dims |
| global dimension of the hyperslab More... | |
| TinyVector< hsize_t, MAXDIM+1 > | slab_dims_local |
| local dimension of the hyperslab More... | |
| TinyVector< hsize_t, MAXDIM+1 > | slab_offset |
| offset of the hyperslab More... | |
| TinyVector< hsize_t, MAXDIM+1 > | mem_dims |
| global dimension of the hyperslab More... | |
| TinyVector< hsize_t, MAXDIM+1 > | mem_dims_local |
| local dimension of the hyperslab More... | |
| TinyVector< hsize_t, MAXDIM+1 > | mem_offset |
| offset of the hyperslab More... | |
Public Attributes inherited from container_proxy< CT > | |
| CT & | ref |
class to use hyperslabs in both file and memory spaces
container_proxy<CT> handles the size and datatype
Definition at line 26 of file hdf_double_hyperslab.h.
| anonymous enum |
determine the size of value_type
| Enumerator | |
|---|---|
| element_size | |
Definition at line 29 of file hdf_double_hyperslab.h.
|
inline |
1D
Definition at line 51 of file hdf_double_hyperslab.h.
References double_hyperslab_proxy< CT, MAXDIM >::slab_dims, double_hyperslab_proxy< CT, MAXDIM >::slab_dims_local, and double_hyperslab_proxy< CT, MAXDIM >::use_slab.
|
inline |
Definition at line 59 of file hdf_double_hyperslab.h.
References double_hyperslab_proxy< CT, MAXDIM >::element_size, double_hyperslab_proxy< CT, MAXDIM >::mem_dims, double_hyperslab_proxy< CT, MAXDIM >::mem_dims_local, double_hyperslab_proxy< CT, MAXDIM >::mem_offset, double_hyperslab_proxy< CT, MAXDIM >::mem_rank, double_hyperslab_proxy< CT, MAXDIM >::slab_dims, double_hyperslab_proxy< CT, MAXDIM >::slab_dims_local, double_hyperslab_proxy< CT, MAXDIM >::slab_offset, double_hyperslab_proxy< CT, MAXDIM >::slab_rank, and double_hyperslab_proxy< CT, MAXDIM >::use_slab.
|
inline |
Definition at line 103 of file hdf_double_hyperslab.h.
References TinyVector< T, D >::data(), and double_hyperslab_proxy< CT, MAXDIM >::slab_dims.
|
inline |
return the size of the i-th dimension
| i | dimension |
Definition at line 101 of file hdf_double_hyperslab.h.
References double_hyperslab_proxy< CT, MAXDIM >::slab_dims.
| TinyVector<hsize_t, MAXDIM + 1> mem_dims |
global dimension of the hyperslab
Definition at line 45 of file hdf_double_hyperslab.h.
Referenced by double_hyperslab_proxy< CT, MAXDIM >::double_hyperslab_proxy().
| TinyVector<hsize_t, MAXDIM + 1> mem_dims_local |
local dimension of the hyperslab
Definition at line 47 of file hdf_double_hyperslab.h.
Referenced by double_hyperslab_proxy< CT, MAXDIM >::double_hyperslab_proxy().
| TinyVector<hsize_t, MAXDIM + 1> mem_offset |
offset of the hyperslab
Definition at line 49 of file hdf_double_hyperslab.h.
Referenced by double_hyperslab_proxy< CT, MAXDIM >::double_hyperslab_proxy().
| int mem_rank |
Definition at line 35 of file hdf_double_hyperslab.h.
Referenced by double_hyperslab_proxy< CT, MAXDIM >::double_hyperslab_proxy().
| TinyVector<hsize_t, MAXDIM + 1> slab_dims |
global dimension of the hyperslab
Definition at line 39 of file hdf_double_hyperslab.h.
Referenced by double_hyperslab_proxy< CT, MAXDIM >::change_shape(), double_hyperslab_proxy< CT, MAXDIM >::double_hyperslab_proxy(), and double_hyperslab_proxy< CT, MAXDIM >::size().
| TinyVector<hsize_t, MAXDIM + 1> slab_dims_local |
local dimension of the hyperslab
Definition at line 41 of file hdf_double_hyperslab.h.
Referenced by double_hyperslab_proxy< CT, MAXDIM >::double_hyperslab_proxy().
| TinyVector<hsize_t, MAXDIM + 1> slab_offset |
offset of the hyperslab
Definition at line 43 of file hdf_double_hyperslab.h.
Referenced by double_hyperslab_proxy< CT, MAXDIM >::double_hyperslab_proxy().
| int slab_rank |
rank of hyperslab
Definition at line 34 of file hdf_double_hyperslab.h.
Referenced by double_hyperslab_proxy< CT, MAXDIM >::double_hyperslab_proxy().
| bool use_slab |
true, if hyperslab is used
Definition at line 37 of file hdf_double_hyperslab.h.
Referenced by double_hyperslab_proxy< CT, MAXDIM >::double_hyperslab_proxy().