493 lines
34 KiB
XML
493 lines
34 KiB
XML
|
|
<?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="normalized__system_8hpp" kind="file" language="C++">
|
||
|
|
<compoundname>normalized_system.hpp</compoundname>
|
||
|
|
<includes local="no">algorithm</includes>
|
||
|
|
<includes local="no">cmath</includes>
|
||
|
|
<includes local="no">expected</includes>
|
||
|
|
<includes local="no">memory</includes>
|
||
|
|
<includes local="no">string</includes>
|
||
|
|
<includes local="no">vector</includes>
|
||
|
|
<includes refid="system_8hpp" local="yes">serif/backend/mfem/model/system.hpp</includes>
|
||
|
|
<includes refid="operators_8hpp" local="yes">serif/backend/mfem/solver/normalization/operators.hpp</includes>
|
||
|
|
<includes refid="scales_8hpp" local="yes">serif/solver/normalization/scales.hpp</includes>
|
||
|
|
<includes refid="errors_8hpp" local="yes">serif/utils/error/errors.hpp</includes>
|
||
|
|
<includedby refid="backend_2mfem_2model_2normalization_2computations_8hpp" local="yes">src/include/serif/backend/mfem/model/normalization/computations.hpp</includedby>
|
||
|
|
<includedby refid="preconditioned__system_8hpp" local="yes">src/include/serif/backend/mfem/model/preconditioned_system.hpp</includedby>
|
||
|
|
<incdepgraph>
|
||
|
|
<node id="1">
|
||
|
|
<label>src/include/serif/backend/mfem/model/normalized_system.hpp</label>
|
||
|
|
<link refid="normalized__system_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="6" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="7" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="8" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="16" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="22" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="32" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="8">
|
||
|
|
<label>serif/backend/mfem/model/system.hpp</label>
|
||
|
|
<link refid="system_8hpp"/>
|
||
|
|
<childnode refid="5" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="9" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="10" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="7" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="11" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="11">
|
||
|
|
<label>serif/backend/mfem/operators/actions.hpp</label>
|
||
|
|
<link refid="backend_2mfem_2operators_2actions_8hpp"/>
|
||
|
|
<childnode refid="12" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="10" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="7" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="13" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="13">
|
||
|
|
<label>serif/backend/mfem/operators/linearized_block.hpp</label>
|
||
|
|
<link refid="backend_2mfem_2operators_2linearized__block_8hpp"/>
|
||
|
|
<childnode refid="12" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="5" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="7" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="14" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="15" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="16">
|
||
|
|
<label>serif/backend/mfem/solver/normalization/operators.hpp</label>
|
||
|
|
<link refid="operators_8hpp"/>
|
||
|
|
<childnode refid="17" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="18" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="10" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="14" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="19" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="20" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="24">
|
||
|
|
<label>serif/dimensions/dimensions.hpp</label>
|
||
|
|
<link refid="dimensions_8hpp"/>
|
||
|
|
<childnode refid="25" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="26" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="26">
|
||
|
|
<label>serif/dimensions/quantities.hpp</label>
|
||
|
|
<link refid="quantities_8hpp"/>
|
||
|
|
<childnode refid="27" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="28" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="23" 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/discretization/blocks/base.hpp</label>
|
||
|
|
<link refid="base_8hpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="43">
|
||
|
|
<label>serif/meta/enums.hpp</label>
|
||
|
|
<link refid="enums_8hpp"/>
|
||
|
|
<childnode refid="44" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="27" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="45" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="20">
|
||
|
|
<label>serif/solver/normalization/diagonal.hpp</label>
|
||
|
|
<link refid="solver_2normalization_2diagonal_8hpp"/>
|
||
|
|
<childnode refid="17" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="4" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="10" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="6" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="7" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="21" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="22">
|
||
|
|
<label>serif/solver/normalization/scales.hpp</label>
|
||
|
|
<link refid="scales_8hpp"/>
|
||
|
|
<childnode refid="3" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="23" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="4" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="6" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="24" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="42">
|
||
|
|
<label>serif/utils/error/codes.hpp</label>
|
||
|
|
<link refid="codes_8hpp"/>
|
||
|
|
<childnode refid="18" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="43" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="32">
|
||
|
|
<label>serif/utils/error/errors.hpp</label>
|
||
|
|
<link refid="errors_8hpp"/>
|
||
|
|
<childnode refid="25" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="33" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="34" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="6" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="18" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="2" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="35" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="36" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="40" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="42" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="46" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="40">
|
||
|
|
<label>serif/utils/misc/concepts/exceptions.hpp</label>
|
||
|
|
<link refid="utils_2misc_2concepts_2exceptions_8hpp"/>
|
||
|
|
<childnode refid="41" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="27" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="31" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="31">
|
||
|
|
<label>serif/utils/misc/concepts/numeric.hpp</label>
|
||
|
|
<link refid="numeric_8hpp"/>
|
||
|
|
<childnode refid="23" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="27" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="30">
|
||
|
|
<label>serif/utils/misc/std_helper/cleaning.hpp</label>
|
||
|
|
<link refid="cleaning_8hpp"/>
|
||
|
|
<childnode refid="27" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="36">
|
||
|
|
<label>serif/utils/misc/terminal/colors.hpp</label>
|
||
|
|
<link refid="colors_8hpp"/>
|
||
|
|
<childnode refid="25" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="34" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="37" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="38" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="39" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="46">
|
||
|
|
<label>serif/utils/types/strings.hpp</label>
|
||
|
|
<link refid="types_2strings_8hpp"/>
|
||
|
|
<childnode refid="2" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="47" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="25" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="2">
|
||
|
|
<label>algorithm</label>
|
||
|
|
</node>
|
||
|
|
<node id="3">
|
||
|
|
<label>cmath</label>
|
||
|
|
</node>
|
||
|
|
<node id="28">
|
||
|
|
<label>compare</label>
|
||
|
|
</node>
|
||
|
|
<node id="23">
|
||
|
|
<label>concepts</label>
|
||
|
|
</node>
|
||
|
|
<node id="17">
|
||
|
|
<label>cstddef</label>
|
||
|
|
</node>
|
||
|
|
<node id="18">
|
||
|
|
<label>cstdint</label>
|
||
|
|
</node>
|
||
|
|
<node id="34">
|
||
|
|
<label>cstdio</label>
|
||
|
|
</node>
|
||
|
|
<node id="37">
|
||
|
|
<label>cstdlib</label>
|
||
|
|
</node>
|
||
|
|
<node id="41">
|
||
|
|
<label>exception</label>
|
||
|
|
</node>
|
||
|
|
<node id="4">
|
||
|
|
<label>expected</label>
|
||
|
|
</node>
|
||
|
|
<node id="33">
|
||
|
|
<label>format</label>
|
||
|
|
</node>
|
||
|
|
<node id="12">
|
||
|
|
<label>functional</label>
|
||
|
|
</node>
|
||
|
|
<node id="47">
|
||
|
|
<label>iostream</label>
|
||
|
|
</node>
|
||
|
|
<node id="45">
|
||
|
|
<label>magic_enum/magic_enum_all.hpp</label>
|
||
|
|
</node>
|
||
|
|
<node id="5">
|
||
|
|
<label>memory</label>
|
||
|
|
</node>
|
||
|
|
<node id="14">
|
||
|
|
<label>mfem/linalg/operator.hpp</label>
|
||
|
|
</node>
|
||
|
|
<node id="15">
|
||
|
|
<label>mfem/linalg/sparsemat.hpp</label>
|
||
|
|
</node>
|
||
|
|
<node id="19">
|
||
|
|
<label>mfem/linalg/vector.hpp</label>
|
||
|
|
</node>
|
||
|
|
<node id="9">
|
||
|
|
<label>optional</label>
|
||
|
|
</node>
|
||
|
|
<node id="10">
|
||
|
|
<label>span</label>
|
||
|
|
</node>
|
||
|
|
<node id="6">
|
||
|
|
<label>string</label>
|
||
|
|
</node>
|
||
|
|
<node id="25">
|
||
|
|
<label>string_view</label>
|
||
|
|
</node>
|
||
|
|
<node id="29">
|
||
|
|
<label>tuple</label>
|
||
|
|
</node>
|
||
|
|
<node id="27">
|
||
|
|
<label>type_traits</label>
|
||
|
|
</node>
|
||
|
|
<node id="39">
|
||
|
|
<label>unistd.h</label>
|
||
|
|
</node>
|
||
|
|
<node id="44">
|
||
|
|
<label>unordered_map</label>
|
||
|
|
</node>
|
||
|
|
<node id="38">
|
||
|
|
<label>utility</label>
|
||
|
|
</node>
|
||
|
|
<node id="7">
|
||
|
|
<label>vector</label>
|
||
|
|
</node>
|
||
|
|
<node id="35">
|
||
|
|
<label>version</label>
|
||
|
|
</node>
|
||
|
|
</incdepgraph>
|
||
|
|
<invincdepgraph>
|
||
|
|
<node id="4">
|
||
|
|
<label>src/compile_time_checks/serif/model/state.cpp</label>
|
||
|
|
<link refid="state_8cpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="3">
|
||
|
|
<label>src/include/serif/backend/mfem/model/equilibrium.hpp</label>
|
||
|
|
<link refid="backend_2mfem_2model_2equilibrium_8hpp"/>
|
||
|
|
<childnode refid="4" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="5" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="12">
|
||
|
|
<label>src/include/serif/backend/mfem/model/equilibrium_evaluator.hpp</label>
|
||
|
|
<link refid="equilibrium__evaluator_8hpp"/>
|
||
|
|
<childnode refid="3" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="2">
|
||
|
|
<label>src/include/serif/backend/mfem/model/normalization/computations.hpp</label>
|
||
|
|
<link refid="backend_2mfem_2model_2normalization_2computations_8hpp"/>
|
||
|
|
<childnode refid="3" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="1">
|
||
|
|
<label>src/include/serif/backend/mfem/model/normalized_system.hpp</label>
|
||
|
|
<link refid="normalized__system_8hpp"/>
|
||
|
|
<childnode refid="2" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="10" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="10">
|
||
|
|
<label>src/include/serif/backend/mfem/model/preconditioned_system.hpp</label>
|
||
|
|
<link refid="preconditioned__system_8hpp"/>
|
||
|
|
<childnode refid="11" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="11">
|
||
|
|
<label>src/include/serif/backend/mfem/model/preconditioning/computations.hpp</label>
|
||
|
|
<link refid="backend_2mfem_2model_2preconditioning_2computations_8hpp"/>
|
||
|
|
<childnode refid="12" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="6">
|
||
|
|
<label>src/include/serif/backend/mfem/solver/equilibrium.hpp</label>
|
||
|
|
<link refid="backend_2mfem_2solver_2equilibrium_8hpp"/>
|
||
|
|
<childnode refid="7" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="5">
|
||
|
|
<label>src/include/serif/backend/mfem/solver/nonlinear/stellar_problem.hpp</label>
|
||
|
|
<link refid="stellar__problem_8hpp"/>
|
||
|
|
<childnode refid="6" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="8">
|
||
|
|
<label>src/include/serif/solver/continuation/equilibrium.hpp</label>
|
||
|
|
<link refid="solver_2continuation_2equilibrium_8hpp"/>
|
||
|
|
<childnode refid="9" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="7">
|
||
|
|
<label>src/include/serif/solver/equilibrium.hpp</label>
|
||
|
|
<link refid="solver_2equilibrium_8hpp"/>
|
||
|
|
<childnode refid="8" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="9" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="9">
|
||
|
|
<label>src/include/serif/solver/solver.hpp</label>
|
||
|
|
<link refid="solver_2solver_8hpp"/>
|
||
|
|
</node>
|
||
|
|
</invincdepgraph>
|
||
|
|
<innerclass refid="classserif_1_1model_1_1backend_1_1mfem_1_1_normalized_system" prot="public">serif::model::backend::mfem::NormalizedSystem</innerclass>
|
||
|
|
<innernamespace refid="namespaceserif">serif</innernamespace>
|
||
|
|
<innernamespace refid="namespaceserif_1_1model">serif::model</innernamespace>
|
||
|
|
<innernamespace refid="namespaceserif_1_1model_1_1backend">serif::model::backend</innernamespace>
|
||
|
|
<innernamespace refid="namespaceserif_1_1model_1_1backend_1_1mfem">serif::model::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/><algorithm></highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="4"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><cmath></highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="5"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><expected></highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="6"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><memory></highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="7"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><string></highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="8"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><vector></highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="9"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="10"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>"<ref refid="system_8hpp" kindref="compound">serif/backend/mfem/model/system.hpp</ref>"</highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="11"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>"<ref refid="operators_8hpp" kindref="compound">serif/backend/mfem/solver/normalization/operators.hpp</ref>"</highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="12"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>"<ref refid="scales_8hpp" kindref="compound">serif/solver/normalization/scales.hpp</ref>"</highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="13"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>"<ref refid="errors_8hpp" kindref="compound">serif/utils/error/errors.hpp</ref>"</highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="14"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="15"><highlight class="normal"></highlight><highlight class="keyword">namespace<sp/></highlight><highlight class="normal"><ref refid="namespaceserif_1_1model_1_1backend_1_1mfem" kindref="compound">serif::model::backend::mfem</ref><sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="17" refid="classserif_1_1model_1_1backend_1_1mfem_1_1_normalized_system" refkind="compound"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classserif_1_1model_1_1backend_1_1mfem_1_1_normalized_system_1ac75356a94f4583de8a10f87913d1b2b0" kindref="member">NormalizedSystem</ref><sp/>final<sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="18"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
|
||
|
|
<codeline lineno="20"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classserif_1_1model_1_1backend_1_1mfem_1_1_normalized_system_1ac75356a94f4583de8a10f87913d1b2b0" kindref="member">NormalizedSystem</ref>(std::shared_ptr<const<sp/>PhysicalSystem><sp/><ref refid="classserif_1_1model_1_1backend_1_1mfem_1_1_normalized_system_1af7a5c82a61cb9695df1a4e81f28ad6a2" kindref="member">physical</ref>,</highlight></codeline>
|
||
|
|
<codeline lineno="21"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classserif_1_1solver_1_1normalization_1_1_diagonal_normalization" kindref="compound">solver::normalization::DiagonalNormalization</ref><sp/><ref refid="classserif_1_1model_1_1backend_1_1mfem_1_1_normalized_system_1a143569929233c195acc29d6ab6c00c04" kindref="member">coordinates</ref>,<sp/><ref refid="structserif_1_1solver_1_1normalization_1_1_stellar_reference_scales" kindref="compound">solver::normalization::StellarReferenceScales</ref><sp/>scales)<sp/>:</highlight></codeline>
|
||
|
|
<codeline lineno="22"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classserif_1_1model_1_1backend_1_1mfem_1_1_normalized_system_1a5ea11be400a6d08e2d700a7f43a39ade" kindref="member">m_physical</ref>(<ref refid="classserif_1_1model_1_1backend_1_1mfem_1_1_normalized_system_1a3aa4bbbb29ebbcf533995c4e2ebde2a1" kindref="member">checked_physical</ref>(std::move(<ref refid="classserif_1_1model_1_1backend_1_1mfem_1_1_normalized_system_1af7a5c82a61cb9695df1a4e81f28ad6a2" kindref="member">physical</ref>))),<sp/><ref refid="classserif_1_1model_1_1backend_1_1mfem_1_1_normalized_system_1ab044b78bae5c287168af9e3545061a60" kindref="member">m_scales</ref>(std::move(scales)),</highlight></codeline>
|
||
|
|
<codeline lineno="23"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classserif_1_1model_1_1backend_1_1mfem_1_1_normalized_system_1aa6b17e7dc56223f72afaa228cf52e31d" kindref="member">m_jacobian</ref>(*<ref refid="classserif_1_1model_1_1backend_1_1mfem_1_1_normalized_system_1a5ea11be400a6d08e2d700a7f43a39ade" kindref="member">m_physical</ref>->jacobian().action(),<sp/>std::move(<ref refid="classserif_1_1model_1_1backend_1_1mfem_1_1_normalized_system_1a143569929233c195acc29d6ab6c00c04" kindref="member">coordinates</ref>)),<sp/><ref refid="classserif_1_1model_1_1backend_1_1mfem_1_1_normalized_system_1a4eef09126554e66a0c39b641659dfe6c" kindref="member">m_residual</ref>(<ref refid="classserif_1_1model_1_1backend_1_1mfem_1_1_normalized_system_1a5ea11be400a6d08e2d700a7f43a39ade" kindref="member">m_physical</ref>->residual().size())<sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="24"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classserif_1_1model_1_1backend_1_1mfem_1_1_normalized_system_1aa6b17e7dc56223f72afaa228cf52e31d" kindref="member">m_jacobian</ref>.normalization().normalize_residual(<ref refid="classserif_1_1model_1_1backend_1_1mfem_1_1_normalized_system_1a5ea11be400a6d08e2d700a7f43a39ade" kindref="member">m_physical</ref>->residual(),<sp/><ref refid="classserif_1_1model_1_1backend_1_1mfem_1_1_normalized_system_1a4eef09126554e66a0c39b641659dfe6c" kindref="member">m_residual</ref>);</highlight></codeline>
|
||
|
|
<codeline lineno="25"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
||
|
|
<codeline lineno="26"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="28"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>[[nodiscard]]<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::shared_ptr<const<sp/>PhysicalSystem>&<sp/><ref refid="classserif_1_1model_1_1backend_1_1mfem_1_1_normalized_system_1af7a5c82a61cb9695df1a4e81f28ad6a2" kindref="member">physical</ref>()<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">noexcept</highlight><highlight class="normal"><sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="29"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classserif_1_1model_1_1backend_1_1mfem_1_1_normalized_system_1a5ea11be400a6d08e2d700a7f43a39ade" kindref="member">m_physical</ref>;</highlight></codeline>
|
||
|
|
<codeline lineno="30"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
||
|
|
<codeline lineno="31"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="33"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>[[nodiscard]]<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classserif_1_1solver_1_1normalization_1_1_diagonal_normalization" kindref="compound">solver::normalization::DiagonalNormalization</ref>&<sp/><ref refid="classserif_1_1model_1_1backend_1_1mfem_1_1_normalized_system_1a143569929233c195acc29d6ab6c00c04" kindref="member">coordinates</ref>()<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">noexcept</highlight><highlight class="normal"><sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="34"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classserif_1_1model_1_1backend_1_1mfem_1_1_normalized_system_1aa6b17e7dc56223f72afaa228cf52e31d" kindref="member">m_jacobian</ref>.normalization();</highlight></codeline>
|
||
|
|
<codeline lineno="35"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
||
|
|
<codeline lineno="36"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="38"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>[[nodiscard]]<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="structserif_1_1solver_1_1normalization_1_1_stellar_reference_scales" kindref="compound">solver::normalization::StellarReferenceScales</ref>&<sp/><ref refid="classserif_1_1model_1_1backend_1_1mfem_1_1_normalized_system_1a358b23b44aceb9901de8a5e5852c0ccc" kindref="member">reference_scales</ref>()<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">noexcept</highlight><highlight class="normal"><sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="39"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classserif_1_1model_1_1backend_1_1mfem_1_1_normalized_system_1ab044b78bae5c287168af9e3545061a60" kindref="member">m_scales</ref>;</highlight></codeline>
|
||
|
|
<codeline lineno="40"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
||
|
|
<codeline lineno="41"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="43"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>[[nodiscard]]<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::vector<double>&<sp/><ref refid="classserif_1_1model_1_1backend_1_1mfem_1_1_normalized_system_1a27fed153c0e10eaa5824b88fe8209c21" kindref="member">residual</ref>()<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">noexcept</highlight><highlight class="normal"><sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="44"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classserif_1_1model_1_1backend_1_1mfem_1_1_normalized_system_1a4eef09126554e66a0c39b641659dfe6c" kindref="member">m_residual</ref>;</highlight></codeline>
|
||
|
|
<codeline lineno="45"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
||
|
|
<codeline lineno="46"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="48"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>[[nodiscard]]<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="namespaceserif_1_1solver_1_1normalization_1_1backend_1_1mfem_1a186defa596b2c140e8f80bba9fa6aa72" kindref="member">solver::normalization::backend::mfem::ScaledJacobianOperator</ref>&<sp/><ref refid="classserif_1_1model_1_1backend_1_1mfem_1_1_normalized_system_1ad38b54a885dea0bfc6d3312d039192cf" kindref="member">jacobian</ref>()<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">noexcept</highlight><highlight class="normal"><sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="49"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classserif_1_1model_1_1backend_1_1mfem_1_1_normalized_system_1aa6b17e7dc56223f72afaa228cf52e31d" kindref="member">m_jacobian</ref>;</highlight></codeline>
|
||
|
|
<codeline lineno="50"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
||
|
|
<codeline lineno="51"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="52"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">private</highlight><highlight class="normal">:</highlight></codeline>
|
||
|
|
<codeline lineno="54"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>[[nodiscard]]<sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/>std::shared_ptr<const<sp/>PhysicalSystem><sp/><ref refid="classserif_1_1model_1_1backend_1_1mfem_1_1_normalized_system_1a3aa4bbbb29ebbcf533995c4e2ebde2a1" kindref="member">checked_physical</ref>(std::shared_ptr<const<sp/>PhysicalSystem><sp/><ref refid="classserif_1_1model_1_1backend_1_1mfem_1_1_normalized_system_1af7a5c82a61cb9695df1a4e81f28ad6a2" kindref="member">physical</ref>)<sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="55"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">using<sp/>namespace<sp/></highlight><highlight class="normal"><ref refid="namespaceserif_1_1utils_1_1errors" kindref="compound">utils::errors</ref>;</highlight></codeline>
|
||
|
|
<codeline lineno="56"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>serif_ensure<SERiFErrorCode::INVALID_ARGUMENT>(<ref refid="classserif_1_1model_1_1backend_1_1mfem_1_1_normalized_system_1af7a5c82a61cb9695df1a4e81f28ad6a2" kindref="member">physical</ref><sp/>!=<sp/></highlight><highlight class="keyword">nullptr</highlight><highlight class="normal">,<sp/></highlight><highlight class="stringliteral">"Normalized<sp/>coordinates<sp/>require<sp/>an<sp/>frozen<sp/>physical<sp/>system.<sp/>Prepare<sp/>the<sp/>stellar<sp/>model<sp/>first."</highlight><highlight class="normal">);</highlight></codeline>
|
||
|
|
<codeline lineno="57"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classserif_1_1model_1_1backend_1_1mfem_1_1_normalized_system_1af7a5c82a61cb9695df1a4e81f28ad6a2" kindref="member">physical</ref>;</highlight></codeline>
|
||
|
|
<codeline lineno="58"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
||
|
|
<codeline lineno="59"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="60"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>std::shared_ptr<const<sp/>PhysicalSystem><sp/><ref refid="classserif_1_1model_1_1backend_1_1mfem_1_1_normalized_system_1a5ea11be400a6d08e2d700a7f43a39ade" kindref="member">m_physical</ref>;</highlight></codeline>
|
||
|
|
<codeline lineno="61"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="structserif_1_1solver_1_1normalization_1_1_stellar_reference_scales" kindref="compound">solver::normalization::StellarReferenceScales</ref><sp/><ref refid="classserif_1_1model_1_1backend_1_1mfem_1_1_normalized_system_1ab044b78bae5c287168af9e3545061a60" kindref="member">m_scales</ref>;</highlight></codeline>
|
||
|
|
<codeline lineno="62"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="namespaceserif_1_1solver_1_1normalization_1_1backend_1_1mfem_1a186defa596b2c140e8f80bba9fa6aa72" kindref="member">solver::normalization::backend::mfem::ScaledJacobianOperator</ref><sp/><ref refid="classserif_1_1model_1_1backend_1_1mfem_1_1_normalized_system_1aa6b17e7dc56223f72afaa228cf52e31d" kindref="member">m_jacobian</ref>;</highlight></codeline>
|
||
|
|
<codeline lineno="63"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>std::vector<double><sp/><ref refid="classserif_1_1model_1_1backend_1_1mfem_1_1_normalized_system_1a4eef09126554e66a0c39b641659dfe6c" kindref="member">m_residual</ref>;</highlight></codeline>
|
||
|
|
<codeline lineno="64"><highlight class="normal"><sp/><sp/><sp/><sp/>};</highlight></codeline>
|
||
|
|
<codeline lineno="65"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="67"><highlight class="normal"><sp/><sp/><sp/><sp/>[[nodiscard]]<sp/></highlight><highlight class="keyword">inline</highlight><highlight class="normal"><sp/>std::expected<std::shared_ptr<const<sp/>NormalizedSystem>,<sp/>std::string><sp/><ref refid="namespaceserif_1_1model_1_1backend_1_1mfem_1a5a00125a9c307e2ab374089315e85306" kindref="member">make_normalized_system</ref>(</highlight></codeline>
|
||
|
|
<codeline lineno="68"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>std::shared_ptr<const<sp/>PhysicalSystem><sp/>physical,<sp/><ref refid="classserif_1_1solver_1_1normalization_1_1_diagonal_normalization" kindref="compound">solver::normalization::DiagonalNormalization</ref><sp/>coordinates,</highlight></codeline>
|
||
|
|
<codeline lineno="69"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="structserif_1_1solver_1_1normalization_1_1_stellar_reference_scales" kindref="compound">solver::normalization::StellarReferenceScales</ref><sp/>reference)<sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="70"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">auto</highlight><highlight class="normal"><sp/>result<sp/>=<sp/>std::make_shared<const<sp/>NormalizedSystem>(std::move(physical),<sp/>std::move(coordinates),<sp/>std::move(reference));</highlight></codeline>
|
||
|
|
<codeline lineno="71"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(!std::ranges::all_of(result->residual(),<sp/>[](</highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>value)<sp/>{<sp/>return<sp/>std::isfinite(value);<sp/>}))<sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="72"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>std::unexpected(</highlight><highlight class="stringliteral">"The<sp/>normalized<sp/>stellar<sp/>residual<sp/>is<sp/>not<sp/>finite.<sp/>Check<sp/>the<sp/>reference<sp/>scales<sp/>and<sp/>the<sp/>physical<sp/>candidate."</highlight><highlight class="normal">);</highlight></codeline>
|
||
|
|
<codeline lineno="73"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
||
|
|
<codeline lineno="74"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>result;</highlight></codeline>
|
||
|
|
<codeline lineno="75"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
||
|
|
<codeline lineno="76"><highlight class="normal">}</highlight></codeline>
|
||
|
|
</programlisting>
|
||
|
|
<location file="src/include/serif/backend/mfem/model/normalized_system.hpp"/>
|
||
|
|
</compounddef>
|
||
|
|
</doxygen>
|