Files
MeanField_SERiF/docs/xml/backend_2mfem_2surface_2fitted__h1_8hpp.xml

333 lines
21 KiB
XML
Raw Normal View History

<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.13.2" xml:lang="en-US">
<compounddef id="backend_2mfem_2surface_2fitted__h1_8hpp" kind="file" language="C++">
<compoundname>fitted_h1.hpp</compoundname>
<includes local="no">expected</includes>
<includes local="no">memory</includes>
<includes local="yes">mfem/linalg/sparsemat.hpp</includes>
<includes refid="reference__surface_8hpp" local="yes">serif/geometry/deformation/reference_surface.hpp</includes>
<includes refid="surface__embedding_8hpp" local="yes">serif/geometry/deformation/surface_embedding.hpp</includes>
<includes refid="backend_2mfem_2surface_2calibrated__mass_8hpp" local="yes">serif/solver/preconditioner/backend/mfem/surface/calibrated_mass.hpp</includes>
<includes refid="strategies_2surface_2fitted__h1_8hpp" local="yes">serif/solver/preconditioner/strategies/surface/fitted_h1.hpp</includes>
<includedby refid="solver_2preconditioner_2computations_2surface_8hpp" local="yes">src/include/serif/solver/preconditioner/computations/surface.hpp</includedby>
<includedby refid="surface__reference_8hpp" local="yes">src/include/serif/solver/preconditioner/computations/surface_reference.hpp</includedby>
<includedby refid="backend_2mfem_2surface_2fitted__h1_8cpp" local="yes">src/lib/serif/solver/preconditioner/backend/mfem/surface/fitted_h1.cpp</includedby>
<includedby refid="h1__matrices_8cpp" local="yes">src/lib/serif/solver/preconditioner/backend/mfem/surface/h1_matrices.cpp</includedby>
<includedby refid="signed__inverse_8cpp" local="yes">src/lib/serif/solver/preconditioner/backend/mfem/surface/signed_inverse.cpp</includedby>
<incdepgraph>
<node id="11">
<label>serif/geometry/deformation/failure.hpp</label>
<link refid="geometry_2deformation_2failure_8hpp"/>
<childnode refid="2" relation="include">
</childnode>
<childnode refid="12" relation="include">
</childnode>
</node>
<node id="13">
<label>serif/geometry/deformation/models.hpp</label>
<link refid="models_8hpp"/>
<childnode refid="6" relation="include">
</childnode>
<childnode refid="14" relation="include">
</childnode>
</node>
<node id="5">
<label>serif/geometry/deformation/reference_surface.hpp</label>
<link refid="reference__surface_8hpp"/>
<childnode refid="6" relation="include">
</childnode>
<childnode refid="7" relation="include">
</childnode>
</node>
<node id="15">
<label>serif/geometry/deformation/spaces.hpp</label>
<link refid="spaces_8hpp"/>
</node>
<node id="8">
<label>serif/geometry/deformation/surface_embedding.hpp</label>
<link refid="surface__embedding_8hpp"/>
<childnode refid="6" relation="include">
</childnode>
<childnode refid="9" relation="include">
</childnode>
<childnode refid="2" relation="include">
</childnode>
<childnode refid="10" relation="include">
</childnode>
<childnode refid="7" relation="include">
</childnode>
<childnode refid="11" relation="include">
</childnode>
<childnode refid="13" relation="include">
</childnode>
<childnode refid="15" relation="include">
</childnode>
<childnode refid="16" relation="include">
</childnode>
</node>
<node id="16">
<label>serif/geometry/deformation/workspace.hpp</label>
<link refid="geometry_2deformation_2workspace_8hpp"/>
</node>
<node id="25">
<label>serif/meta/enums.hpp</label>
<link refid="enums_8hpp"/>
<childnode refid="26" relation="include">
</childnode>
<childnode refid="27" relation="include">
</childnode>
<childnode refid="28" relation="include">
</childnode>
</node>
<node id="19">
<label>serif/solver/preconditioner/backend/mfem/inverse.hpp</label>
<link refid="backend_2mfem_2inverse_8hpp"/>
<childnode refid="3" relation="include">
</childnode>
<childnode refid="20" relation="include">
</childnode>
<childnode refid="21" relation="include">
</childnode>
<childnode refid="22" relation="include">
</childnode>
</node>
<node id="17">
<label>serif/solver/preconditioner/backend/mfem/surface/calibrated_mass.hpp</label>
<link refid="backend_2mfem_2surface_2calibrated__mass_8hpp"/>
<childnode refid="18" relation="include">
</childnode>
</node>
<node id="1">
<label>src/include/serif/solver/preconditioner/backend/mfem/surface/fitted_h1.hpp</label>
<link refid="backend_2mfem_2surface_2fitted__h1_8hpp"/>
<childnode refid="2" relation="include">
</childnode>
<childnode refid="3" relation="include">
</childnode>
<childnode refid="4" relation="include">
</childnode>
<childnode refid="5" relation="include">
</childnode>
<childnode refid="8" relation="include">
</childnode>
<childnode refid="17" relation="include">
</childnode>
<childnode refid="32" relation="include">
</childnode>
</node>
<node id="18">
<label>serif/solver/preconditioner/backend/mfem/surface/reference_mass.hpp</label>
<link refid="backend_2mfem_2surface_2reference__mass_8hpp"/>
<childnode refid="2" relation="include">
</childnode>
<childnode refid="10" relation="include">
</childnode>
<childnode refid="19" relation="include">
</childnode>
<childnode refid="29" relation="include">
</childnode>
<childnode refid="30" relation="include">
</childnode>
<childnode refid="31" relation="include">
</childnode>
</node>
<node id="21">
<label>serif/solver/preconditioner/contract.hpp</label>
<link refid="contract_8hpp"/>
</node>
<node id="22">
<label>serif/solver/preconditioner/failure.hpp</label>
<link refid="solver_2preconditioner_2failure_8hpp"/>
<childnode refid="12" relation="include">
</childnode>
<childnode refid="23" relation="include">
</childnode>
</node>
<node id="29">
<label>serif/solver/preconditioner/strategies/inverse/diagonal_regularization.hpp</label>
<link refid="diagonal__regularization_8hpp"/>
<childnode refid="9" relation="include">
</childnode>
</node>
<node id="30">
<label>serif/solver/preconditioner/strategies/surface/calibrated_mass.hpp</label>
<link refid="strategies_2surface_2calibrated__mass_8hpp"/>
<childnode refid="2" relation="include">
</childnode>
<childnode refid="22" relation="include">
</childnode>
<childnode refid="29" relation="include">
</childnode>
</node>
<node id="32">
<label>serif/solver/preconditioner/strategies/surface/fitted_h1.hpp</label>
<link refid="strategies_2surface_2fitted__h1_8hpp"/>
<childnode refid="2" relation="include">
</childnode>
<childnode refid="30" relation="include">
</childnode>
</node>
<node id="31">
<label>serif/solver/preconditioner/strategies/surface/reference_mass.hpp</label>
<link refid="strategies_2surface_2reference__mass_8hpp"/>
<childnode refid="29" relation="include">
</childnode>
</node>
<node id="23">
<label>serif/utils/error/codes.hpp</label>
<link refid="codes_8hpp"/>
<childnode refid="24" relation="include">
</childnode>
<childnode refid="25" relation="include">
</childnode>
</node>
<node id="6">
<label>array</label>
</node>
<node id="9">
<label>cstddef</label>
</node>
<node id="24">
<label>cstdint</label>
</node>
<node id="2">
<label>expected</label>
</node>
<node id="28">
<label>magic_enum/magic_enum_all.hpp</label>
</node>
<node id="3">
<label>memory</label>
</node>
<node id="20">
<label>mfem/linalg/operator.hpp</label>
</node>
<node id="4">
<label>mfem/linalg/sparsemat.hpp</label>
</node>
<node id="14">
<label>optional</label>
</node>
<node id="10">
<label>span</label>
</node>
<node id="12">
<label>string</label>
</node>
<node id="27">
<label>type_traits</label>
</node>
<node id="26">
<label>unordered_map</label>
</node>
<node id="7">
<label>vector</label>
</node>
</incdepgraph>
<invincdepgraph>
<node id="1">
<label>src/include/serif/solver/preconditioner/backend/mfem/surface/fitted_h1.hpp</label>
<link refid="backend_2mfem_2surface_2fitted__h1_8hpp"/>
<childnode refid="2" relation="include">
</childnode>
<childnode refid="6" relation="include">
</childnode>
<childnode refid="7" relation="include">
</childnode>
<childnode refid="8" relation="include">
</childnode>
<childnode refid="9" relation="include">
</childnode>
</node>
<node id="2">
<label>src/include/serif/solver/preconditioner/computations/surface.hpp</label>
<link refid="solver_2preconditioner_2computations_2surface_8hpp"/>
<childnode refid="3" relation="include">
</childnode>
</node>
<node id="6">
<label>src/include/serif/solver/preconditioner/computations/surface_reference.hpp</label>
<link refid="surface__reference_8hpp"/>
</node>
<node id="3">
<label>src/include/serif/solver/preconditioner/graph.hpp</label>
<link refid="solver_2preconditioner_2graph_8hpp"/>
<childnode refid="4" relation="include">
</childnode>
</node>
<node id="4">
<label>src/include/serif/solver/preconditioner/preconditioner.hpp</label>
<link refid="preconditioner_8hpp"/>
<childnode refid="5" relation="include">
</childnode>
</node>
<node id="5">
<label>src/include/serif/solver/solver.hpp</label>
<link refid="solver_8hpp"/>
</node>
<node id="7">
<label>src/lib/serif/solver/preconditioner/backend/mfem/surface/fitted_h1.cpp</label>
<link refid="backend_2mfem_2surface_2fitted__h1_8cpp"/>
</node>
<node id="8">
<label>src/lib/serif/solver/preconditioner/backend/mfem/surface/h1_matrices.cpp</label>
<link refid="h1__matrices_8cpp"/>
</node>
<node id="9">
<label>src/lib/serif/solver/preconditioner/backend/mfem/surface/signed_inverse.cpp</label>
<link refid="signed__inverse_8cpp"/>
</node>
</invincdepgraph>
<innerclass refid="structserif_1_1solver_1_1preconditioner_1_1backend_1_1mfem_1_1_surface_h1_matrices" prot="public">serif::solver::preconditioner::backend::mfem::SurfaceH1Matrices</innerclass>
<innerclass refid="structserif_1_1solver_1_1preconditioner_1_1backend_1_1mfem_1_1_fitted_surface_operator" prot="public">serif::solver::preconditioner::backend::mfem::FittedSurfaceOperator</innerclass>
<innernamespace refid="namespacemfem">mfem</innernamespace>
<innernamespace refid="namespaceserif">serif</innernamespace>
<innernamespace refid="namespaceserif_1_1solver">serif::solver</innernamespace>
<innernamespace refid="namespaceserif_1_1solver_1_1preconditioner">serif::solver::preconditioner</innernamespace>
<innernamespace refid="namespaceserif_1_1solver_1_1preconditioner_1_1backend">serif::solver::preconditioner::backend</innernamespace>
<innernamespace refid="namespaceserif_1_1solver_1_1preconditioner_1_1backend_1_1mfem">serif::solver::preconditioner::backend::mfem</innernamespace>
<briefdescription>
</briefdescription>
<detaileddescription>
</detaileddescription>
<programlisting>
<codeline lineno="1"><highlight class="preprocessor">#pragma<sp/>once</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="2"><highlight class="normal"></highlight></codeline>
<codeline lineno="3"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;expected&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="4"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;memory&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="5"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&quot;mfem/linalg/sparsemat.hpp&quot;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="6"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&quot;<ref refid="reference__surface_8hpp" kindref="compound">serif/geometry/deformation/reference_surface.hpp</ref>&quot;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="7"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&quot;<ref refid="surface__embedding_8hpp" kindref="compound">serif/geometry/deformation/surface_embedding.hpp</ref>&quot;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="8"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&quot;<ref refid="backend_2mfem_2surface_2calibrated__mass_8hpp" kindref="compound">serif/solver/preconditioner/backend/mfem/surface/calibrated_mass.hpp</ref>&quot;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="9"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&quot;<ref refid="strategies_2surface_2fitted__h1_8hpp" kindref="compound">serif/solver/preconditioner/strategies/surface/fitted_h1.hpp</ref>&quot;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="10"><highlight class="normal"></highlight></codeline>
<codeline lineno="11"><highlight class="normal"></highlight><highlight class="keyword">namespace<sp/></highlight><highlight class="normal"><ref refid="namespacemfem" kindref="compound">mfem</ref></highlight></codeline>
<codeline lineno="12"><highlight class="normal">{</highlight></codeline>
<codeline lineno="13"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal">FiniteElementSpace;</highlight></codeline>
<codeline lineno="14"><highlight class="normal">}</highlight></codeline>
<codeline lineno="15"><highlight class="normal"></highlight></codeline>
<codeline lineno="16"><highlight class="normal"></highlight><highlight class="keyword">namespace<sp/></highlight><highlight class="normal"><ref refid="namespaceserif_1_1solver_1_1preconditioner_1_1backend_1_1mfem" kindref="compound">serif::solver::preconditioner::backend::mfem</ref></highlight></codeline>
<codeline lineno="17"><highlight class="normal">{</highlight></codeline>
<codeline lineno="19" refid="structserif_1_1solver_1_1preconditioner_1_1backend_1_1mfem_1_1_surface_h1_matrices" refkind="compound"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structserif_1_1solver_1_1preconditioner_1_1backend_1_1mfem_1_1_surface_h1_matrices" kindref="compound">SurfaceH1Matrices</ref><sp/>final</highlight></codeline>
<codeline lineno="20"><highlight class="normal"><sp/><sp/><sp/><sp/>{</highlight></codeline>
<codeline lineno="21"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>std::shared_ptr&lt;const<sp/>::mfem::SparseMatrix&gt;<sp/><ref refid="structserif_1_1solver_1_1preconditioner_1_1backend_1_1mfem_1_1_surface_h1_matrices_1a2c4f0a0f6750dfe845e71b42369040b2" kindref="member">mass</ref>;</highlight></codeline>
<codeline lineno="22"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>std::shared_ptr&lt;const<sp/>::mfem::SparseMatrix&gt;<sp/><ref refid="structserif_1_1solver_1_1preconditioner_1_1backend_1_1mfem_1_1_surface_h1_matrices_1a1cc80c6ea675652ac8c82e18a91fc53a" kindref="member">stiffness</ref>;</highlight></codeline>
<codeline lineno="23"><highlight class="normal"><sp/><sp/><sp/><sp/>};</highlight></codeline>
<codeline lineno="24"><highlight class="normal"></highlight></codeline>
<codeline lineno="26" refid="structserif_1_1solver_1_1preconditioner_1_1backend_1_1mfem_1_1_fitted_surface_operator" refkind="compound"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structserif_1_1solver_1_1preconditioner_1_1backend_1_1mfem_1_1_fitted_surface_operator" kindref="compound">FittedSurfaceOperator</ref><sp/>final</highlight></codeline>
<codeline lineno="27"><highlight class="normal"><sp/><sp/><sp/><sp/>{</highlight></codeline>
<codeline lineno="28"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>std::shared_ptr&lt;const<sp/>::mfem::SparseMatrix&gt;<sp/><ref refid="structserif_1_1solver_1_1preconditioner_1_1backend_1_1mfem_1_1_fitted_surface_operator_1ab450c99623a6202d798ce62a630ada85" kindref="member">positive_operator</ref>;</highlight></codeline>
<codeline lineno="29"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="structserif_1_1solver_1_1preconditioner_1_1strategies_1_1surface_1_1_surface_h1_fit" kindref="compound">strategies::surface::SurfaceH1Fit</ref><sp/><ref refid="structserif_1_1solver_1_1preconditioner_1_1backend_1_1mfem_1_1_fitted_surface_operator_1ae87932adfe6037278d3aec60535fd496" kindref="member">fit</ref>;</highlight></codeline>
<codeline lineno="30"><highlight class="normal"><sp/><sp/><sp/><sp/>};</highlight></codeline>
<codeline lineno="31"><highlight class="normal"></highlight></codeline>
<codeline lineno="33"><highlight class="normal"><sp/><sp/><sp/><sp/>[[nodiscard]]<sp/>std::expected&lt;SurfaceH1Matrices,<sp/>Failure&gt;<sp/><ref refid="namespaceserif_1_1solver_1_1preconditioner_1_1backend_1_1mfem_1adf596feb1bd78da37cb5cbb63a2b3f3c" kindref="member">try_surface_h1_matrices</ref>(const<sp/>::mfem::FiniteElementSpace&amp;<sp/>scalar_space,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>surface_attribute,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="structserif_1_1geometry_1_1deformation_1_1_reference_surface" kindref="compound">geometry::deformation::ReferenceSurface</ref>&amp;<sp/>reference_surface,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classserif_1_1geometry_1_1deformation_1_1_surface_embedding" kindref="compound">geometry::deformation::SurfaceEmbedding</ref>&amp;<sp/>embedding);</highlight></codeline>
<codeline lineno="34"><highlight class="normal"></highlight></codeline>
<codeline lineno="36"><highlight class="normal"><sp/><sp/><sp/><sp/>[[nodiscard]]<sp/>std::expected&lt;FittedSurfaceOperator,<sp/>Failure&gt;<sp/><ref refid="namespaceserif_1_1solver_1_1preconditioner_1_1backend_1_1mfem_1a8b2f4b633fd9548da29fbb9484a4a9c1" kindref="member">try_fitted_surface_h1</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="structserif_1_1solver_1_1preconditioner_1_1backend_1_1mfem_1_1_surface_h1_matrices" kindref="compound">SurfaceH1Matrices</ref>&amp;<sp/>matrices,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="structserif_1_1solver_1_1preconditioner_1_1backend_1_1mfem_1_1_surface_targets" kindref="compound">SurfaceTargets</ref>&amp;<sp/>targets,<sp/><ref refid="structserif_1_1solver_1_1preconditioner_1_1strategies_1_1surface_1_1_fitted_surface_h1" kindref="compound">strategies::surface::FittedSurfaceH1</ref><sp/>options<sp/>=<sp/>{});</highlight></codeline>
<codeline lineno="37"><highlight class="normal"></highlight></codeline>
<codeline lineno="39"><highlight class="normal"><sp/><sp/><sp/><sp/>[[nodiscard]]<sp/>std::expected&lt;Inverse,<sp/>Failure&gt;<sp/><ref refid="namespaceserif_1_1solver_1_1preconditioner_1_1backend_1_1mfem_1a9a38e001ce74796b36faa6417cf3654e" kindref="member">try_signed_surface_inverse</ref>(Inverse<sp/>positive_inverse,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>sign);</highlight></codeline>
<codeline lineno="40"><highlight class="normal">}<sp/></highlight><highlight class="comment">//<sp/>namespace<sp/>serif::solver::preconditioner::backend::mfem</highlight><highlight class="normal"></highlight></codeline>
</programlisting>
<location file="src/include/serif/solver/preconditioner/backend/mfem/surface/fitted_h1.hpp"/>
</compounddef>
</doxygen>