feat(python): added robust python bindings covering the entire codebase
This commit is contained in:
16
src/include/gridfire/partition/partition_abstract.h
Normal file
16
src/include/gridfire/partition/partition_abstract.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <memory>
|
||||
|
||||
namespace gridfire::partition {
|
||||
class PartitionFunction {
|
||||
public:
|
||||
virtual ~PartitionFunction() = default;
|
||||
[[nodiscard]] virtual double evaluate(int z, int a, double T9) const = 0;
|
||||
[[nodiscard]] virtual double evaluateDerivative(int z, int a, double T9) const = 0;
|
||||
[[nodiscard]] virtual bool supports(int z, int a) const = 0;
|
||||
[[nodiscard]] virtual std::string type() const = 0;
|
||||
[[nodiscard]] virtual std::unique_ptr<PartitionFunction> clone() const = 0;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user