2025-07-10 09:36:05 -04:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "gridfire/engine/engine_abstract.h"
|
|
|
|
|
#include "gridfire/network.h"
|
|
|
|
|
|
|
|
|
|
#include "fourdst/composition/composition.h"
|
|
|
|
|
#include "fourdst/composition/atomicSpecies.h"
|
|
|
|
|
|
2025-07-14 14:50:49 -04:00
|
|
|
#include <map>
|
|
|
|
|
#include <ranges>
|
|
|
|
|
#include <sstream>
|
|
|
|
|
|
2025-07-10 09:36:05 -04:00
|
|
|
|
|
|
|
|
namespace gridfire {
|
2025-07-14 14:50:49 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
PrimingReport primeNetwork(
|
2025-07-10 09:36:05 -04:00
|
|
|
const NetIn&,
|
|
|
|
|
DynamicEngine& engine
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
double calculateDestructionRateConstant(
|
|
|
|
|
const DynamicEngine& engine,
|
|
|
|
|
const fourdst::atomic::Species& species,
|
|
|
|
|
const std::vector<double>& Y,
|
|
|
|
|
double T9,
|
|
|
|
|
double rho
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
double calculateCreationRate(
|
|
|
|
|
const DynamicEngine& engine,
|
|
|
|
|
const fourdst::atomic::Species& species,
|
|
|
|
|
const std::vector<double>& Y,
|
|
|
|
|
double T9,
|
|
|
|
|
double rho
|
|
|
|
|
);
|
|
|
|
|
}
|