Declaration of a straightforward state for advancing with the Kinetic Monte Carlo module.
More...
|
|
| KMCSingleState ()=delete |
| | Disallowed weak construction.
|
| |
| | KMCSingleState (const KMCSingleState &a_state)=default |
| | Copy constructor.
|
| |
|
| KMCSingleState (const KMCSingleState &&)=delete |
| | Disallowed move constructor.
|
| |
| | KMCSingleState (const size_t a_numSpecies) noexcept |
| | Full constructor.
|
| |
|
virtual | ~KMCSingleState () |
| | Destructor.
|
| |
| KMCSingleState & | operator= (const KMCSingleState &a_other)=default |
| | Copy assignment operator.
|
| |
|
KMCSingleState & | operator= (const KMCSingleState &&)=delete |
| | Disallowed move assignment.
|
| |
| T & | operator[] (const size_t a_idx) noexcept |
| | Get the population of the input index.
|
| |
| const T & | operator[] (const size_t a_idx) const noexcept |
| | Get the population of the input index.
|
| |
| bool | isValidState () const noexcept |
| | Check if state is a valid state.
|
| |
| std::vector< T > | linearOut () const noexcept |
| | Linearize the state onto an output vector.
|
| |
| void | linearIn (const std::vector< T > &a_linearizedState) noexcept |
| | Linearize the input buffer onto the current state.
|
| |
| State & | getState () noexcept |
| | Get modifiable state.
|
| |
| const State & | getState () const noexcept |
| | Get state.
|
| |
template<typename T = long long>
class KMCSingleState< T >
Declaration of a straightforward state for advancing with the Kinetic Monte Carlo module.
The state is simply a vector of integers (default long long type ints).
- Note
- The template parameter indicates the integer type used for tracking the state.