6#include "cppad/cppad.hpp"
56 const std::vector<fourdst::atomic::Species>& species,
57 const std::vector<double>& Y,
79 const std::vector<fourdst::atomic::Species>& species,
80 const std::vector<ADDouble>& Y,
100 template <
typename T>
103 const std::vector<fourdst::atomic::Species>& species,
104 const std::vector<T>& Y,
128 const std::vector<fourdst::atomic::Species> &species,
129 const std::vector<T> &Y,
133 return std::vector<T>(reactions.
size(), T(1.0));
size_t size() const
Gets the number of reactions in the set.
A screening model that applies no screening effect.
CppAD::AD< double > ADDouble
Alias for CppAD Automatic Differentiation type for double precision.
std::vector< T > calculateFactors_impl(const reaction::LogicalReactionSet &reactions, const std::vector< fourdst::atomic::Species > &species, const std::vector< T > &Y, const T T9, const T rho) const
Template implementation for calculating screening factors.
std::vector< double > calculateScreeningFactors(const reaction::LogicalReactionSet &reactions, const std::vector< fourdst::atomic::Species > &species, const std::vector< double > &Y, const double T9, const double rho) const override
Calculates screening factors, which are always 1.0.
An abstract base class for plasma screening models.
TemplatedReactionSet< LogicalReaction > LogicalReactionSet
A set of logical reactions.
Defines classes for representing and managing nuclear reactions.