Inherits nlcglib::ScalarBaseZ.
|
| Scalar (std::vector< double > const &data__, std::vector< kindex_t > const &indices__, MPI_Comm mpi_comm=MPI_COMM_SELF) |
|
| Scalar (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 |
|
Definition at line 136 of file adaptor.hpp.
◆ Scalar() [1/2]
sirius::Scalar::Scalar |
( |
std::vector< double > const & |
data__, |
|
|
std::vector< kindex_t > const & |
indices__, |
|
|
MPI_Comm |
mpi_comm = MPI_COMM_SELF |
|
) |
| |
|
inline |
◆ Scalar() [2/2]
sirius::Scalar::Scalar |
( |
std::vector< double > && |
data__, |
|
|
std::vector< kindex_t > && |
indices__, |
|
|
MPI_Comm |
mpi_comm = MPI_COMM_SELF |
|
) |
| |
|
inline |
◆ get() [1/2]
buffer_t sirius::Scalar::get |
( |
int |
i | ) |
|
|
inlineoverride |
◆ get() [2/2]
const buffer_t sirius::Scalar::get |
( |
int |
i | ) |
const |
|
inlineoverride |
◆ size()
int sirius::Scalar::size |
( |
| ) |
const |
|
inlineoverride |
◆ mpicomm() [1/2]
MPI_Comm sirius::Scalar::mpicomm |
( |
int |
i | ) |
const |
|
inlineoverride |
◆ mpicomm() [2/2]
MPI_Comm sirius::Scalar::mpicomm |
( |
| ) |
const |
|
inlineoverride |
◆ kpoint_index()
kindex_t sirius::Scalar::kpoint_index |
( |
int |
i | ) |
const |
|
inlineoverride |
◆ data
std::vector<double> sirius::Scalar::data |
|
private |
◆ indices
std::vector<kindex_t> sirius::Scalar::indices |
|
private |
◆ mpi_comm
MPI_Comm sirius::Scalar::mpi_comm |
|
private |
The documentation for this class was generated from the following file: