btas.h
void counted_tensor_to_btas_subtensor(const TA_Tensor_ &src, BTAS_Tensor_ *dst, madness::AtomicInt *counter)
Task function for assigning a tensor to an Eigen submatrix.
Definition: btas.h:143
void counted_btas_subtensor_to_tensor(const BTAS_Tensor_ *src, DistArray_ *dst, const typename DistArray_::ordinal_type i, madness::AtomicInt *counter)
Definition: btas.h:126
TensorConstMap< T, Range_, OpResult > make_const_map(const T *const data, const Index &lower_bound, const Index &upper_bound)
Definition: tensor_map.h:98
TensorMap< T, Range_, OpResult > make_map(T *const data, const Index &lower_bound, const Index &upper_bound)
Definition: tensor_map.h:53
Range that references a subblock of another range.
Definition: block_range.h:34
btas::Tensor< typename Tile::value_type, btas::DEFAULT::range, Storage > array_to_btas_tensor(const TiledArray::DistArray< Tile, Policy > &src, int target_rank=-1)
Convert a TiledArray::DistArray object into a btas::Tensor object.
Definition: btas.h:301
KroneckerDeltaTile< _N >::numeric_type max(const KroneckerDeltaTile< _N > &arg)
Future< value_type > find(const Index &i) const
Find local or remote tile by index.
Definition: dist_array.h:524
const TiledArray::Range & make_ta_range(const TiledArray::Range &range)
Definition: btas.h:58
DistArray_ btas_tensor_to_array(World &world, const TiledArray::TiledRange &trange, const btas::Tensor< T, Range, Storage > &src, bool replicated=false)
Convert a btas::Tensor object into a TiledArray::DistArray object.
Definition: btas.h:212
void btas_subtensor_to_tensor(const btas::Tensor< T, Range_, Storage_ > &src, Tensor_ &dst)
Copy a block of a btas::Tensor into a TiledArray::Tensor.
Definition: btas.h:60
Definition: array_impl.cpp:28
void tensor_to_btas_subtensor(const Tensor_ &src, btas::Tensor< T, Range_, Storage_ > &dst)
Copy a block of a btas::Tensor into a TiledArray::Tensor.
Definition: btas.h:96
auto make_shape(World &world, const TiledArray::TiledRange &trange)
std::enable_if_t< is_dense_v< Policy >, void > truncate(DistArray< Tile, Policy > &array, typename Policy::shape_type::value_type=0)
Truncate a dense Array.
Definition: truncate.h:46
auto make_shape< false >(World &, const TiledArray::TiledRange &)
Definition: btas.h:161
const std::shared_ptr< pmap_interface > & pmap() const
Process map accessor.
Definition: dist_array.h:1019
auto make_shape< true >(World &world, const TiledArray::TiledRange &trange)
Definition: btas.h:153