245 lines
14 KiB
XML
245 lines
14 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="operands_8cpp" kind="file" language="C++">
|
||
|
|
<compoundname>operands.cpp</compoundname>
|
||
|
|
<includes refid="operands_8hpp" local="yes">serif/discretization/forms/operands.hpp</includes>
|
||
|
|
<includes local="no">type_traits</includes>
|
||
|
|
<includes local="no">concepts</includes>
|
||
|
|
<incdepgraph>
|
||
|
|
<node id="1">
|
||
|
|
<label>src/compile_time_checks/serif/discretization/forms/operands.cpp</label>
|
||
|
|
<link refid="operands_8cpp"/>
|
||
|
|
<childnode refid="2" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="4" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="3" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="9">
|
||
|
|
<label>serif/dimensions/dimensions.hpp</label>
|
||
|
|
<link refid="dimensions_8hpp"/>
|
||
|
|
<childnode refid="8" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="10" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="10">
|
||
|
|
<label>serif/dimensions/quantities.hpp</label>
|
||
|
|
<link refid="quantities_8hpp"/>
|
||
|
|
<childnode refid="4" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="11" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="3" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="12" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="13" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="14" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="15">
|
||
|
|
<label>serif/discretization/blocks/base.hpp</label>
|
||
|
|
<link refid="base_8hpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="5">
|
||
|
|
<label>serif/discretization/blocks/concepts.hpp</label>
|
||
|
|
<link refid="discretization_2blocks_2concepts_8hpp"/>
|
||
|
|
<childnode refid="6" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="6">
|
||
|
|
<label>serif/discretization/blocks/fields.hpp</label>
|
||
|
|
<link refid="fields_8hpp"/>
|
||
|
|
<childnode refid="7" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="8" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="9" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="15" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="16" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="21" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="27" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="28" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="29" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="21">
|
||
|
|
<label>serif/discretization/domain/concepts.hpp</label>
|
||
|
|
<link refid="discretization_2domain_2concepts_8hpp"/>
|
||
|
|
<childnode refid="22" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="8" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="23" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="7" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="17" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="24" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="25" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="13" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="26" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="27">
|
||
|
|
<label>serif/discretization/domain/physical_domains.hpp</label>
|
||
|
|
<link refid="physical__domains_8hpp"/>
|
||
|
|
<childnode refid="25" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="21" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="25">
|
||
|
|
<label>serif/discretization/domain/types.hpp</label>
|
||
|
|
<link refid="discretization_2domain_2types_8hpp"/>
|
||
|
|
<childnode refid="8" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="2">
|
||
|
|
<label>serif/discretization/forms/operands.hpp</label>
|
||
|
|
<link refid="operands_8hpp"/>
|
||
|
|
<childnode refid="3" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="4" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="5" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="16">
|
||
|
|
<label>serif/discretization/functional_space/space.hpp</label>
|
||
|
|
<link refid="space_8hpp"/>
|
||
|
|
<childnode refid="4" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="17" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="18" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="18">
|
||
|
|
<label>serif/meta/enums.hpp</label>
|
||
|
|
<link refid="enums_8hpp"/>
|
||
|
|
<childnode refid="19" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="4" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="20" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="29">
|
||
|
|
<label>serif/meta/names.hpp</label>
|
||
|
|
<link refid="names_8hpp"/>
|
||
|
|
<childnode refid="8" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="30" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="14">
|
||
|
|
<label>serif/utils/misc/concepts/numeric.hpp</label>
|
||
|
|
<link refid="numeric_8hpp"/>
|
||
|
|
<childnode refid="3" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="4" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="13">
|
||
|
|
<label>serif/utils/misc/std_helper/cleaning.hpp</label>
|
||
|
|
<link refid="cleaning_8hpp"/>
|
||
|
|
<childnode refid="4" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="26">
|
||
|
|
<label>serif/utils/misc/std_helper/variadic_cleaning.hpp</label>
|
||
|
|
<link refid="variadic__cleaning_8hpp"/>
|
||
|
|
<childnode refid="22" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="28">
|
||
|
|
<label>serif/utils/types/type_list.hpp</label>
|
||
|
|
<link refid="type__list_8hpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="7">
|
||
|
|
<label>array</label>
|
||
|
|
</node>
|
||
|
|
<node id="11">
|
||
|
|
<label>compare</label>
|
||
|
|
</node>
|
||
|
|
<node id="3">
|
||
|
|
<label>concepts</label>
|
||
|
|
</node>
|
||
|
|
<node id="22">
|
||
|
|
<label>cstddef</label>
|
||
|
|
</node>
|
||
|
|
<node id="17">
|
||
|
|
<label>format</label>
|
||
|
|
</node>
|
||
|
|
<node id="20">
|
||
|
|
<label>magic_enum/magic_enum_all.hpp</label>
|
||
|
|
</node>
|
||
|
|
<node id="30">
|
||
|
|
<label>nameof.hpp</label>
|
||
|
|
</node>
|
||
|
|
<node id="24">
|
||
|
|
<label>numeric</label>
|
||
|
|
</node>
|
||
|
|
<node id="23">
|
||
|
|
<label>span</label>
|
||
|
|
</node>
|
||
|
|
<node id="8">
|
||
|
|
<label>string_view</label>
|
||
|
|
</node>
|
||
|
|
<node id="12">
|
||
|
|
<label>tuple</label>
|
||
|
|
</node>
|
||
|
|
<node id="4">
|
||
|
|
<label>type_traits</label>
|
||
|
|
</node>
|
||
|
|
<node id="19">
|
||
|
|
<label>unordered_map</label>
|
||
|
|
</node>
|
||
|
|
</incdepgraph>
|
||
|
|
<briefdescription>
|
||
|
|
</briefdescription>
|
||
|
|
<detaileddescription>
|
||
|
|
</detaileddescription>
|
||
|
|
<programlisting>
|
||
|
|
<codeline lineno="1"><highlight class="preprocessor">#include<sp/>"<ref refid="operands_8hpp" kindref="compound">serif/discretization/forms/operands.hpp</ref>"</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/><type_traits></highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="4"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><concepts></highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="5"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="6"><highlight class="normal"></highlight><highlight class="keyword">namespace<sp/></highlight><highlight class="normal">{</highlight></codeline>
|
||
|
|
<codeline lineno="7"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">using<sp/>namespace<sp/></highlight><highlight class="normal"><ref refid="namespaceserif_1_1discretization" kindref="compound">serif::discretization</ref>;</highlight></codeline>
|
||
|
|
<codeline lineno="8"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="9"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">using<sp/></highlight><highlight class="normal"><ref refid="namespaceserif_1_1operators_1a84d7e8ff528dc3361769cc6f08e6cd49" kindref="member">DensityValue</ref><sp/>=<sp/><ref refid="structserif_1_1discretization_1_1forms_1_1_operand" kindref="compound">forms::Operand<blocks::density::mass></ref>;</highlight></codeline>
|
||
|
|
<codeline lineno="10"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">using<sp/></highlight><highlight class="normal"><ref refid="namespaceserif_1_1operators_1a028bb2043970f34c7f9c4f8f35d2c996" kindref="member">DisplacementValue</ref><sp/>=<sp/><ref refid="structserif_1_1discretization_1_1forms_1_1_operand" kindref="compound">forms::Operand<blocks::displacement::vector></ref>;</highlight></codeline>
|
||
|
|
<codeline lineno="11"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">using<sp/></highlight><highlight class="normal"><ref refid="namespaceserif_1_1operators_1ac94445fb44b80328f7fd8470ded86ab7" kindref="member">DisplacementDivergence</ref><sp/>=<sp/><ref refid="structserif_1_1discretization_1_1forms_1_1_operand" kindref="compound">forms::Operand<blocks::displacement::vector, forms::Operation::Divergence></ref>;</highlight></codeline>
|
||
|
|
<codeline lineno="12"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">using<sp/></highlight><highlight class="normal">DisplacementNormalTrace<sp/>=<sp/><ref refid="structserif_1_1discretization_1_1forms_1_1_operand" kindref="compound">forms::Operand<blocks::displacement::vector, forms::Operation::NormalTrace></ref>;</highlight></codeline>
|
||
|
|
<codeline lineno="13"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">using<sp/></highlight><highlight class="normal"><ref refid="namespaceserif_1_1operators_1abb7387ce5fc8f06e38655f2abf71a05f" kindref="member">DisplacementGradient</ref><sp/>=<sp/><ref refid="structserif_1_1discretization_1_1forms_1_1_operand" kindref="compound">forms::Operand<blocks::displacement::vector, forms::Operation::Gradient></ref>;</highlight></codeline>
|
||
|
|
<codeline lineno="14"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="15"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">static_assert</highlight><highlight class="normal">(forms::IsOperand<DensityValue>,<sp/></highlight><highlight class="stringliteral">"DensityValue<sp/>should<sp/>be<sp/>a<sp/>valid<sp/>operand"</highlight><highlight class="normal">);</highlight></codeline>
|
||
|
|
<codeline lineno="16"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">static_assert</highlight><highlight class="normal">(forms::IsOperand<DisplacementValue>,<sp/></highlight><highlight class="stringliteral">"DisplacementValue<sp/>should<sp/>be<sp/>a<sp/>valid<sp/>operand"</highlight><highlight class="normal">);</highlight></codeline>
|
||
|
|
<codeline lineno="17"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">static_assert</highlight><highlight class="normal">(forms::IsOperand<DisplacementDivergence>,<sp/></highlight><highlight class="stringliteral">"DisplacementDivergence<sp/>should<sp/>be<sp/>a<sp/>valid<sp/>operand"</highlight><highlight class="normal">);</highlight></codeline>
|
||
|
|
<codeline lineno="18"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">static_assert</highlight><highlight class="normal">(forms::IsOperand<DisplacementNormalTrace>,<sp/></highlight><highlight class="stringliteral">"DisplacementNormalTrace<sp/>should<sp/>be<sp/>a<sp/>valid<sp/>operand"</highlight><highlight class="normal">);</highlight></codeline>
|
||
|
|
<codeline lineno="19"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">static_assert</highlight><highlight class="normal">(forms::IsOperand<DisplacementGradient>,<sp/></highlight><highlight class="stringliteral">"DisplacementGradient<sp/>should<sp/>be<sp/>a<sp/>valid<sp/>operand"</highlight><highlight class="normal">);</highlight></codeline>
|
||
|
|
<codeline lineno="20"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="21"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">static_assert</highlight><highlight class="normal">(std::same_as<DisplacementDivergence::term_type,<sp/>blocks::displacement::vector>,<sp/></highlight><highlight class="stringliteral">"DisplacementDivergence<sp/>should<sp/>have<sp/>the<sp/>correct<sp/>term<sp/>type"</highlight><highlight class="normal">);</highlight></codeline>
|
||
|
|
<codeline lineno="22"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">static_assert</highlight><highlight class="normal">(std::same_as<DisplacementDivergence::operation_type,<sp/>forms::Operation::Divergence>,<sp/></highlight><highlight class="stringliteral">"DisplacementDivergence<sp/>should<sp/>have<sp/>the<sp/>correct<sp/>operation<sp/>type"</highlight><highlight class="normal">);</highlight></codeline>
|
||
|
|
<codeline lineno="23"><highlight class="normal">}</highlight></codeline>
|
||
|
|
</programlisting>
|
||
|
|
<location file="src/compile_time_checks/serif/discretization/forms/operands.cpp"/>
|
||
|
|
</compounddef>
|
||
|
|
</doxygen>
|