SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::operators::backend::mfem::CoefficientSnapshot Class Referencefinal

Exact owned snapshots avoid collision-prone hashes and caller-managed coefficient revisions. More...

#include <preparation.hpp>

Public Member Functions

bool matches (const void *binding, const ::mfem::Vector &values) const
 Compare values and binding identity without borrowing the caller's coefficient storage.
 
void store (const void *binding, const ::mfem::Vector &values)
 Publish a snapshot only after a complete successful preparation.
 

Private Attributes

const void * m_binding {nullptr}
 
::mfem::Vector m_values
 

Detailed Description

Exact owned snapshots avoid collision-prone hashes and caller-managed coefficient revisions.

Member Function Documentation

◆ matches()

bool serif::operators::backend::mfem::CoefficientSnapshot::matches ( const void * binding,
const ::mfem::Vector & values ) const
inlinenodiscard

Compare values and binding identity without borrowing the caller's coefficient storage.

◆ store()

void serif::operators::backend::mfem::CoefficientSnapshot::store ( const void * binding,
const ::mfem::Vector & values )
inline

Publish a snapshot only after a complete successful preparation.

Member Data Documentation

◆ m_binding

const void* serif::operators::backend::mfem::CoefficientSnapshot::m_binding {nullptr}
private

◆ m_values

::mfem::Vector serif::operators::backend::mfem::CoefficientSnapshot::m_values
private

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