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

Track topology and labels once, independently of changes to physical coordinates. More...

#include <inputs.hpp>

Inheritance diagram for serif::geometry::deformation::backend::mfem::SurfaceDiscretizationTracking:
[legend]
Collaboration diagram for serif::geometry::deformation::backend::mfem::SurfaceDiscretizationTracking:
[legend]

Classes

struct  Snapshot
 

Public Member Functions

Snapshot capture (const SurfaceDiscretization &input) const
 Capture exactly the metadata that determines the canonical scalar surface nodes.
 
bool matches (const Snapshot &snapshot, const SurfaceDiscretization &input) const
 Compare mutable boundary labels without allocating a second snapshot.
 
- Public Member Functions inherited from serif::geometry::deformation::backend::mfem::DeformationValueTracking
template<typename Value>
const void * identity (const Value &) const noexcept
 Wrapper addresses do not identify the underlying physical input.
 
- Public Member Functions inherited from serif::utils::dependencies::ValueSnapshot
template<typename T>
requires std::copy_constructible<T> && std::equality_comparable<T>
T capture (const T &value) const
 Keep the accepted value independent of subsequent edits to a borrowed source.
 
template<typename T>
requires std::equality_comparable<T>
bool matches (const T &captured, const T &value) const
 Compare content rather than a hash that could silently miss a change.
 

Detailed Description

Track topology and labels once, independently of changes to physical coordinates.

Member Function Documentation

◆ capture()

SurfaceDiscretizationTracking::Snapshot serif::geometry::deformation::backend::mfem::SurfaceDiscretizationTracking::capture ( const SurfaceDiscretization & input) const
nodiscard

Capture exactly the metadata that determines the canonical scalar surface nodes.

◆ matches()

bool serif::geometry::deformation::backend::mfem::SurfaceDiscretizationTracking::matches ( const Snapshot & snapshot,
const SurfaceDiscretization & input ) const
nodiscard

Compare mutable boundary labels without allocating a second snapshot.


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