SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
finite_elements.hpp File Reference
Include dependency graph for finite_elements.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

namespace  serif
 
namespace  serif::model
 
namespace  serif::geometry
 
namespace  serif::geometry::deformation
 

Functions

template<typename Owner, utils::dependencies::IsDependencyContext Bindings>
auto serif::model::make_stellar_discretization (std::shared_ptr< Owner > owner, Bindings bindings, const ::mfem::GridFunction &compactification, const mapping::DomainMapper &mapper)
 Retain the supplied resource owner without copying finite-element spaces or changing their addresses.
 
template<typename Owner, typename Bindings, typename DomainModel>
auto serif::model::with_deformation (StellarDiscretization< Owner, Bindings > discretization, DomainModel model, geometry::deformation::backend::mfem::ReferenceDiscretization reference)
 Add an explicit deformation prescription without changing the physical equation definition.
 
template<discretization::domain::schema::IsSchema Schema = discretization::domain::schema::CoreEnvelopeVacuumDomainSchema>
requires (Schema::template contains_domain<discretization::domain::StellarDomains>() && Schema::template contains_domain<discretization::domain::VacuumDomain>() && Schema::template contains_boundary<discretization::domain::StellarSurfaceBoundary>() && Schema::template contains_boundary<discretization::domain::InfinitySurfaceBoundary>())
ReferenceDiscretization serif::geometry::deformation::deformation_discretization (const ::mfem::FiniteElementSpace &scalar_space, const ::mfem::FiniteElementSpace &displacement_space, ::mfem::Mesh &logical_mesh)
 Resolve physical domain names through the schema rather than hard-coded MFEM attributes.