SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::geometry::surface::backend::mfem::detail::BoundaryTracking Struct Reference

Shared traces have stable identity; validation catches changes outside the coefficient vectors. More...

#include <boundary_inputs.hpp>

Public Member Functions

template<typename Boundary>
std::shared_ptr< const Boundary > capture (const std::shared_ptr< const Boundary > &boundary) const
 Validate the borrowed discretization and retain its trace owner so an old address cannot identify a new boundary.
 
template<typename Boundary>
bool matches (const std::shared_ptr< const Boundary > &captured, const std::shared_ptr< const Boundary > &boundary) const
 Validate even unchanged inputs, so stale selections cannot remain publicly ready.
 
template<typename Boundary>
const void * identity (const std::shared_ptr< const Boundary > &boundary) const
 Moving a context does not move the compiled boundary it owns.
 

Detailed Description

Shared traces have stable identity; validation catches changes outside the coefficient vectors.

Member Function Documentation

◆ capture()

template<typename Boundary>
std::shared_ptr< const Boundary > serif::geometry::surface::backend::mfem::detail::BoundaryTracking::capture ( const std::shared_ptr< const Boundary > & boundary) const
inlinenodiscard

Validate the borrowed discretization and retain its trace owner so an old address cannot identify a new boundary.

◆ identity()

template<typename Boundary>
const void * serif::geometry::surface::backend::mfem::detail::BoundaryTracking::identity ( const std::shared_ptr< const Boundary > & boundary) const
inlinenodiscard

Moving a context does not move the compiled boundary it owns.

◆ matches()

template<typename Boundary>
bool serif::geometry::surface::backend::mfem::detail::BoundaryTracking::matches ( const std::shared_ptr< const Boundary > & captured,
const std::shared_ptr< const Boundary > & boundary ) const
inlinenodiscard

Validate even unchanged inputs, so stale selections cannot remain publicly ready.


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