109 lines
10 KiB
XML
109 lines
10 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="geometry__inspection_8hpp" kind="file" language="C++">
|
||
|
|
<compoundname>geometry_inspection.hpp</compoundname>
|
||
|
|
<includes local="no">cmath</includes>
|
||
|
|
<includes local="no">cstddef</includes>
|
||
|
|
<includes local="no">limits</includes>
|
||
|
|
<includes local="no">vector</includes>
|
||
|
|
<includedby refid="backend_2mfem_2geometry__inspection_8hpp" local="yes">src/include/serif/geometry/deformation/backend/mfem/geometry_inspection.hpp</includedby>
|
||
|
|
<includedby refid="geometry_2deformation_2deformation_8hpp" local="yes">src/include/serif/geometry/deformation/deformation.hpp</includedby>
|
||
|
|
<incdepgraph>
|
||
|
|
<node id="1">
|
||
|
|
<label>src/include/serif/geometry/deformation/geometry_inspection.hpp</label>
|
||
|
|
<link refid="geometry__inspection_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>
|
||
|
|
</node>
|
||
|
|
<node id="2">
|
||
|
|
<label>cmath</label>
|
||
|
|
</node>
|
||
|
|
<node id="3">
|
||
|
|
<label>cstddef</label>
|
||
|
|
</node>
|
||
|
|
<node id="4">
|
||
|
|
<label>limits</label>
|
||
|
|
</node>
|
||
|
|
<node id="5">
|
||
|
|
<label>vector</label>
|
||
|
|
</node>
|
||
|
|
</incdepgraph>
|
||
|
|
<invincdepgraph>
|
||
|
|
<node id="3">
|
||
|
|
<label>src/compile_time_checks/serif/geometry/deformation.cpp</label>
|
||
|
|
<link refid="compile__time__checks_2serif_2geometry_2deformation_8cpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="2">
|
||
|
|
<label>src/include/serif/geometry/deformation/backend/mfem/geometry_inspection.hpp</label>
|
||
|
|
<link refid="backend_2mfem_2geometry__inspection_8hpp"/>
|
||
|
|
<childnode refid="3" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="4" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="5">
|
||
|
|
<label>src/include/serif/geometry/deformation/deformation.hpp</label>
|
||
|
|
<link refid="geometry_2deformation_2deformation_8hpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="1">
|
||
|
|
<label>src/include/serif/geometry/deformation/geometry_inspection.hpp</label>
|
||
|
|
<link refid="geometry__inspection_8hpp"/>
|
||
|
|
<childnode refid="2" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="5" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="4">
|
||
|
|
<label>src/lib/serif/geometry/deformation/backend/mfem/geometry_inspection.cpp</label>
|
||
|
|
<link refid="geometry__inspection_8cpp"/>
|
||
|
|
</node>
|
||
|
|
</invincdepgraph>
|
||
|
|
<innerclass refid="structserif_1_1geometry_1_1deformation_1_1_deformation_geometry_report" prot="public">serif::geometry::deformation::DeformationGeometryReport</innerclass>
|
||
|
|
<innerclass refid="structserif_1_1geometry_1_1deformation_1_1_validated_displacement" prot="public">serif::geometry::deformation::ValidatedDisplacement</innerclass>
|
||
|
|
<innernamespace refid="namespaceserif">serif</innernamespace>
|
||
|
|
<innernamespace refid="namespaceserif_1_1geometry">serif::geometry</innernamespace>
|
||
|
|
<innernamespace refid="namespaceserif_1_1geometry_1_1deformation">serif::geometry::deformation</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/><cmath></highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="4"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><cstddef></highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="5"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><limits></highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="6"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><vector></highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="7"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="8"><highlight class="normal"></highlight><highlight class="keyword">namespace<sp/></highlight><highlight class="normal"><ref refid="namespaceserif_1_1geometry_1_1deformation" kindref="compound">serif::geometry::deformation</ref></highlight></codeline>
|
||
|
|
<codeline lineno="9"><highlight class="normal">{</highlight></codeline>
|
||
|
|
<codeline lineno="15" refid="structserif_1_1geometry_1_1deformation_1_1_deformation_geometry_report" refkind="compound"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structserif_1_1geometry_1_1deformation_1_1_deformation_geometry_report" kindref="compound">DeformationGeometryReport</ref></highlight></codeline>
|
||
|
|
<codeline lineno="16"><highlight class="normal"><sp/><sp/><sp/><sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="17"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/><ref refid="structserif_1_1geometry_1_1deformation_1_1_deformation_geometry_report_1a2b7eb78143888860ce107d9fa7ec5bb0" kindref="member">minimum_jacobian_determinant</ref>{std::numeric_limits<double>::infinity()};</highlight></codeline>
|
||
|
|
<codeline lineno="18"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>std::size_t<sp/><ref refid="structserif_1_1geometry_1_1deformation_1_1_deformation_geometry_report_1a55fd9624aa6c8ca7ed24547f2cfc5ee8" kindref="member">sampled_point_count</ref>{0};</highlight></codeline>
|
||
|
|
<codeline lineno="19"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="structserif_1_1geometry_1_1deformation_1_1_deformation_geometry_report_1a6296c6b7361048bcc5d6f270d295421f" kindref="member">minimum_element</ref>{-1};</highlight></codeline>
|
||
|
|
<codeline lineno="20"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="structserif_1_1geometry_1_1deformation_1_1_deformation_geometry_report_1acd0c2f05cd26458d2dcc3f41b1512cd3" kindref="member">minimum_point</ref>{-1};</highlight></codeline>
|
||
|
|
<codeline lineno="21"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="23"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>[[nodiscard]]<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="structserif_1_1geometry_1_1deformation_1_1_deformation_geometry_report_1ac446b0ec9c88e39e9063d3fd43469d2d" kindref="member">is_orientation_preserving</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>determinant_floor<sp/>=<sp/>0.0)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">noexcept</highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="24"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="25"><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::isfinite(<ref refid="structserif_1_1geometry_1_1deformation_1_1_deformation_geometry_report_1a2b7eb78143888860ce107d9fa7ec5bb0" kindref="member">minimum_jacobian_determinant</ref>)<sp/>&&<sp/>std::isfinite(determinant_floor)<sp/>&&<sp/>determinant_floor<sp/>>=<sp/>0.0<sp/>&&<sp/><ref refid="structserif_1_1geometry_1_1deformation_1_1_deformation_geometry_report_1a2b7eb78143888860ce107d9fa7ec5bb0" kindref="member">minimum_jacobian_determinant</ref><sp/>><sp/>determinant_floor;</highlight></codeline>
|
||
|
|
<codeline lineno="26"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
||
|
|
<codeline lineno="27"><highlight class="normal"><sp/><sp/><sp/><sp/>};</highlight></codeline>
|
||
|
|
<codeline lineno="28"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="30" refid="structserif_1_1geometry_1_1deformation_1_1_validated_displacement" refkind="compound"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structserif_1_1geometry_1_1deformation_1_1_validated_displacement" kindref="compound">ValidatedDisplacement</ref></highlight></codeline>
|
||
|
|
<codeline lineno="31"><highlight class="normal"><sp/><sp/><sp/><sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="32"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>std::vector<double><sp/><ref refid="structserif_1_1geometry_1_1deformation_1_1_validated_displacement_1a17abff24c1753051623a79d0645cef94" kindref="member">displacement</ref>;</highlight></codeline>
|
||
|
|
<codeline lineno="33"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="structserif_1_1geometry_1_1deformation_1_1_deformation_geometry_report" kindref="compound">DeformationGeometryReport</ref><sp/><ref refid="structserif_1_1geometry_1_1deformation_1_1_validated_displacement_1a32fcd7155cd0726be728de84e1164b32" kindref="member">geometry</ref>;</highlight></codeline>
|
||
|
|
<codeline lineno="34"><highlight class="normal"><sp/><sp/><sp/><sp/>};</highlight></codeline>
|
||
|
|
<codeline lineno="35"><highlight class="normal">}<sp/></highlight><highlight class="comment">//<sp/>namespace<sp/>serif::geometry::deformation</highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
</programlisting>
|
||
|
|
<location file="src/include/serif/geometry/deformation/geometry_inspection.hpp"/>
|
||
|
|
</compounddef>
|
||
|
|
</doxygen>
|