TODO: Array1d owns data...
More...
#include <adaptor.hpp>
Inherits nlcglib::VectorBaseZ.
|
| Array1d (std::vector< std::vector< double > > const &data, std::vector< kindex_t > const &indices, MPI_Comm mpi_comm=MPI_COMM_SELF) |
|
| Array1d (std::vector< std::vector< double > > &&data, std::vector< kindex_t > &&indices, MPI_Comm mpi_comm=MPI_COMM_SELF) |
|
buffer_t | get (int i) override |
|
const buffer_t | get (int i) const override |
|
int | size () const override |
|
MPI_Comm | mpicomm (int i) const override |
|
MPI_Comm | mpicomm () const override |
|
kindex_t | kpoint_index (int i) const override |
|
TODO: Array1d owns data...
Definition at line 87 of file adaptor.hpp.
◆ Array1d() [1/2]
sirius::Array1d::Array1d |
( |
std::vector< std::vector< double > > const & |
data, |
|
|
std::vector< kindex_t > const & |
indices, |
|
|
MPI_Comm |
mpi_comm = MPI_COMM_SELF |
|
) |
| |
|
inline |
◆ Array1d() [2/2]
sirius::Array1d::Array1d |
( |
std::vector< std::vector< double > > && |
data, |
|
|
std::vector< kindex_t > && |
indices, |
|
|
MPI_Comm |
mpi_comm = MPI_COMM_SELF |
|
) |
| |
|
inline |
◆ size()
int sirius::Array1d::size |
( |
| ) |
const |
|
inlineoverride |
◆ mpicomm() [1/2]
MPI_Comm sirius::Array1d::mpicomm |
( |
int |
i | ) |
const |
|
inlineoverride |
◆ mpicomm() [2/2]
MPI_Comm sirius::Array1d::mpicomm |
( |
| ) |
const |
|
inlineoverride |
◆ kpoint_index()
kindex_t sirius::Array1d::kpoint_index |
( |
int |
i | ) |
const |
|
inlineoverride |
◆ data
std::vector<std::vector<double> > sirius::Array1d::data |
|
private |
◆ indices
std::vector<kindex_t> sirius::Array1d::indices |
|
private |
◆ mpi_comm
MPI_Comm sirius::Array1d::mpi_comm |
|
private |
The documentation for this class was generated from the following file: