feat(partition-functions): added framework and some concrete partition functions

GroundState partition function, Rauscher&Thielemann partition function, and composite partition function added
This commit is contained in:
2025-07-02 11:32:45 -04:00
parent a14738d597
commit e5ad284778
13 changed files with 70432 additions and 10 deletions

View File

@@ -0,0 +1,14 @@
#pragma once
#include <string>
namespace gridfire::partition {
class PartitionFunction {
public:
virtual ~PartitionFunction() = default;
virtual double evaluate(int z, int a, double T9) const = 0;
virtual double evaluateDerivative(int z, int a, double T9) const = 0;
virtual bool supports(int z, int a) const = 0;
virtual std::string type() const = 0;
};
}