Ginkgo: gko::experimental::distributed::DistributedBase Class Reference

| Ginkgo Generated from branch based on main. Ginkgo version 1.11.0 A numerical linear algebra library targeting many-core architectures

Loading...
Searching...
No Matches
gko::experimental::distributed::DistributedBase Class Reference

A base class for distributed objects. More...

`#include <ginkgo/core/distributed/base.hpp>`

Inheritance diagram for gko::experimental::distributed::DistributedBase:
[legend]

## Public Member Functions
| DistributedBase (const DistributedBase &other)=default
| DistributedBase (DistributedBase &&other)=default
DistributedBase & | operator= (const DistributedBase &)
| Copy assignment that doesn't change the used mpi::communicator.
DistributedBase & | operator= (DistributedBase &&) noexcept
| Move assignment that doesn't change the used mpi::communicator.
mpi::communicator | get_communicator () const
| Access the used mpi::communicator.

## Detailed Description

A base class for distributed objects.

This class stores and gives access to the used mpi::communicator object.

Note
  The communicator is not changed on assignment.

## Member Function Documentation

## ◆ get_communicator()

mpi::communicator gko::experimental::distributed::DistributedBase::get_communicator | ( |  | ) | const
| inline

Access the used mpi::communicator.

Returns
  used mpi::communicator

## ◆ operator=() [1/2]

DistributedBase & gko::experimental::distributed::DistributedBase::operator= | ( | const DistributedBase & |  | ) |
| inline

Copy assignment that doesn't change the used mpi::communicator.

Returns
  unmodified *this

## ◆ operator=() [2/2]

DistributedBase & gko::experimental::distributed::DistributedBase::operator= | ( | DistributedBase && |  | ) |
| inlinenoexcept

Move assignment that doesn't change the used mpi::communicator.

Returns
  unmodified *this

The documentation for this class was generated from the following file:

- ginkgo/core/distributed/base.hpp