GridFire 0.0.1a
General Purpose Nuclear Network
Loading...
Searching...
No Matches
py_screening.h
Go to the documentation of this file.
1#pragma once
2
4
5#include <pybind11/pybind11.h>
6#include <pybind11/stl.h>
7#include <pybind11/functional.h> // Needed for std::function
8
9#include <vector>
10
11#include "cppad/cppad.hpp"
12
14 std::vector<double> calculateScreeningFactors(const gridfire::reaction::LogicalReactionSet &reactions, const std::vector<fourdst::atomic::Species> &species, const std::vector<double> &Y, const double T9, const double rho) const override;
15 std::vector<ADDouble> calculateScreeningFactors(const gridfire::reaction::LogicalReactionSet &reactions, const std::vector<fourdst::atomic::Species> &species, const std::vector<ADDouble> &Y, const ADDouble T9, const ADDouble rho) const override;
16};
std::vector< double > calculateScreeningFactors(const gridfire::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 for a set of reactions.
An abstract base class for plasma screening models.
CppAD::AD< double > ADDouble
Alias for CppAD Automatic Differentiation type for double precision.
TemplatedReactionSet< LogicalReaction > LogicalReactionSet
A set of logical reactions.
Definition reaction.h:563