mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 08:38:23 +01:00
Compare commits
No commits in common. "29fbbc657be817df65d52da77a593a3557ddf117" and "6b0bc8aaffc8e21a3ce58275a83d4da23da315f5" have entirely different histories.
29fbbc657b
...
6b0bc8aaff
@ -15,11 +15,6 @@ PhreeqcSelectedOutputParser::PhreeqcSelectedOutputParser(
|
||||
|
||||
if (this->_m_has_selected_output) {
|
||||
parseHeader();
|
||||
if (this->_m_headings.size() != this->getValues(1).size()) {
|
||||
throw std::runtime_error(
|
||||
"Number of headings does not match number of values in selected "
|
||||
"output.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -137,7 +132,7 @@ PhreeqcSelectedOutputParser::getValues(std::uint32_t cell_id) const {
|
||||
if (!this->hasSelectedOutput()) {
|
||||
return {}; // No selected output defined
|
||||
}
|
||||
this->_m_pqc_instance->SetCurrentSelectedOutputUserNumber(cell_id);
|
||||
// this->_m_pqc_instance->SetCurrentSelectedOutputUserNumber(cell_id);
|
||||
|
||||
const std::string selected_output_string =
|
||||
_m_pqc_instance->GetSelectedOutputString();
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Time-stamp: "Last modified 2025-08-01 10:54:30 delucia"
|
||||
// Time-stamp: "Last modified 2025-07-28 20:14:08 delucia"
|
||||
#include <iostream>
|
||||
#include <iomanip>
|
||||
#include <linux/limits.h>
|
||||
@ -96,10 +96,6 @@ int main(int argc, char *argv[]) {
|
||||
auto outonly = pqc_mat1.getMatrixOutOnly();
|
||||
std::cout << ":: pqc_mat1.getMatrixOutOnly(): \n";
|
||||
std::cout << outonly << "\n\n";
|
||||
|
||||
auto selout = pqc_mat1.getSelectedOutputNames();
|
||||
std::cout << ":: pqc_mat1.getSelectedOutputNames(): \n";
|
||||
std::cout << selout << "\n\n";
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user