atlas::parallel::Checksum class

Constructors, destructors, conversion operators

Checksum()
Checksum(const std::string& name)
~Checksum() virtual

Public functions

auto name() const -> std::string
void setup(const std::string& mpi_comm, const int part[], const idx_t remote_idx[], const int base, const gidx_t glb_idx[], const int parsize)
Setup.
void setup(const int part[], const idx_t remote_idx[], const int base, const gidx_t glb_idx[], const int parsize)
Setup.
void setup(const std::string& mpi_comm, const int part[], const idx_t remote_idx[], const int base, const gidx_t glb_idx[], const int mask[], const int parsize)
Setup.
void setup(const int part[], const idx_t remote_idx[], const int base, const gidx_t glb_idx[], const int mask[], const int parsize)
Setup.
void setup(const util::ObjectHandle<GatherScatter>&)
Setup.
template<typename DATA_TYPE>
auto execute(const DATA_TYPE lfield[], const int lvar_strides[], const int lvar_extents[], const int lvar_rank) const -> std::string
template<typename DATA_TYPE>
auto execute(DATA_TYPE lfield[], const int nb_vars) const -> std::string
template<typename DATA_TYPE, int LRANK>
auto execute(const array::ArrayView<DATA_TYPE, LRANK>& lfield) const -> std::string
template<typename DATA_TYPE, int RANK>
void var_info(const array::ArrayView<DATA_TYPE, RANK>& arr, std::vector<int>& varstrides, std::vector<int>& varextents) const

Function documentation

void atlas::parallel::Checksum::setup(const std::string& mpi_comm, const int part[], const idx_t remote_idx[], const int base, const gidx_t glb_idx[], const int parsize)

Setup.

Parameters
mpi_comm in MPI communicator
part in List of partitions
remote_idx in List of local indices on remote partitions
base in values of remote_idx start at "base"
glb_idx in List of global indices
parsize in size of given lists

void atlas::parallel::Checksum::setup(const int part[], const idx_t remote_idx[], const int base, const gidx_t glb_idx[], const int parsize)

Setup.

Parameters
part in List of partitions
remote_idx in List of local indices on remote partitions
base in values of remote_idx start at "base"
glb_idx in List of global indices
parsize in size of given lists

void atlas::parallel::Checksum::setup(const std::string& mpi_comm, const int part[], const idx_t remote_idx[], const int base, const gidx_t glb_idx[], const int mask[], const int parsize)

Setup.

Parameters
mpi_comm in MPI communicator
part in List of partitions
remote_idx in List of local indices on remote partitions
base in values of remote_idx start at "base"
glb_idx in List of global indices
mask in Mask indices not to include in the communication pattern (0=include,1=exclude)
parsize in size of given lists

void atlas::parallel::Checksum::setup(const int part[], const idx_t remote_idx[], const int base, const gidx_t glb_idx[], const int mask[], const int parsize)

Setup.

Parameters
part in List of partitions
remote_idx in List of local indices on remote partitions
base in values of remote_idx start at "base"
glb_idx in List of global indices
mask in Mask indices not to include in the communication pattern (0=include,1=exclude)
parsize in size of given lists