data for Mixing class
More...
#include <mixing_data.h>
◆ Mixing_Data() [1/2]
| Base_Mixing::Mixing_Data::Mixing_Data |
( |
| ) |
|
|
default |
◆ Mixing_Data() [2/2]
| Base_Mixing::Mixing_Data::Mixing_Data |
( |
const int & |
ndim, |
|
|
const std::size_t & |
length, |
|
|
const size_t & |
type_size |
|
) |
| |
Construct a new Mixing_Data object.
- Parameters
-
| ndim | store ndim vectors for mixing |
| length | the length of each vector |
| type_size | size of type |
◆ ~Mixing_Data()
| Base_Mixing::Mixing_Data::~Mixing_Data |
( |
| ) |
|
◆ index_move()
| int Base_Mixing::Mixing_Data::index_move |
( |
const int & |
n | ) |
const |
|
inline |
get the index of i-th vector
◆ push()
template<typename FPTYPE >
| void Base_Mixing::Mixing_Data::push |
( |
const FPTYPE * |
data_in | ) |
|
|
inline |
◆ reset()
| void Base_Mixing::Mixing_Data::reset |
( |
| ) |
|
|
inline |
◆ resize()
| void Base_Mixing::Mixing_Data::resize |
( |
const int & |
ndim, |
|
|
const std::size_t & |
length, |
|
|
const size_t & |
type_size |
|
) |
| |
resize the data
- Parameters
-
| ndim | store ndim vectors for mixing |
| length | the length of each vector |
| type_size | size of type |
◆ data
| void* Base_Mixing::Mixing_Data::data = nullptr |
◆ length
| std::size_t Base_Mixing::Mixing_Data::length = 0 |
◆ ndim_history
| int Base_Mixing::Mixing_Data::ndim_history = 0 |
◆ ndim_tot
| int Base_Mixing::Mixing_Data::ndim_tot = 0 |
◆ ndim_use
| int Base_Mixing::Mixing_Data::ndim_use = 0 |
◆ start
| int Base_Mixing::Mixing_Data::start = -1 |
The documentation for this class was generated from the following files:
- /home/runner/work/abacus-develop/abacus-develop/source/source_base/module_mixing/mixing_data.h
- /home/runner/work/abacus-develop/abacus-develop/source/source_base/module_mixing/mixing_data.cpp