|
SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
|
#include <array>#include <cmath>#include <filesystem>#include <memory>#include <numbers>#include <span>#include <string>#include <type_traits>#include "serif/backend/mfem/discretization/dof_map.hpp"#include "serif/backend/mfem/geometry/deformation/computations.hpp"#include "serif/eos/models/polytropic.hpp"#include "serif/equations/barotropic_density.hpp"#include "serif/equations/primal_gravity.hpp"#include "serif/geometry/surface/isobaric.hpp"#include "serif/model/description.hpp"#include "serif/utils/dependencies/computation_cache.hpp"#include "serif/utils/serialize/top.hpp"Classes | |
| class | serif::backend::mfem::serialize::detail::TopModelSampler |
| Sample copied coefficients on a private deformed geometry; the original state and mesh remain untouched. More... | |
Namespaces | |
| namespace | serif |
| namespace | serif::backend |
| namespace | serif::backend::mfem |
| namespace | serif::backend::mfem::serialize |
| namespace | serif::backend::mfem::serialize::detail |
| namespace | serif::utils |
| namespace | serif::utils::serialize |
Functions | |
| template<typename EOS> | |
| bool | serif::backend::mfem::serialize::detail::top_matching_polytrope (const EOS &candidate, const eos::models::Polytrope &physical) |
| Verify the actual closure EOS rather than assuming a borrowed equation uses the model's values. | |
| template<model::StellarModelType Model, typename FiniteElements, typename State> | |
| Result< TopExportReport > | serif::utils::serialize::export_top (const std::filesystem::path &directory, const Model &stellar_model, const FiniteElements &finite_elements, const State &state, const TopExportOptions &options={}) |
| Export the accepted density and FE surface of a uniformly rotating vacuum polytrope to TOP. | |
| template<typename FiniteElements, typename Solution> requires requires(const Solution& solution) { solution.has_state(); solution.model(); solution.state(); } | |
| Result< TopExportReport > | serif::utils::serialize::export_top (const std::filesystem::path &directory, const FiniteElements &finite_elements, const Solution &solution, const TopExportOptions &options={}) |
| Export a solver result with the separately owned FE resources that interpret its accepted state. | |
Variables | |
| template<typename T> | |
| constexpr bool | serif::backend::mfem::serialize::detail::top_rigid_barotrope = false |
| template<typename EOS> | |
| constexpr bool | serif::backend::mfem::serialize::detail::top_rigid_barotrope< equations::BarotropicDensityBalance< EOS > > = true |