GridFire v0.7.0-alpha
General Purpose Nuclear Network
Loading...
Searching...
No Matches
construction.h File Reference
#include "gridfire/reaction/reaction.h"
#include "gridfire/engine/types/building.h"
#include "fourdst/composition/composition.h"
#include <variant>
#include "gridfire/reaction/weak/weak_interpolator.h"
Include dependency graph for construction.h:
This graph shows which files directly or indirectly include this file:

Namespaces

namespace  gridfire
 

Enumerations

enum class  gridfire::NetworkConstructionFlags : uint32_t {
  gridfire::NONE = 0 , gridfire::STRONG = 1 << 0 , gridfire::BETA_MINUS = 1 << 1 , gridfire::BETA_PLUS = 1 << 2 ,
  gridfire::ELECTRON_CAPTURE = 1 << 3 , gridfire::POSITRON_CAPTURE = 1 << 4 , gridfire::REACLIB_WEAK = 1 << 5 , gridfire::WRL_WEAK = BETA_MINUS | BETA_PLUS | ELECTRON_CAPTURE | POSITRON_CAPTURE ,
  gridfire::REACLIB = STRONG | REACLIB_WEAK , gridfire::DEFAULT = REACLIB , gridfire::ALL = STRONG | WRL_WEAK
}
 

Functions

constexpr auto gridfire::to_underlying (NetworkConstructionFlags f) noexcept
 
NetworkConstructionFlags gridfire::operator| (const NetworkConstructionFlags lhs, const NetworkConstructionFlags rhs)
 
NetworkConstructionFlags gridfire::operator& (const NetworkConstructionFlags lhs, const NetworkConstructionFlags rhs)
 
bool gridfire::has_flag (const NetworkConstructionFlags flags, const NetworkConstructionFlags flag_to_check)
 
std::string gridfire::NetworkConstructionFlagsToString (NetworkConstructionFlags flags)
 
reaction::ReactionSet gridfire::build_nuclear_network (const fourdst::composition::Composition &composition, const rates::weak::WeakRateInterpolator &weakInterpolator, BuildDepthType maxLayers=NetworkBuildDepth::Full, NetworkConstructionFlags ReactionTypes=NetworkConstructionFlags::DEFAULT)
 Builds a nuclear reaction network from the Reaclib library based on an initial composition.