feat(surface): major work on implementing surface constraints in a presciption agnostic manner
This commit is contained in:
@@ -12,20 +12,20 @@ export import :model.structure.base;
|
||||
import :utils.misc;
|
||||
|
||||
export namespace mean_field::models::structure {
|
||||
class PolytropicStructure final : public StructureBase {
|
||||
class PolytropicStructure final {
|
||||
public:
|
||||
explicit PolytropicStructure(
|
||||
eos::Polytrope equationOfState,
|
||||
double targetMass
|
||||
);
|
||||
|
||||
[[nodiscard]] const eos::EquationOfState &equationOfState() const noexcept override;
|
||||
[[nodiscard]] const eos::Polytrope &equationOfState() const noexcept;
|
||||
|
||||
[[nodiscard]] double targetMass() const noexcept override;
|
||||
[[nodiscard]] double targetMass() const noexcept;
|
||||
|
||||
[[nodiscard]] StructureSeed makeInitialSeed(const StructureSeedRequest &request) const override;
|
||||
[[nodiscard]] StructureSeed makeInitialSeed(const StructureSeedRequest &request) const;
|
||||
|
||||
void validate() const override;
|
||||
void validate() const;
|
||||
|
||||
private:
|
||||
struct LaneEmdenPoint {
|
||||
|
||||
Reference in New Issue
Block a user