Compare commits

..

2 Commits

Author SHA1 Message Date
Max Lübke
26fcecb2bb data: add fgcs dolomite benchmarks that skips unreactive cells 2025-12-10 11:42:12 +01:00
Max Lübke
c986262bce data: add fgcs dolomite w/ and w/o interpolation data 2025-12-10 11:42:01 +01:00
99 changed files with 241 additions and 146 deletions

BIN
data/dolo_fgcs_3/iter_0000.qs2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
data/dolo_fgcs_3/iter_00001.qs2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
data/dolo_fgcs_3/iter_00020.qs2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
data/dolo_fgcs_3/iter_00050.qs2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
data/dolo_fgcs_3/iter_00100.qs2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
data/dolo_fgcs_3/iter_00200.qs2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
data/dolo_fgcs_3/iter_00300.qs2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
data/dolo_fgcs_3/iter_00400.qs2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
data/dolo_fgcs_3/iter_00500.qs2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
data/dolo_fgcs_3/iter_00600.qs2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
data/dolo_fgcs_3/iter_00700.qs2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
data/dolo_fgcs_3/iter_00800.qs2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
data/dolo_fgcs_3/iter_00900.qs2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
data/dolo_fgcs_3/iter_01000.qs2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
data/dolo_fgcs_3/iter_02000.qs2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
data/dolo_fgcs_3/iter_03000.qs2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
data/dolo_fgcs_3/iter_04000.qs2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
data/dolo_fgcs_3/iter_05000.qs2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
data/dolo_fgcs_3/iter_06000.qs2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
data/dolo_fgcs_3/iter_07000.qs2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
data/dolo_fgcs_3/iter_08000.qs2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
data/dolo_fgcs_3/iter_09000.qs2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
data/dolo_fgcs_3/iter_10000.qs2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
data/dolo_fgcs_3/timings.qs2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
data/dolo_fgcs_3_interp/iter_0000.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_interp/iter_00001.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_interp/iter_00020.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_interp/iter_00050.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_interp/iter_00100.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_interp/iter_00200.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_interp/iter_00300.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_interp/iter_00400.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_interp/iter_00500.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_interp/iter_00600.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_interp/iter_00700.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_interp/iter_00800.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_interp/iter_00900.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_interp/iter_01000.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_interp/iter_02000.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_interp/iter_03000.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_interp/iter_04000.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_interp/iter_05000.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_interp/iter_06000.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_interp/iter_07000.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_interp/iter_08000.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_interp/iter_09000.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_interp/iter_10000.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_interp/timings.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_interp_skip/iter_0000.qs2 (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
data/dolo_fgcs_3_interp_skip/timings.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_skip/iter_0000.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_skip/iter_00001.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_skip/iter_00020.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_skip/iter_00050.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_skip/iter_00100.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_skip/iter_00200.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_skip/iter_00300.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_skip/iter_00400.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_skip/iter_00500.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_skip/iter_00600.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_skip/iter_00700.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_skip/iter_00800.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_skip/iter_00900.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_skip/iter_01000.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_skip/iter_02000.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_skip/iter_03000.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_skip/iter_04000.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_skip/iter_05000.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_skip/iter_06000.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_skip/iter_07000.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_skip/iter_08000.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_skip/iter_09000.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_skip/iter_10000.qs2 (Stored with Git LFS)

Binary file not shown.

BIN
data/dolo_fgcs_3_skip/timings.qs2 (Stored with Git LFS)

Binary file not shown.

View File

@ -6,7 +6,13 @@
namespace poet {
enum DHT_PROP_TYPES { DHT_TYPE_DEFAULT, DHT_TYPE_CHARGE, DHT_TYPE_TOTAL };
enum CHEMISTRY_OUT_SOURCE { CHEM_PQC, CHEM_DHT, CHEM_INTERP, CHEM_AISURR };
enum CHEMISTRY_OUT_SOURCE {
CHEM_PQC,
CHEM_DHT,
CHEM_INTERP,
CHEM_AISURR,
CHEM_SKIP
};
struct WorkPackage {
std::size_t size;

View File

@ -128,7 +128,7 @@ void DHT_Wrapper::fillDHT(const WorkPackage &work_package) {
dht_results.locations.resize(length);
dht_results.filledDHT = std::vector<bool>(length, false);
for (int i = 0; i < length; i++) {
// If true grid cell was simulated, needs to be inserted into dht
// If true, grid cell was simulated, needs to be inserted into dht
if (work_package.mapping[i] != CHEM_PQC) {
continue;
}

View File

@ -131,6 +131,9 @@ void poet::ChemistryModule::WorkerDoWork(MPI_Status &probe_status,
int count = double_count;
std::vector<double> mpi_buffer(count);
constexpr int CL_INDEX = 7;
constexpr double CL_THRESHOLD = 1e-10;
/* receive */
MPI_Recv(mpi_buffer.data(), count, MPI_DOUBLE, 0, LOOP_WORK, this->group_comm,
MPI_STATUS_IGNORE);
@ -162,6 +165,15 @@ void poet::ChemistryModule::WorkerDoWork(MPI_Status &probe_status,
mpi_buffer.begin() + this->prop_count * (wp_i + 1));
}
/* skip simulation of cells cells where Cl concentration is below threshold */
for (std::size_t wp_i = 0; wp_i < s_curr_wp.size; wp_i++) {
if (s_curr_wp.input[wp_i][CL_INDEX] < CL_THRESHOLD) {
s_curr_wp.mapping[wp_i] = CHEM_SKIP;
s_curr_wp.output[wp_i] = s_curr_wp.input[wp_i];
}
}
// std::cout << this->comm_rank << ":" << counter++ << std::endl;
if (dht_enabled || interp_enabled) {
dht->prepareKeys(s_curr_wp.input, dt);
@ -319,6 +331,11 @@ void poet::ChemistryModule::WorkerRunWorkPackage(WorkPackage &work_package,
to_ignore.push_back(wp_id);
}
}
if (to_ignore.size() == work_package.size) {
return;
}
this->pqc_runner->run(inout_chem, dTimestep, to_ignore);
for (std::size_t wp_id = 0; wp_id < work_package.size; wp_id++) {