GridFire 0.0.1a General Purpose Nuclear Network

Loading...
Searching...
No Matches
priming.h
Go to the documentation of this file.
1#pragma once
2
3#include "gridfire/engine/engine_abstract.h"
4#include "gridfire/network.h"
5
6#include "fourdst/composition/composition.h"
7#include "fourdst/composition/atomicSpecies.h"
8
9#include <map>
10#include <ranges>
11#include <sstream>
12
13
14 namespace gridfire {
15
32 PrimingReport primeNetwork(
33 const NetIn&,
34 DynamicEngine& engine
35 );
36
52 double calculateDestructionRateConstant(
53 const DynamicEngine& engine,
54 const fourdst::atomic::Species& species,
55 const std::vector<double>& Y,
56 double T9,
57 double rho
58 );
59
75 double calculateCreationRate(
76 const DynamicEngine& engine,
77 const fourdst::atomic::Species& species,
78 const std::vector<double>& Y,
79 double T9,
80 double rho
81 );
82 }
gridfire::DynamicEngine
Abstract class for engines supporting Jacobian and stoichiometry operations.
Definition engine_abstract.h:130
engine_abstract.h
Abstract interfaces for reaction network engines in GridFire.
gridfire
Definition engine_abstract.h:31
gridfire::calculateCreationRate
double calculateCreationRate(const DynamicEngine &engine, const fourdst::atomic::Species &species, const std::vector< double > &Y, double T9, double rho)
Computes the creation rate for a specific species.
Definition priming.cpp:213
gridfire::calculateDestructionRateConstant
double calculateDestructionRateConstant(const DynamicEngine &engine, const fourdst::atomic::Species &species, const std::vector< double > &Y, double T9, double rho)
Computes the destruction rate constant for a specific species.
Definition priming.cpp:193
gridfire::primeNetwork
PrimingReport primeNetwork(const NetIn &, DynamicEngine &engine)
Primes absent species in the network to their equilibrium abundances.
Definition priming.cpp:39
network.h
gridfire::NetIn
Definition network.h:53
gridfire::PrimingReport
Captures the result of a network priming operation.
Definition reporting.h:67