IBurgers handles the index of a burgers vector.
More...
#include </home/runner/work/tfel/tfel/include/NUMODIS/IBurgers.hxx>
|
|
using | size_type = std::vector<int>::size_type |
|
|
| IBurgers (IBurgers &&) noexcept |
|
| IBurgers (const IBurgers &) |
|
IBurgers | operator+ (const IBurgers &rhs) const |
|
IBurgers | operator- (const IBurgers &rhs) const |
|
IBurgers & | operator= (const IBurgers &rhs) |
|
IBurgers & | operator+= (const IBurgers &rhs) |
|
IBurgers & | operator-= (const IBurgers &rhs) |
|
IBurgers & | operator/= (const int scalar) |
| | IBurgers (const unsigned nindices=3) |
| | Constructor.
|
| | IBurgers (const std::vector< int > &iburgers) |
| | Constructor.
|
| void | setIBurgers (const std::vector< int > &index) |
| | set the index of the Burgers vector
|
| bool | IsNull () const |
| | Determines whether the burgers vector is null or not.
|
| void | getIndex (std::vector< int > &b) const |
| | Return the index of the Burgers vector.
|
| const std::vector< int > & | getIndex () const |
| | Return the index of the Burgers vector.
|
| size_type | getNindices () const |
| | Return the number of indices of the Burgers vector.
|
| int | operator[] (const size_type i) const |
| | Return iburgers[i].
|
|
int & | operator[] (const size_type i) |
|
|
std::vector< int > | _index |
| | index of the burgers vector
|
|
|
TFELNUMODIS_VISIBILITY_FRIEND_EXPORT friend int | Coincide (const IBurgers &, const IBurgers &) |
|
TFELNUMODIS_VISIBILITY_FRIEND_EXPORT friend std::ostream & | operator<< (std::ostream &, const IBurgers &) |
IBurgers handles the index of a burgers vector.
◆ IBurgers() [1/2]
| numodis::IBurgers::IBurgers |
( |
const unsigned | nindices = 3 | ) |
|
|
inlineexplicit |
Constructor.
- Parameters
-
| nindices | number of indices used to store b |
◆ IBurgers() [2/2]
| numodis::IBurgers::IBurgers |
( |
const std::vector< int > & | iburgers | ) |
|
|
inlineexplicit |
Constructor.
- Parameters
-
| iburgers | index of the burgers vector |
◆ getIndex() [1/2]
| const std::vector< int > & numodis::IBurgers::getIndex |
( |
| ) |
const |
|
inlinenodiscard |
Return the index of the Burgers vector.
- Returns
- reference on the Burgers vector's index
◆ getIndex() [2/2]
| void numodis::IBurgers::getIndex |
( |
std::vector< int > & | b | ) |
const |
|
inline |
Return the index of the Burgers vector.
- Returns
- index of the Burgers vector
◆ getNindices()
| size_type numodis::IBurgers::getNindices |
( |
| ) |
const |
|
inlinenodiscard |
Return the number of indices of the Burgers vector.
- Returns
- number of indices
◆ IsNull()
| bool numodis::IBurgers::IsNull |
( |
| ) |
const |
|
inlinenodiscard |
Determines whether the burgers vector is null or not.
- Returns
- true if burgers=0, false otherwise
◆ operator[]()
| int numodis::IBurgers::operator[] |
( |
const size_type | i | ) |
const |
|
inlinenodiscard |
Return iburgers[i].
- Parameters
-
- Returns
- iburgers[i]
◆ setIBurgers()
| void numodis::IBurgers::setIBurgers |
( |
const std::vector< int > & | index | ) |
|
|
inline |
set the index of the Burgers vector
- Parameters
-
| index | index of the Burgers vector |
The documentation for this struct was generated from the following file: