The test suite is extensive. Note that LLMs were used to aid in the development of the test suite. All LLM generated code was manually reviewed.
13 lines
597 B
C++
13 lines
597 B
C++
#include <print>
|
|
|
|
#include "serif/eos/models/polytropic.hpp"
|
|
#include "serif/eos/evaluation.hpp"
|
|
#include "serif/dimensions/type_alias.hpp"
|
|
#include "serif/discretization/blocks/base.hpp"
|
|
#include "serif/discretization/blocks/fields.hpp"
|
|
#include "serif/discretization/domain/physical_domains.hpp"
|
|
int main() {
|
|
const serif::eos::models::Polytrope polytrope(-1, 0.6);
|
|
// std::println("Density: {}", serif::eos::evaluate<serif::dimensions::Density>(polytrope, serif::dimensions::SpecificEnthalpyValue{1.0}).value());
|
|
// std::println("{}", serif::discretization::blocks::gravity::name);
|
|
} |