GridFire 0.0.1a
General Purpose Nuclear Network
Loading...
Searching...
No Matches
py_partition.h
Go to the documentation of this file.
1#pragma once
2
3#include <pybind11/pybind11.h>
4#include <pybind11/stl.h>
5
7
8
10 double evaluate(int z, int a, double T9) const override;
11 double evaluateDerivative(int z, int a, double T9) const override;
12 bool supports(int z, int a) const override;
13 std::string type() const override;
14 std::unique_ptr<gridfire::partition::PartitionFunction> clone() const override;
15};
std::string type() const override
Get the human-readable type of this partition function.
bool supports(int z, int a) const override
Check if this partition function supports an isotope.
double evaluateDerivative(int z, int a, double T9) const override
Evaluate the temperature derivative of the partition function.
double evaluate(int z, int a, double T9) const override
Evaluate the partition function for a given isotope.
std::unique_ptr< gridfire::partition::PartitionFunction > clone() const override
Create a deep copy of this PartitionFunction.
Abstract interface for evaluating nuclear partition functions.