This class is a parser for multiple slices of the form x,y,z,... where x, y and z are slices of the form i:j:k, as defined in the SliceParser class. This class contains a vector of SliceParsers. The supported function set differs from the IntervalsParser.
More...
#include <IntervalsParser.H>
This class is a parser for multiple slices of the form x,y,z,... where x, y and z are slices of the form i:j:k, as defined in the SliceParser class. This class contains a vector of SliceParsers. The supported function set differs from the IntervalsParser.
◆ BTDIntervalsParser() [1/2]
utils::parser::BTDIntervalsParser::BTDIntervalsParser |
( |
| ) |
|
|
default |
◆ BTDIntervalsParser() [2/2]
utils::parser::BTDIntervalsParser::BTDIntervalsParser |
( |
const std::vector< std::string > & |
instr_vec | ) |
|
Constructor of the BTDIntervalsParser class.
- Parameters
-
[in] | instr_vec | an input vector string, which when concatenated is of the form "x,y,z,...". This will call the constructor of SliceParser using x, y and z as input arguments. |
◆ GetBTDIteration()
int utils::parser::BTDIntervalsParser::GetBTDIteration |
( |
int |
i_buffer | ) |
const |
Return the iteration number stored at index i_buffer.
- Parameters
-
i_buffer | buffer or iteration index, between 0 and NumSnapshots |
◆ GetFinalIteration()
int utils::parser::BTDIntervalsParser::GetFinalIteration |
( |
| ) |
const |
Return the final BTD iteration.
◆ isActivated()
bool utils::parser::BTDIntervalsParser::isActivated |
( |
| ) |
const |
A method that returns true if any of the slices contained by the IntervalsParser has a strictly positive period.
◆ NumSnapshots()
int utils::parser::BTDIntervalsParser::NumSnapshots |
( |
| ) |
const |
Return the total number of unique labframe snapshots.
◆ m_activated
bool utils::parser::BTDIntervalsParser::m_activated = false |
|
private |
◆ m_btd_iterations
std::vector<int> utils::parser::BTDIntervalsParser::m_btd_iterations |
|
private |
◆ m_separator
constexpr char utils::parser::BTDIntervalsParser::m_separator = ',' |
|
staticconstexprprivate |
◆ m_slice_starting_i_buffer
std::vector<int> utils::parser::BTDIntervalsParser::m_slice_starting_i_buffer |
|
private |
◆ m_slices
std::vector<SliceParser> utils::parser::BTDIntervalsParser::m_slices |
|
private |
The documentation for this class was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/warpx/checkouts/latest/Source/Utils/Parser/IntervalsParser.H
- /home/docs/checkouts/readthedocs.org/user_builds/warpx/checkouts/latest/Source/Utils/Parser/IntervalsParser.cpp