SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::model::backend::mfem::StellarDiscretization< Owner, Bindings, Deformation > Struct Template Referencefinal

Bind physical terms to existing finite-element resources with one explicit lifetime owner. More...

#include <discretization.hpp>

Collaboration diagram for serif::model::backend::mfem::StellarDiscretization< Owner, Bindings, Deformation >:
[legend]

Public Member Functions

template<typename Term>
const auto & binding () const
 Retrieve a physical term's existing typed finite-element binding.
 
template<typename Row>
auto equation_discretization () const
 Describe one equation's discretization using the common physical resources.
 

Public Attributes

std::shared_ptr< const Owner > owner
 
Bindings term_bindings
 
const ::mfem::GridFunction & compactification
 
const mapping::DomainMapper & mapper
 
Deformation deformation {}
 

Detailed Description

template<typename Owner, utils::dependencies::IsDependencyContext Bindings, typename Deformation = NoDeformation>
struct serif::model::backend::mfem::StellarDiscretization< Owner, Bindings, Deformation >

Bind physical terms to existing finite-element resources with one explicit lifetime owner.

Note
This is a numerical binding, not a stellar-model description. The owner must own every referenced mesh, space, binding, mapper and compactification field. No equation is evaluated here.

Member Function Documentation

◆ binding()

template<typename Owner, utils::dependencies::IsDependencyContext Bindings, typename Deformation = NoDeformation>
template<typename Term>
const auto & serif::model::backend::mfem::StellarDiscretization< Owner, Bindings, Deformation >::binding ( ) const
inlinenodiscard

Retrieve a physical term's existing typed finite-element binding.

◆ equation_discretization()

template<typename Owner, utils::dependencies::IsDependencyContext Bindings, typename Deformation = NoDeformation>
template<typename Row>
auto serif::model::backend::mfem::StellarDiscretization< Owner, Bindings, Deformation >::equation_discretization ( ) const
inlinenodiscard

Describe one equation's discretization using the common physical resources.

Member Data Documentation

◆ compactification

template<typename Owner, utils::dependencies::IsDependencyContext Bindings, typename Deformation = NoDeformation>
const ::mfem::GridFunction& serif::model::backend::mfem::StellarDiscretization< Owner, Bindings, Deformation >::compactification

◆ deformation

template<typename Owner, utils::dependencies::IsDependencyContext Bindings, typename Deformation = NoDeformation>
Deformation serif::model::backend::mfem::StellarDiscretization< Owner, Bindings, Deformation >::deformation {}

◆ mapper

template<typename Owner, utils::dependencies::IsDependencyContext Bindings, typename Deformation = NoDeformation>
const mapping::DomainMapper& serif::model::backend::mfem::StellarDiscretization< Owner, Bindings, Deformation >::mapper

◆ owner

template<typename Owner, utils::dependencies::IsDependencyContext Bindings, typename Deformation = NoDeformation>
std::shared_ptr<const Owner> serif::model::backend::mfem::StellarDiscretization< Owner, Bindings, Deformation >::owner

◆ term_bindings

template<typename Owner, utils::dependencies::IsDependencyContext Bindings, typename Deformation = NoDeformation>
Bindings serif::model::backend::mfem::StellarDiscretization< Owner, Bindings, Deformation >::term_bindings

The documentation for this struct was generated from the following file: