Files
MeanField_SERiF/docs/xml/evaluation_8cpp.xml

352 lines
18 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="evaluation_8cpp" kind="file" language="C++">
<compoundname>evaluation.cpp</compoundname>
<includes refid="eos_2evaluation_8hpp" local="yes">serif/eos/evaluation.hpp</includes>
<includes refid="eos_2models_2polytropic_8hpp" local="yes">serif/eos/models/polytropic.hpp</includes>
<includes refid="eos__reference_8hpp" local="yes">serif/model/eos_reference.hpp</includes>
<includes local="no">type_traits</includes>
<includes local="no">utility</includes>
<incdepgraph>
<node id="1">
<label>src/compile_time_checks/serif/eos/evaluation.cpp</label>
<link refid="evaluation_8cpp"/>
<childnode refid="2" relation="include">
</childnode>
<childnode refid="24" relation="include">
</childnode>
<childnode refid="26" relation="include">
</childnode>
<childnode refid="6" relation="include">
</childnode>
<childnode refid="29" relation="include">
</childnode>
</node>
<node id="22">
<label>serif/dimensions/dimensions.hpp</label>
<link refid="dimensions_8hpp"/>
<childnode refid="23" relation="include">
</childnode>
<childnode refid="5" relation="include">
</childnode>
</node>
<node id="12">
<label>serif/dimensions/partial.hpp</label>
<link refid="partial_8hpp"/>
<childnode refid="5" relation="include">
</childnode>
<childnode refid="11" relation="include">
</childnode>
</node>
<node id="5">
<label>serif/dimensions/quantities.hpp</label>
<link refid="quantities_8hpp"/>
<childnode refid="6" relation="include">
</childnode>
<childnode refid="7" relation="include">
</childnode>
<childnode refid="8" relation="include">
</childnode>
<childnode refid="9" relation="include">
</childnode>
<childnode refid="10" relation="include">
</childnode>
<childnode refid="11" relation="include">
</childnode>
</node>
<node id="25">
<label>serif/dimensions/type_alias.hpp</label>
<link refid="type__alias_8hpp"/>
<childnode refid="5" relation="include">
</childnode>
<childnode refid="22" relation="include">
</childnode>
</node>
<node id="2">
<label>serif/eos/evaluation.hpp</label>
<link refid="eos_2evaluation_8hpp"/>
<childnode refid="3" relation="include">
</childnode>
</node>
<node id="3">
<label>serif/eos/models/concepts.hpp</label>
<link refid="eos_2models_2concepts_8hpp"/>
<childnode refid="4" relation="include">
</childnode>
<childnode refid="21" relation="include">
</childnode>
</node>
<node id="24">
<label>serif/eos/models/polytropic.hpp</label>
<link refid="eos_2models_2polytropic_8hpp"/>
<childnode refid="21" relation="include">
</childnode>
<childnode refid="25" relation="include">
</childnode>
<childnode refid="12" relation="include">
</childnode>
</node>
<node id="4">
<label>serif/eos/models/traits.hpp</label>
<link refid="eos_2models_2traits_8hpp"/>
<childnode refid="5" relation="include">
</childnode>
<childnode refid="12" relation="include">
</childnode>
<childnode refid="13" relation="include">
</childnode>
</node>
<node id="15">
<label>serif/eos/relations/catalog.hpp</label>
<link refid="catalog_8hpp"/>
<childnode refid="16" relation="include">
</childnode>
<childnode refid="19" relation="include">
</childnode>
<childnode refid="5" relation="include">
</childnode>
</node>
<node id="13">
<label>serif/eos/relations/concepts.hpp</label>
<link refid="eos_2relations_2concepts_8hpp"/>
<childnode refid="14" relation="include">
</childnode>
</node>
<node id="21">
<label>serif/eos/relations/relations.hpp</label>
<link refid="eos_2relations_2relations_8hpp"/>
<childnode refid="15" relation="include">
</childnode>
<childnode refid="22" relation="include">
</childnode>
</node>
<node id="14">
<label>serif/eos/relations/traits.hpp</label>
<link refid="eos_2relations_2traits_8hpp"/>
<childnode refid="15" relation="include">
</childnode>
</node>
<node id="43">
<label>serif/meta/enums.hpp</label>
<link refid="enums_8hpp"/>
<childnode refid="44" relation="include">
</childnode>
<childnode refid="6" relation="include">
</childnode>
<childnode refid="45" relation="include">
</childnode>
</node>
<node id="26">
<label>serif/model/eos_reference.hpp</label>
<link refid="eos__reference_8hpp"/>
<childnode refid="27" relation="include">
</childnode>
<childnode refid="28" relation="include">
</childnode>
<childnode refid="6" relation="include">
</childnode>
<childnode refid="29" relation="include">
</childnode>
<childnode refid="30" relation="include">
</childnode>
</node>
<node id="42">
<label>serif/utils/error/codes.hpp</label>
<link refid="codes_8hpp"/>
<childnode refid="34" relation="include">
</childnode>
<childnode refid="43" relation="include">
</childnode>
</node>
<node id="30">
<label>serif/utils/error/errors.hpp</label>
<link refid="errors_8hpp"/>
<childnode refid="23" relation="include">
</childnode>
<childnode refid="31" relation="include">
</childnode>
<childnode refid="32" relation="include">
</childnode>
<childnode refid="33" relation="include">
</childnode>
<childnode refid="34" relation="include">
</childnode>
<childnode refid="35" relation="include">
</childnode>
<childnode refid="36" relation="include">
</childnode>
<childnode refid="37" 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="6" relation="include">
</childnode>
<childnode refid="11" relation="include">
</childnode>
</node>
<node id="11">
<label>serif/utils/misc/concepts/numeric.hpp</label>
<link refid="numeric_8hpp"/>
<childnode refid="8" relation="include">
</childnode>
<childnode refid="6" relation="include">
</childnode>
</node>
<node id="16">
<label>serif/utils/misc/concepts/type_uniqueness.hpp</label>
<link refid="concepts_2type__uniqueness_8hpp"/>
<childnode refid="17" relation="include">
</childnode>
</node>
<node id="10">
<label>serif/utils/misc/std_helper/cleaning.hpp</label>
<link refid="cleaning_8hpp"/>
<childnode refid="6" relation="include">
</childnode>
</node>
<node id="19">
<label>serif/utils/misc/std_helper/variadic_cleaning.hpp</label>
<link refid="variadic__cleaning_8hpp"/>
<childnode refid="20" relation="include">
</childnode>
</node>
<node id="37">
<label>serif/utils/misc/terminal/colors.hpp</label>
<link refid="colors_8hpp"/>
<childnode refid="23" relation="include">
</childnode>
<childnode refid="32" relation="include">
</childnode>
<childnode refid="38" relation="include">
</childnode>
<childnode refid="29" relation="include">
</childnode>
<childnode refid="39" relation="include">
</childnode>
</node>
<node id="17">
<label>serif/utils/misc/traits/type_uniqueness.hpp</label>
<link refid="traits_2type__uniqueness_8hpp"/>
<childnode refid="18" relation="include">
</childnode>
<childnode refid="10" relation="include">
</childnode>
</node>
<node id="46">
<label>serif/utils/types/strings.hpp</label>
<link refid="types_2strings_8hpp"/>
<childnode refid="35" relation="include">
</childnode>
<childnode refid="47" relation="include">
</childnode>
<childnode refid="23" relation="include">
</childnode>
</node>
<node id="35">
<label>algorithm</label>
</node>
<node id="18">
<label>array</label>
</node>
<node id="7">
<label>compare</label>
</node>
<node id="8">
<label>concepts</label>
</node>
<node id="20">
<label>cstddef</label>
</node>
<node id="34">
<label>cstdint</label>
</node>
<node id="32">
<label>cstdio</label>
</node>
<node id="38">
<label>cstdlib</label>
</node>
<node id="41">
<label>exception</label>
</node>
<node id="31">
<label>format</label>
</node>
<node id="47">
<label>iostream</label>
</node>
<node id="45">
<label>magic_enum/magic_enum_all.hpp</label>
</node>
<node id="27">
<label>memory</label>
</node>
<node id="28">
<label>stdexcept</label>
</node>
<node id="33">
<label>string</label>
</node>
<node id="23">
<label>string_view</label>
</node>
<node id="9">
<label>tuple</label>
</node>
<node id="6">
<label>type_traits</label>
</node>
<node id="39">
<label>unistd.h</label>
</node>
<node id="44">
<label>unordered_map</label>
</node>
<node id="29">
<label>utility</label>
</node>
<node id="36">
<label>version</label>
</node>
</incdepgraph>
<briefdescription>
</briefdescription>
<detaileddescription>
</detaileddescription>
<programlisting>
<codeline lineno="1"><highlight class="preprocessor">#include<sp/>&quot;<ref refid="eos_2evaluation_8hpp" kindref="compound">serif/eos/evaluation.hpp</ref>&quot;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="2"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&quot;<ref refid="eos_2models_2polytropic_8hpp" kindref="compound">serif/eos/models/polytropic.hpp</ref>&quot;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="3"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&quot;<ref refid="eos__reference_8hpp" kindref="compound">serif/model/eos_reference.hpp</ref>&quot;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="4"><highlight class="normal"></highlight></codeline>
<codeline lineno="5"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;type_traits&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="6"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;utility&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="7"><highlight class="normal"></highlight></codeline>
<codeline lineno="8"><highlight class="normal"></highlight><highlight class="keyword">using<sp/>namespace<sp/></highlight><highlight class="normal"><ref refid="namespaceserif_1_1eos" kindref="compound">serif::eos</ref>;</highlight></codeline>
<codeline lineno="9"><highlight class="normal"></highlight><highlight class="keyword">using<sp/>namespace<sp/></highlight><highlight class="normal"><ref refid="namespaceserif_1_1dimensions" kindref="compound">serif::dimensions</ref>;</highlight></codeline>
<codeline lineno="10"><highlight class="normal"></highlight></codeline>
<codeline lineno="11"><highlight class="normal"></highlight><highlight class="keyword">static_assert</highlight><highlight class="normal">(std::same_as&lt;decltype(evaluate&lt;Pressure&gt;(std::declval&lt;const<sp/>models::Polytrope&amp;&gt;(),<sp/><ref refid="namespaceserif_1_1dimensions_1af7f8c68a704a7bf475c60dbad5f98d78" kindref="member">DensityValue</ref>{1.0})),<sp/><ref refid="namespaceserif_1_1dimensions_1a60ad5bcd33f38e5e0e272d9df76008ec" kindref="member">PressureValue</ref>&gt;);</highlight></codeline>
<codeline lineno="12"><highlight class="normal"></highlight><highlight class="keyword">static_assert</highlight><highlight class="normal">(std::same_as&lt;decltype(partial_derivative&lt;MassDensity,<sp/>SpecificEnthalpy&gt;(std::declval&lt;const<sp/>models::Polytrope&amp;&gt;(),<sp/><ref refid="namespaceserif_1_1dimensions_1a9d34f8c867a871e5ebe50e99b54d0d16" kindref="member">SpecificEnthalpyValue</ref>{1.0})),<sp/><ref refid="classserif_1_1dimensions_1_1_partial_derivative" kindref="compound">PartialDerivative&lt;MassDensity, SpecificEnthalpy&gt;</ref>&gt;);</highlight></codeline>
<codeline lineno="13"><highlight class="normal"></highlight><highlight class="keyword">static_assert</highlight><highlight class="normal">(std::same_as&lt;decltype(partial_derivative&lt;Pressure,<sp/>MassDensity&gt;(std::declval&lt;const<sp/>models::Polytrope&amp;&gt;(),<sp/><ref refid="namespaceserif_1_1dimensions_1af7f8c68a704a7bf475c60dbad5f98d78" kindref="member">DensityValue</ref>{1.0})),<sp/><ref refid="classserif_1_1dimensions_1_1_partial_derivative" kindref="compound">PartialDerivative&lt;Pressure, MassDensity&gt;</ref>&gt;);</highlight></codeline>
<codeline lineno="14"><highlight class="normal"></highlight><highlight class="keyword">static_assert</highlight><highlight class="normal">(!</highlight><highlight class="keyword">noexcept</highlight><highlight class="normal">(<ref refid="namespaceserif_1_1eos_1ade79763ef51f539b78059d8898a2d2a2" kindref="member">evaluate&lt;Pressure&gt;</ref>(std::declval&lt;const<sp/>models::Polytrope&amp;&gt;(),<sp/><ref refid="namespaceserif_1_1dimensions_1af7f8c68a704a7bf475c60dbad5f98d78" kindref="member">DensityValue</ref>{1.0})),<sp/></highlight><highlight class="stringliteral">&quot;Invalid<sp/>thermodynamic<sp/>inputs<sp/>must<sp/>be<sp/>allowed<sp/>to<sp/>throw&quot;</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="15"><highlight class="normal"></highlight><highlight class="keyword">static_assert</highlight><highlight class="normal">(std::same_as&lt;decltype(evaluate&lt;MassDensity&gt;(std::declval&lt;const<sp/>models::Polytrope&amp;&gt;(),<sp/><ref refid="namespaceserif_1_1dimensions_1a60ad5bcd33f38e5e0e272d9df76008ec" kindref="member">PressureValue</ref>{1.0})),<sp/><ref refid="namespaceserif_1_1dimensions_1af7f8c68a704a7bf475c60dbad5f98d78" kindref="member">DensityValue</ref>&gt;);</highlight></codeline>
<codeline lineno="16"><highlight class="normal"></highlight><highlight class="keyword">static_assert</highlight><highlight class="normal">(std::same_as&lt;decltype(second_partial_derivative&lt;Pressure,<sp/>MassDensity,<sp/>MassDensity&gt;(</highlight></codeline>
<codeline lineno="17"><highlight class="normal"><sp/><sp/><sp/><sp/>std::declval&lt;const<sp/>models::Polytrope&amp;&gt;(),<sp/><ref refid="namespaceserif_1_1dimensions_1af7f8c68a704a7bf475c60dbad5f98d78" kindref="member">DensityValue</ref>{1.0})),<sp/><ref refid="classserif_1_1dimensions_1_1_second_partial_derivative" kindref="compound">SecondPartialDerivative&lt;Pressure, MassDensity, MassDensity&gt;</ref>&gt;);</highlight></codeline>
<codeline lineno="18"><highlight class="normal"></highlight><highlight class="keyword">static_assert</highlight><highlight class="normal">(models::EOSSupportingSecondPartialDerivative&lt;serif::model::EosReference&lt;models::Polytrope&gt;,<sp/><ref refid="namespaceserif_1_1eos_1_1relations_1ac555319520c74d14fb945024aefe4dfd" kindref="member">relations::PressureFromDensity</ref>,<sp/><ref refid="structserif_1_1dimensions_1_1_mass_density" kindref="compound">MassDensity</ref>,<sp/><ref refid="structserif_1_1dimensions_1_1_mass_density" kindref="compound">MassDensity</ref>&gt;);</highlight></codeline>
<codeline lineno="19"><highlight class="normal"></highlight><highlight class="keyword">static_assert</highlight><highlight class="normal">(!models::EOSSupportingSecondPartialDerivative&lt;models::Polytrope,<sp/>relations::PressureFromDensity,<sp/>SpecificEnthalpy,<sp/>MassDensity&gt;);</highlight></codeline>
<codeline lineno="20"><highlight class="normal"></highlight><highlight class="keyword">static_assert</highlight><highlight class="normal">(!models::EOSSupportingSecondPartialDerivative&lt;models::Polytrope,<sp/>relations::PressureFromSpecificEnthalpy,<sp/>SpecificEnthalpy,<sp/>SpecificEnthalpy&gt;);</highlight></codeline>
<codeline lineno="21"><highlight class="normal"></highlight><highlight class="keyword">static_assert</highlight><highlight class="normal">(!models::EOSSupportingSecondPartialDerivative&lt;int,<sp/>relations::PressureFromDensity,<sp/>MassDensity,<sp/>MassDensity&gt;);</highlight></codeline>
</programlisting>
<location file="src/compile_time_checks/serif/eos/evaluation.cpp"/>
</compounddef>
</doxygen>