\doxysection{src/include/serif/backend/mfem/serialize/resources.hpp File Reference} \hypertarget{serialize_2resources_8hpp}{}\label{serialize_2resources_8hpp}\index{src/include/serif/backend/mfem/serialize/resources.hpp@{src/include/serif/backend/mfem/serialize/resources.hpp}} {\ttfamily \#include $<$functional$>$}\newline {\ttfamily \#include $<$memory$>$}\newline {\ttfamily \#include $<$string$>$}\newline {\ttfamily \#include $<$string\+\_\+view$>$}\newline {\ttfamily \#include $<$vector$>$}\newline {\ttfamily \#include "{}serif/backend/mfem/discretization/resources.\+hpp"{}}\newline {\ttfamily \#include "{}serif/backend/mfem/mapping/domain\+\_\+mapper.\+hpp"{}}\newline {\ttfamily \#include "{}serif/backend/mfem/geometry/deformation/inputs.\+hpp"{}}\newline {\ttfamily \#include "{}serif/backend/mfem/discretization/dof\+\_\+map.\+hpp"{}}\newline {\ttfamily \#include "{}serif/utils/serialize/record.\+hpp"{}}\newline Include dependency graph for resources.\+hpp\+: \nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=350pt]{serialize_2resources_8hpp__incl} \end{center} \end{figure} This graph shows which files directly or indirectly include this file\+: \nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=350pt]{serialize_2resources_8hpp__dep__incl} \end{center} \end{figure} \doxysubsubsection*{Classes} \begin{DoxyCompactItemize} \item struct \mbox{\hyperlink{structserif_1_1backend_1_1mfem_1_1serialize_1_1_save_options}{serif\+::backend\+::mfem\+::serialize\+::\+Save\+Options}} \begin{DoxyCompactList}\small\item\em Choose whether reference meshes travel with the archive or are resolved by their content identity. \end{DoxyCompactList}\item class \mbox{\hyperlink{classserif_1_1backend_1_1mfem_1_1serialize_1_1_resource_writer}{serif\+::backend\+::mfem\+::serialize\+::\+Resource\+Writer}} \begin{DoxyCompactList}\small\item\em Collect shared meshes, collections and spaces once while recording their associations. \end{DoxyCompactList}\item struct \mbox{\hyperlink{structserif_1_1backend_1_1mfem_1_1serialize_1_1_resources}{serif\+::backend\+::mfem\+::serialize\+::\+Resources}} \begin{DoxyCompactList}\small\item\em Own meshes and finite-\/element resources in reverse dependency order, for creation and archive restoration. \end{DoxyCompactList}\end{DoxyCompactItemize} \doxysubsubsection*{Namespaces} \begin{DoxyCompactItemize} \item namespace \mbox{\hyperlink{namespaceserif}{serif}} \item namespace \mbox{\hyperlink{namespaceserif_1_1backend}{serif\+::backend}} \item namespace \mbox{\hyperlink{namespaceserif_1_1backend_1_1mfem}{serif\+::backend\+::mfem}} \item namespace \mbox{\hyperlink{namespaceserif_1_1backend_1_1mfem_1_1serialize}{serif\+::backend\+::mfem\+::serialize}} \end{DoxyCompactItemize} \doxysubsubsection*{Typedefs} \begin{DoxyCompactItemize} \item using \mbox{\hyperlink{namespaceserif_1_1backend_1_1mfem_1_1serialize_aa5436f8736dad67e9123ae76e9f229e3}{serif\+::backend\+::mfem\+::serialize\+::\+Mesh\+Resolver}} = std\+::function$<$\mbox{\hyperlink{namespaceserif_1_1utils_1_1serialize_ace9e0af29889a767ef1c95a09a4b7265}{utils\+::serialize\+::\+Result}}$<$std\+::string$>$(std\+::string\+\_\+view)$>$ \begin{DoxyCompactList}\small\item\em Supply native MFEM mesh text for the requested content fingerprint when a mesh was omitted. \end{DoxyCompactList}\end{DoxyCompactItemize} \doxysubsubsection*{Functions} \begin{DoxyCompactItemize} \item \mbox{\hyperlink{namespaceserif_1_1utils_1_1serialize_ace9e0af29889a767ef1c95a09a4b7265}{utils\+::serialize\+::\+Result}}$<$ \mbox{\hyperlink{structserif_1_1discretization_1_1backend_1_1mfem_1_1_resources}{Resources}} $>$ \mbox{\hyperlink{namespaceserif_1_1backend_1_1mfem_1_1serialize_a0be74cc2e17f3994c634eb78e0b9b0d6}{serif\+::backend\+::mfem\+::serialize\+::restore\+\_\+resources}} (const \mbox{\hyperlink{structserif_1_1utils_1_1serialize_1_1_node}{utils\+::serialize\+::\+Node}} \&node, const \mbox{\hyperlink{namespaceserif_1_1backend_1_1mfem_1_1serialize_aa5436f8736dad67e9123ae76e9f229e3}{Mesh\+Resolver}} \&resolver=\{\}) \begin{DoxyCompactList}\small\item\em Reconstruct all resources privately, rejecting changed mesh or coefficient interpretations. \end{DoxyCompactList}\item \mbox{\hyperlink{namespaceserif_1_1utils_1_1serialize_ace9e0af29889a767ef1c95a09a4b7265}{utils\+::serialize\+::\+Result}}$<$ \mbox{\hyperlink{structserif_1_1geometry_1_1deformation_1_1backend_1_1mfem_1_1_reference_discretization}{geometry\+::deformation\+::backend\+::mfem\+::\+Reference\+Discretization}} $>$ \mbox{\hyperlink{namespaceserif_1_1backend_1_1mfem_1_1serialize_afafbbeb4449d57e43c89ad3d8ec45823}{serif\+::backend\+::mfem\+::serialize\+::restore\+\_\+reference}} (const \mbox{\hyperlink{structserif_1_1utils_1_1serialize_1_1_node}{utils\+::serialize\+::\+Node}} \&node, \mbox{\hyperlink{structserif_1_1discretization_1_1backend_1_1mfem_1_1_resources}{Resources}} \&resources) \begin{DoxyCompactList}\small\item\em Bind the saved reference roles to already restored resources. \end{DoxyCompactList}\item \mbox{\hyperlink{structserif_1_1utils_1_1serialize_1_1_node}{utils\+::serialize\+::\+Node}} \mbox{\hyperlink{namespaceserif_1_1backend_1_1mfem_1_1serialize_a59cbdb20e829d35ea89b454a5db63d44}{serif\+::backend\+::mfem\+::serialize\+::binding\+\_\+coordinates}} (const \mbox{\hyperlink{classserif_1_1discretization_1_1backend_1_1mfem_1_1_dof_map}{discretization\+::backend\+::mfem\+::\+Dof\+Map}} \&binding) \begin{DoxyCompactList}\small\item\em Capture domain support and reduced numbering without storing mutable Dof\+Map internals. \end{DoxyCompactList}\item std\+::string \mbox{\hyperlink{namespaceserif_1_1backend_1_1mfem_1_1serialize_afe09fcb9925a0d186aaa67cb5e06407e}{serif\+::backend\+::mfem\+::serialize\+::mesh\+\_\+text}} (const \+::mfem\+::\+Mesh \&mesh) \begin{DoxyCompactList}\small\item\em Emit deterministic native mesh text with enough digits to preserve binary64 coordinates. \end{DoxyCompactList}\end{DoxyCompactItemize}