492 lines
32 KiB
XML
492 lines
32 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="eos_2evaluation_8hpp" kind="file" language="C++">
|
||
|
|
<compoundname>evaluation.hpp</compoundname>
|
||
|
|
<includes refid="eos_2models_2concepts_8hpp" local="yes">serif/eos/models/concepts.hpp</includes>
|
||
|
|
<includedby refid="evaluation_8cpp" local="yes">src/compile_time_checks/serif/eos/evaluation.cpp</includedby>
|
||
|
|
<includedby refid="barotropic__density_8hpp" local="yes">src/include/serif/equations/barotropic_density.hpp</includedby>
|
||
|
|
<includedby refid="geometry_2surface_2detail_2evaluation_8hpp" local="yes">src/include/serif/geometry/surface/detail/evaluation.hpp</includedby>
|
||
|
|
<incdepgraph>
|
||
|
|
<node id="21">
|
||
|
|
<label>serif/dimensions/dimensions.hpp</label>
|
||
|
|
<link refid="dimensions_8hpp"/>
|
||
|
|
<childnode refid="22" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="4" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="11">
|
||
|
|
<label>serif/dimensions/partial.hpp</label>
|
||
|
|
<link refid="partial_8hpp"/>
|
||
|
|
<childnode refid="4" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="10" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="4">
|
||
|
|
<label>serif/dimensions/quantities.hpp</label>
|
||
|
|
<link refid="quantities_8hpp"/>
|
||
|
|
<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="9" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="10" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="1">
|
||
|
|
<label>src/include/serif/eos/evaluation.hpp</label>
|
||
|
|
<link refid="eos_2evaluation_8hpp"/>
|
||
|
|
<childnode refid="2" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="2">
|
||
|
|
<label>serif/eos/models/concepts.hpp</label>
|
||
|
|
<link refid="eos_2models_2concepts_8hpp"/>
|
||
|
|
<childnode refid="3" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="20" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="3">
|
||
|
|
<label>serif/eos/models/traits.hpp</label>
|
||
|
|
<link refid="eos_2models_2traits_8hpp"/>
|
||
|
|
<childnode refid="4" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="11" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="12" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="14">
|
||
|
|
<label>serif/eos/relations/catalog.hpp</label>
|
||
|
|
<link refid="catalog_8hpp"/>
|
||
|
|
<childnode refid="15" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="18" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="4" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="12">
|
||
|
|
<label>serif/eos/relations/concepts.hpp</label>
|
||
|
|
<link refid="eos_2relations_2concepts_8hpp"/>
|
||
|
|
<childnode refid="13" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="20">
|
||
|
|
<label>serif/eos/relations/relations.hpp</label>
|
||
|
|
<link refid="eos_2relations_2relations_8hpp"/>
|
||
|
|
<childnode refid="14" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="21" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="13">
|
||
|
|
<label>serif/eos/relations/traits.hpp</label>
|
||
|
|
<link refid="eos_2relations_2traits_8hpp"/>
|
||
|
|
<childnode refid="14" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="10">
|
||
|
|
<label>serif/utils/misc/concepts/numeric.hpp</label>
|
||
|
|
<link refid="numeric_8hpp"/>
|
||
|
|
<childnode refid="7" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="5" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="15">
|
||
|
|
<label>serif/utils/misc/concepts/type_uniqueness.hpp</label>
|
||
|
|
<link refid="concepts_2type__uniqueness_8hpp"/>
|
||
|
|
<childnode refid="16" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="9">
|
||
|
|
<label>serif/utils/misc/std_helper/cleaning.hpp</label>
|
||
|
|
<link refid="cleaning_8hpp"/>
|
||
|
|
<childnode refid="5" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="18">
|
||
|
|
<label>serif/utils/misc/std_helper/variadic_cleaning.hpp</label>
|
||
|
|
<link refid="variadic__cleaning_8hpp"/>
|
||
|
|
<childnode refid="19" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="16">
|
||
|
|
<label>serif/utils/misc/traits/type_uniqueness.hpp</label>
|
||
|
|
<link refid="traits_2type__uniqueness_8hpp"/>
|
||
|
|
<childnode refid="17" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="9" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="17">
|
||
|
|
<label>array</label>
|
||
|
|
</node>
|
||
|
|
<node id="6">
|
||
|
|
<label>compare</label>
|
||
|
|
</node>
|
||
|
|
<node id="7">
|
||
|
|
<label>concepts</label>
|
||
|
|
</node>
|
||
|
|
<node id="19">
|
||
|
|
<label>cstddef</label>
|
||
|
|
</node>
|
||
|
|
<node id="22">
|
||
|
|
<label>string_view</label>
|
||
|
|
</node>
|
||
|
|
<node id="8">
|
||
|
|
<label>tuple</label>
|
||
|
|
</node>
|
||
|
|
<node id="5">
|
||
|
|
<label>type_traits</label>
|
||
|
|
</node>
|
||
|
|
</incdepgraph>
|
||
|
|
<invincdepgraph>
|
||
|
|
<node id="22">
|
||
|
|
<label>src/compile_time_checks/serif/backend_independent.cpp</label>
|
||
|
|
<link refid="backend__independent_8cpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="2">
|
||
|
|
<label>src/compile_time_checks/serif/eos/evaluation.cpp</label>
|
||
|
|
<link refid="evaluation_8cpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="43">
|
||
|
|
<label>src/compile_time_checks/serif/geometry/surface.cpp</label>
|
||
|
|
<link refid="surface_8cpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="27">
|
||
|
|
<label>src/compile_time_checks/serif/geometry/surface_boundary.cpp</label>
|
||
|
|
<link refid="surface__boundary_8cpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="4">
|
||
|
|
<label>src/compile_time_checks/serif/model/barotropic_density.cpp</label>
|
||
|
|
<link refid="barotropic__density_8cpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="5">
|
||
|
|
<label>src/compile_time_checks/serif/model/density_primal.cpp</label>
|
||
|
|
<link refid="density__primal_8cpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="6">
|
||
|
|
<label>src/compile_time_checks/serif/model/execution_validation.cpp</label>
|
||
|
|
<link refid="execution__validation_8cpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="7">
|
||
|
|
<label>src/compile_time_checks/serif/model/normalization.cpp</label>
|
||
|
|
<link refid="normalization_8cpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="32">
|
||
|
|
<label>src/compile_time_checks/serif/model/state.cpp</label>
|
||
|
|
<link refid="state_8cpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="8">
|
||
|
|
<label>src/compile_time_checks/serif/model/validation.cpp</label>
|
||
|
|
<link refid="compile__time__checks_2serif_2model_2validation_8cpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="9">
|
||
|
|
<label>src/compile_time_checks/serif/operators/coordinate_identity_meanfield.cpp</label>
|
||
|
|
<link refid="coordinate__identity__meanfield_8cpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="10">
|
||
|
|
<label>src/compile_time_checks/serif/operators/plan.cpp</label>
|
||
|
|
<link refid="operators_2plan_8cpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="26">
|
||
|
|
<label>src/include/serif/backend/mfem/geometry/surface/boundary_computations.hpp</label>
|
||
|
|
<link refid="boundary__computations_8hpp"/>
|
||
|
|
<childnode refid="27" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="28" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="40" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="28">
|
||
|
|
<label>src/include/serif/backend/mfem/geometry/surface/pressure_boundary.hpp</label>
|
||
|
|
<link refid="geometry_2surface_2pressure__boundary_8hpp"/>
|
||
|
|
<childnode refid="29" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="29">
|
||
|
|
<label>src/include/serif/backend/mfem/model/binding.hpp</label>
|
||
|
|
<link refid="backend_2mfem_2model_2binding_8hpp"/>
|
||
|
|
<childnode refid="30" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="38" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="31">
|
||
|
|
<label>src/include/serif/backend/mfem/model/equilibrium.hpp</label>
|
||
|
|
<link refid="backend_2mfem_2model_2equilibrium_8hpp"/>
|
||
|
|
<childnode refid="32" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="33" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="30">
|
||
|
|
<label>src/include/serif/backend/mfem/model/equilibrium_evaluator.hpp</label>
|
||
|
|
<link refid="equilibrium__evaluator_8hpp"/>
|
||
|
|
<childnode refid="31" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="40">
|
||
|
|
<label>src/include/serif/backend/mfem/model/graph.hpp</label>
|
||
|
|
<link refid="backend_2mfem_2model_2graph_8hpp"/>
|
||
|
|
<childnode refid="31" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="41" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="17">
|
||
|
|
<label>src/include/serif/backend/mfem/serialize/configuration.hpp</label>
|
||
|
|
<link refid="backend_2mfem_2serialize_2configuration_8hpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="16">
|
||
|
|
<label>src/include/serif/backend/mfem/serialize/discretization.hpp</label>
|
||
|
|
<link refid="serialize_2discretization_8hpp"/>
|
||
|
|
<childnode refid="17" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="19">
|
||
|
|
<label>src/include/serif/backend/mfem/serialize/options.hpp</label>
|
||
|
|
<link refid="backend_2mfem_2serialize_2options_8hpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="11">
|
||
|
|
<label>src/include/serif/backend/mfem/serialize/top.hpp</label>
|
||
|
|
<link refid="backend_2mfem_2serialize_2top_8hpp"/>
|
||
|
|
<childnode refid="12" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="41">
|
||
|
|
<label>src/include/serif/backend/mfem/solver/admissibility/geometry.hpp</label>
|
||
|
|
<link refid="geometry_8hpp"/>
|
||
|
|
<childnode refid="33" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="34">
|
||
|
|
<label>src/include/serif/backend/mfem/solver/equilibrium.hpp</label>
|
||
|
|
<link refid="backend_2mfem_2solver_2equilibrium_8hpp"/>
|
||
|
|
<childnode refid="35" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="33">
|
||
|
|
<label>src/include/serif/backend/mfem/solver/nonlinear/stellar_problem.hpp</label>
|
||
|
|
<link refid="stellar__problem_8hpp"/>
|
||
|
|
<childnode refid="34" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="38">
|
||
|
|
<label>src/include/serif/backend/mfem/solver/seed/state.hpp</label>
|
||
|
|
<link refid="backend_2mfem_2solver_2seed_2state_8hpp"/>
|
||
|
|
<childnode refid="39" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="1">
|
||
|
|
<label>src/include/serif/eos/evaluation.hpp</label>
|
||
|
|
<link refid="eos_2evaluation_8hpp"/>
|
||
|
|
<childnode refid="2" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="3" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="23" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="3">
|
||
|
|
<label>src/include/serif/equations/barotropic_density.hpp</label>
|
||
|
|
<link refid="barotropic__density_8hpp"/>
|
||
|
|
<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="9" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="10" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="11" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="13" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="13">
|
||
|
|
<label>src/include/serif/equations/equations.hpp</label>
|
||
|
|
<link refid="equations_2equations_8hpp"/>
|
||
|
|
<childnode refid="14" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="25">
|
||
|
|
<label>src/include/serif/geometry/surface/computations.hpp</label>
|
||
|
|
<link refid="geometry_2surface_2computations_8hpp"/>
|
||
|
|
<childnode refid="26" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="42" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="24">
|
||
|
|
<label>src/include/serif/geometry/surface/detail/batches.hpp</label>
|
||
|
|
<link refid="batches_8hpp"/>
|
||
|
|
<childnode refid="25" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="23">
|
||
|
|
<label>src/include/serif/geometry/surface/detail/evaluation.hpp</label>
|
||
|
|
<link refid="geometry_2surface_2detail_2evaluation_8hpp"/>
|
||
|
|
<childnode refid="24" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="44" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="44">
|
||
|
|
<label>src/include/serif/geometry/surface/evaluation.hpp</label>
|
||
|
|
<link refid="geometry_2surface_2evaluation_8hpp"/>
|
||
|
|
<childnode refid="42" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="42">
|
||
|
|
<label>src/include/serif/geometry/surface/surface.hpp</label>
|
||
|
|
<link refid="surface_8hpp"/>
|
||
|
|
<childnode refid="43" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="36">
|
||
|
|
<label>src/include/serif/solver/continuation/equilibrium.hpp</label>
|
||
|
|
<link refid="solver_2continuation_2equilibrium_8hpp"/>
|
||
|
|
<childnode refid="37" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="35">
|
||
|
|
<label>src/include/serif/solver/equilibrium.hpp</label>
|
||
|
|
<link refid="solver_2equilibrium_8hpp"/>
|
||
|
|
<childnode refid="36" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="37" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="39">
|
||
|
|
<label>src/include/serif/solver/seed/state.hpp</label>
|
||
|
|
<link refid="solver_2seed_2state_8hpp"/>
|
||
|
|
<childnode refid="37" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="37">
|
||
|
|
<label>src/include/serif/solver/solver.hpp</label>
|
||
|
|
<link refid="solver_2solver_8hpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="14">
|
||
|
|
<label>src/include/serif/utils/serialize/equations.hpp</label>
|
||
|
|
<link refid="utils_2serialize_2equations_8hpp"/>
|
||
|
|
<childnode refid="15" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="15">
|
||
|
|
<label>src/include/serif/utils/serialize/model.hpp</label>
|
||
|
|
<link refid="utils_2serialize_2model_8hpp"/>
|
||
|
|
<childnode refid="16" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="18" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="20" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="18">
|
||
|
|
<label>src/include/serif/utils/serialize/numerics.hpp</label>
|
||
|
|
<link refid="numerics_8hpp"/>
|
||
|
|
<childnode refid="17" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="19" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="20" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="21">
|
||
|
|
<label>src/include/serif/utils/serialize/serialize.hpp</label>
|
||
|
|
<link refid="serialize_8hpp"/>
|
||
|
|
<childnode refid="22" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="20">
|
||
|
|
<label>src/include/serif/utils/serialize/solver.hpp</label>
|
||
|
|
<link refid="utils_2serialize_2solver_8hpp"/>
|
||
|
|
<childnode refid="21" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="12">
|
||
|
|
<label>src/lib/serif/backend/mfem/serialize/top.cpp</label>
|
||
|
|
<link refid="backend_2mfem_2serialize_2top_8cpp"/>
|
||
|
|
</node>
|
||
|
|
</invincdepgraph>
|
||
|
|
<innernamespace refid="namespaceserif">serif</innernamespace>
|
||
|
|
<innernamespace refid="namespaceserif_1_1eos">serif::eos</innernamespace>
|
||
|
|
<briefdescription>
|
||
|
|
<para>File containing the evaluate and partial_derivative functions. These functions are used to evaluate relations and partial derivatives for a given EOS model. </para>
|
||
|
|
</briefdescription>
|
||
|
|
<detaileddescription>
|
||
|
|
<para><simplesect kind="author"><para>Emily M. Boudreaux </para>
|
||
|
|
</simplesect>
|
||
|
|
</para>
|
||
|
|
</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="9"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="10"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>"<ref refid="eos_2models_2concepts_8hpp" kindref="compound">serif/eos/models/concepts.hpp</ref>"</highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="11"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="12" refid="namespaceserif_1_1eos" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">namespace<sp/></highlight><highlight class="normal"><ref refid="namespaceserif_1_1eos" kindref="compound">serif::eos</ref><sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="13"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*</highlight></codeline>
|
||
|
|
<codeline lineno="14"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/>*<sp/>I<sp/>find<sp/>the<sp/>syntax<sp/>that<sp/>follows<sp/>to<sp/>be<sp/>potentially<sp/>confusing.<sp/>Specifically<sp/>the<sp/>double<sp/>use<sp/>of<sp/>noexcept.<sp/>For<sp/>those</highlight></codeline>
|
||
|
|
<codeline lineno="15"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/>*<sp/>unfamiliar<sp/>a<sp/>brief<sp/>explanation<sp/>follows.</highlight></codeline>
|
||
|
|
<codeline lineno="16"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/>*</highlight></codeline>
|
||
|
|
<codeline lineno="17"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/>*<sp/>The<sp/>first<sp/>noexcept<sp/>is<sp/>used<sp/>to<sp/>mark<sp/>if<sp/>the<sp/>overall<sp/>function<sp/>(evaluate)<sp/>is<sp/>noexcept.<sp/>However,<sp/>noexcept<sp/>can<sp/>take<sp/>a<sp/>boolean.<sp/>noexcept(true)</highlight></codeline>
|
||
|
|
<codeline lineno="18"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/>*<sp/>tells<sp/>the<sp/>compiler<sp/>that<sp/>the<sp/>function<sp/>will<sp/>not<sp/>throw<sp/>an<sp/>exception<sp/>(note<sp/>if<sp/>an<sp/>exception<sp/>is<sp/>thrown<sp/>in<sp/>a<sp/>noexcept<sp/>function<sp/>std::terminate<sp/>will<sp/>be<sp/>called</highlight></codeline>
|
||
|
|
<codeline lineno="19"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/>*<sp/>and<sp/>no<sp/>try-catch<sp/>block<sp/>will<sp/>catch<sp/>the<sp/>exception).<sp/>This<sp/>allows<sp/>for<sp/>the<sp/>compiler<sp/>to<sp/>generate<sp/>more<sp/>efficient<sp/>code.<sp/>noexcept(false)<sp/>tells</highlight></codeline>
|
||
|
|
<codeline lineno="20"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/>*<sp/>the<sp/>compiler<sp/>that<sp/>the<sp/>function<sp/>may<sp/>throw<sp/>an<sp/>exception<sp/>(semantically<sp/>it<sp/>is<sp/>equivalent<sp/>to<sp/>not<sp/>including<sp/>noexcept).<sp/>The<sp/>second<sp/>noexcept</highlight></codeline>
|
||
|
|
<codeline lineno="21"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/>*<sp/>(e.g.<sp/>noexcept(noexcept())<sp/>is<sp/>used<sp/>to<sp/>determine<sp/>what<sp/>that<sp/>boolean<sp/>is.<sp/>This<sp/>is<sp/>a<sp/>confusing<sp/>part<sp/>of<sp/>C++<sp/>syntax<sp/>where<sp/>the<sp/>same</highlight></codeline>
|
||
|
|
<codeline lineno="22"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/>*<sp/>keyword<sp/>has<sp/>different<sp/>semantic<sp/>meanings<sp/>depending<sp/>on<sp/>context.<sp/>In<sp/>this<sp/>case<sp/>the<sp/>inner<sp/>noexcept<sp/>is<sp/>used</highlight></codeline>
|
||
|
|
<codeline lineno="23"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/>*<sp/>to<sp/>determine<sp/>if<sp/>the<sp/>expression<sp/>inside<sp/>it<sp/>is<sp/>noexcept.<sp/>That<sp/>is<sp/>to<sp/>say<sp/>if<sp/>eos.evaluate(...)<sp/>is<sp/>noexcept<sp/>for<sp/>the<sp/>particular</highlight></codeline>
|
||
|
|
<codeline lineno="24"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/>*<sp/>templates<sp/>EOS<sp/>argument<sp/>then<sp/>this<sp/>function<sp/>will<sp/>be<sp/>noexcept.<sp/>If<sp/>eos.evaluate(...)<sp/>is<sp/>not<sp/>noexcept<sp/>then<sp/>this<sp/>function<sp/>will<sp/>not<sp/>be<sp/>noexcept.</highlight></codeline>
|
||
|
|
<codeline lineno="25"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="26"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="37"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><sp/><<ref refid="conceptserif_1_1dimensions_1_1_thermodynamic_quantity_type" kindref="compound">dimensions::ThermodynamicQuantityType</ref><sp/>OutputQ,<sp/><ref refid="conceptserif_1_1eos_1_1models_1_1_e_o_s_model" kindref="compound">models::EOSModel</ref><sp/>EOS,<sp/><ref refid="conceptserif_1_1dimensions_1_1_quantity_value_type" kindref="compound">dimensions::QuantityValueType</ref>...<sp/>InputValues></highlight></codeline>
|
||
|
|
<codeline lineno="38"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">requires</highlight><highlight class="normal"><sp/><ref refid="conceptserif_1_1eos_1_1models_1_1_e_o_s_supporting_relation" kindref="compound">models::EOSSupportingRelation<EOS, relations::Relation<OutputQ, dimensions::QuantityOfT<InputValues></ref>...>></highlight></codeline>
|
||
|
|
<codeline lineno="39"><highlight class="normal"><sp/><sp/><sp/><sp/>[[nodiscard]]<sp/></highlight><highlight class="keyword">constexpr</highlight><highlight class="normal"><sp/><ref refid="classserif_1_1dimensions_1_1_quantity_value" kindref="compound">dimensions::QuantityValue<OutputQ></ref><sp/><ref refid="namespaceserif_1_1eos_1ade79763ef51f539b78059d8898a2d2a2" kindref="member">evaluate</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>EOS&<sp/><ref refid="namespaceserif_1_1eos" kindref="compound">eos</ref>,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>InputValues...<sp/>inputValues)</highlight></codeline>
|
||
|
|
<codeline lineno="40"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">noexcept</highlight><highlight class="normal">(</highlight><highlight class="keyword">noexcept</highlight><highlight class="normal">(<ref refid="namespaceserif_1_1eos" kindref="compound">eos</ref>.evaluate(<ref refid="structserif_1_1eos_1_1relations_1_1_relation" kindref="compound">relations::Relation</ref><OutputQ,<sp/><ref refid="namespaceserif_1_1dimensions_1a726ea17ab3c500d045d2605915ecfcd6" kindref="member">dimensions::QuantityOfT<InputValues></ref>...>{},<sp/>inputValues...)))<sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="41"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="namespaceserif_1_1eos" kindref="compound">eos</ref>.evaluate(<ref refid="structserif_1_1eos_1_1relations_1_1_relation" kindref="compound">relations::Relation</ref><OutputQ,<sp/><ref refid="namespaceserif_1_1dimensions_1a726ea17ab3c500d045d2605915ecfcd6" kindref="member">dimensions::QuantityOfT<InputValues></ref>...>{},<sp/>inputValues...);</highlight></codeline>
|
||
|
|
<codeline lineno="42"><highlight class="normal"><sp/><sp/><sp/><sp/>};</highlight></codeline>
|
||
|
|
<codeline lineno="43"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="55"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><sp/><<ref refid="conceptserif_1_1dimensions_1_1_thermodynamic_quantity_type" kindref="compound">dimensions::ThermodynamicQuantityType</ref><sp/>OutputQ,<sp/><ref refid="conceptserif_1_1dimensions_1_1_thermodynamic_quantity_type" kindref="compound">dimensions::ThermodynamicQuantityType</ref><sp/>InputQ,<sp/><ref refid="conceptserif_1_1eos_1_1models_1_1_e_o_s_model" kindref="compound">models::EOSModel</ref><sp/>EOS,<sp/><ref refid="conceptserif_1_1dimensions_1_1_quantity_value_type" kindref="compound">dimensions::QuantityValueType</ref>...<sp/>InputValues></highlight></codeline>
|
||
|
|
<codeline lineno="56"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">requires</highlight><highlight class="normal"><sp/><ref refid="conceptserif_1_1eos_1_1models_1_1_e_o_s_supporting_partial_derivative" kindref="compound">models::EOSSupportingPartialDerivative<EOS, relations::Relation<OutputQ, dimensions::QuantityOfT<InputValues></ref>...>,<sp/>InputQ></highlight></codeline>
|
||
|
|
<codeline lineno="57"><highlight class="normal"><sp/><sp/><sp/><sp/>[[nodiscard]]<sp/></highlight><highlight class="keyword">constexpr</highlight><highlight class="normal"><sp/><ref refid="classserif_1_1dimensions_1_1_partial_derivative" kindref="compound">dimensions::PartialDerivative<OutputQ, InputQ></ref><sp/><ref refid="namespaceserif_1_1eos_1a2d0ca00b47c2dfa34d75bae9456fe390" kindref="member">partial_derivative</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>EOS&<sp/><ref refid="namespaceserif_1_1eos" kindref="compound">eos</ref>,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>InputValues...<sp/>inputValues)</highlight></codeline>
|
||
|
|
<codeline lineno="58"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">noexcept</highlight><highlight class="normal">(</highlight><highlight class="keyword">noexcept</highlight><highlight class="normal">(<ref refid="namespaceserif_1_1eos" kindref="compound">eos</ref>.partial_derivative(<ref refid="structserif_1_1eos_1_1relations_1_1_relation" kindref="compound">relations::Relation</ref><OutputQ,<sp/><ref refid="namespaceserif_1_1dimensions_1a726ea17ab3c500d045d2605915ecfcd6" kindref="member">dimensions::QuantityOfT<InputValues></ref>...>{},<sp/><ref refid="structserif_1_1dimensions_1_1_with_respect_to" kindref="compound">dimensions::WithRespectTo<InputQ></ref>{},<sp/>inputValues...)))<sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="59"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="namespaceserif_1_1eos" kindref="compound">eos</ref>.partial_derivative(<ref refid="structserif_1_1eos_1_1relations_1_1_relation" kindref="compound">relations::Relation</ref><OutputQ,<sp/><ref refid="namespaceserif_1_1dimensions_1a726ea17ab3c500d045d2605915ecfcd6" kindref="member">dimensions::QuantityOfT<InputValues></ref>...>{},<sp/><ref refid="structserif_1_1dimensions_1_1_with_respect_to" kindref="compound">dimensions::WithRespectTo<InputQ></ref>{},<sp/>inputValues...);</highlight></codeline>
|
||
|
|
<codeline lineno="60"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
||
|
|
<codeline lineno="61"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="63"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><sp/><<ref refid="conceptserif_1_1dimensions_1_1_thermodynamic_quantity_type" kindref="compound">dimensions::ThermodynamicQuantityType</ref><sp/>OutputQ,<sp/><ref refid="conceptserif_1_1dimensions_1_1_thermodynamic_quantity_type" kindref="compound">dimensions::ThermodynamicQuantityType</ref><sp/>FirstInput,</highlight></codeline>
|
||
|
|
<codeline lineno="64"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="conceptserif_1_1dimensions_1_1_thermodynamic_quantity_type" kindref="compound">dimensions::ThermodynamicQuantityType</ref><sp/>SecondInput,<sp/><ref refid="conceptserif_1_1eos_1_1models_1_1_e_o_s_model" kindref="compound">models::EOSModel</ref><sp/>EOS,<sp/><ref refid="conceptserif_1_1dimensions_1_1_quantity_value_type" kindref="compound">dimensions::QuantityValueType</ref>...<sp/>InputValues></highlight></codeline>
|
||
|
|
<codeline lineno="65"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">requires</highlight><highlight class="normal"><sp/><ref refid="conceptserif_1_1eos_1_1models_1_1_e_o_s_supporting_second_partial_derivative" kindref="compound">models::EOSSupportingSecondPartialDerivative</ref><EOS,</highlight></codeline>
|
||
|
|
<codeline lineno="66"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="structserif_1_1eos_1_1relations_1_1_relation" kindref="compound">relations::Relation<OutputQ, dimensions::QuantityOfT<InputValues></ref>...>,<sp/>FirstInput,<sp/>SecondInput></highlight></codeline>
|
||
|
|
<codeline lineno="67"><highlight class="normal"><sp/><sp/><sp/><sp/>[[nodiscard]]<sp/></highlight><highlight class="keyword">constexpr</highlight><highlight class="normal"><sp/><ref refid="classserif_1_1dimensions_1_1_second_partial_derivative" kindref="compound">dimensions::SecondPartialDerivative<OutputQ, FirstInput, SecondInput></ref></highlight></codeline>
|
||
|
|
<codeline lineno="68"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="namespaceserif_1_1eos_1ad41c8ebf0663a55e74ba55bc35e560b4" kindref="member">second_partial_derivative</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>EOS&<sp/><ref refid="namespaceserif_1_1eos" kindref="compound">eos</ref>,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>InputValues...<sp/>inputValues)</highlight></codeline>
|
||
|
|
<codeline lineno="69"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">noexcept</highlight><highlight class="normal">(</highlight><highlight class="keyword">noexcept</highlight><highlight class="normal">(<ref refid="namespaceserif_1_1eos" kindref="compound">eos</ref>.second_partial_derivative(<ref refid="structserif_1_1eos_1_1relations_1_1_relation" kindref="compound">relations::Relation</ref><OutputQ,<sp/><ref refid="namespaceserif_1_1dimensions_1a726ea17ab3c500d045d2605915ecfcd6" kindref="member">dimensions::QuantityOfT<InputValues></ref>...>{},</highlight></codeline>
|
||
|
|
<codeline lineno="70"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="structserif_1_1dimensions_1_1_with_respect_to" kindref="compound">dimensions::WithRespectTo<FirstInput></ref>{},<sp/><ref refid="structserif_1_1dimensions_1_1_with_respect_to" kindref="compound">dimensions::WithRespectTo<SecondInput></ref>{},<sp/>inputValues...)))<sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="71"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="namespaceserif_1_1eos" kindref="compound">eos</ref>.second_partial_derivative(<ref refid="structserif_1_1eos_1_1relations_1_1_relation" kindref="compound">relations::Relation</ref><OutputQ,<sp/><ref refid="namespaceserif_1_1dimensions_1a726ea17ab3c500d045d2605915ecfcd6" kindref="member">dimensions::QuantityOfT<InputValues></ref>...>{},</highlight></codeline>
|
||
|
|
<codeline lineno="72"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="structserif_1_1dimensions_1_1_with_respect_to" kindref="compound">dimensions::WithRespectTo<FirstInput></ref>{},<sp/><ref refid="structserif_1_1dimensions_1_1_with_respect_to" kindref="compound">dimensions::WithRespectTo<SecondInput></ref>{},<sp/>inputValues...);</highlight></codeline>
|
||
|
|
<codeline lineno="73"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
||
|
|
<codeline lineno="74"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="75"><highlight class="normal">}</highlight></codeline>
|
||
|
|
</programlisting>
|
||
|
|
<location file="src/include/serif/eos/evaluation.hpp"/>
|
||
|
|
</compounddef>
|
||
|
|
</doxygen>
|