138 lines
10 KiB
XML
138 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="utils_2projection_2radial_8hpp" kind="file" language="C++">
|
||
|
|
<compoundname>radial.hpp</compoundname>
|
||
|
|
<includes local="no">concepts</includes>
|
||
|
|
<includes local="no">expected</includes>
|
||
|
|
<includes local="no">functional</includes>
|
||
|
|
<includes local="no">string</includes>
|
||
|
|
<includes local="no">type_traits</includes>
|
||
|
|
<includedby refid="backend__independent_8cpp" local="yes">src/compile_time_checks/serif/backend_independent.cpp</includedby>
|
||
|
|
<includedby refid="backend_2mfem_2projection_2radial_8hpp" local="yes">src/include/serif/backend/mfem/projection/radial.hpp</includedby>
|
||
|
|
<includedby refid="projection_8hpp" local="yes">src/include/serif/utils/projection/projection.hpp</includedby>
|
||
|
|
<incdepgraph>
|
||
|
|
<node id="1">
|
||
|
|
<label>src/include/serif/utils/projection/radial.hpp</label>
|
||
|
|
<link refid="utils_2projection_2radial_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>
|
||
|
|
</node>
|
||
|
|
<node id="2">
|
||
|
|
<label>concepts</label>
|
||
|
|
</node>
|
||
|
|
<node id="3">
|
||
|
|
<label>expected</label>
|
||
|
|
</node>
|
||
|
|
<node id="4">
|
||
|
|
<label>functional</label>
|
||
|
|
</node>
|
||
|
|
<node id="5">
|
||
|
|
<label>string</label>
|
||
|
|
</node>
|
||
|
|
<node id="6">
|
||
|
|
<label>type_traits</label>
|
||
|
|
</node>
|
||
|
|
</incdepgraph>
|
||
|
|
<invincdepgraph>
|
||
|
|
<node id="2">
|
||
|
|
<label>src/compile_time_checks/serif/backend_independent.cpp</label>
|
||
|
|
<link refid="backend__independent_8cpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="4">
|
||
|
|
<label>src/compile_time_checks/serif/utils/projection.cpp</label>
|
||
|
|
<link refid="projection_8cpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="3">
|
||
|
|
<label>src/include/serif/backend/mfem/projection/radial.hpp</label>
|
||
|
|
<link refid="backend_2mfem_2projection_2radial_8hpp"/>
|
||
|
|
<childnode refid="4" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="5" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="8" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="9" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="5">
|
||
|
|
<label>src/include/serif/backend/mfem/solver/seed/state.hpp</label>
|
||
|
|
<link refid="backend_2mfem_2solver_2seed_2state_8hpp"/>
|
||
|
|
<childnode refid="6" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="6">
|
||
|
|
<label>src/include/serif/solver/seed/state.hpp</label>
|
||
|
|
<link refid="solver_2seed_2state_8hpp"/>
|
||
|
|
<childnode refid="7" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="7">
|
||
|
|
<label>src/include/serif/solver/solver.hpp</label>
|
||
|
|
<link refid="solver_2solver_8hpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="8">
|
||
|
|
<label>src/include/serif/utils/projection/projection.hpp</label>
|
||
|
|
<link refid="projection_8hpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="1">
|
||
|
|
<label>src/include/serif/utils/projection/radial.hpp</label>
|
||
|
|
<link refid="utils_2projection_2radial_8hpp"/>
|
||
|
|
<childnode refid="2" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="3" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="8" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="9">
|
||
|
|
<label>src/lib/serif/backend/mfem/projection/radial.cpp</label>
|
||
|
|
<link refid="radial_8cpp"/>
|
||
|
|
</node>
|
||
|
|
</invincdepgraph>
|
||
|
|
<innernamespace refid="namespaceserif">serif</innernamespace>
|
||
|
|
<innernamespace refid="namespaceserif_1_1utils">serif::utils</innernamespace>
|
||
|
|
<innernamespace refid="namespaceserif_1_1utils_1_1projection">serif::utils::projection</innernamespace>
|
||
|
|
<innernamespace refid="namespaceserif_1_1utils_1_1projection_1_1detail">serif::utils::projection::detail</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/><concepts></highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="4"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><expected></highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="5"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><functional></highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="6"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><string></highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="7"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><type_traits></highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="8"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="9"><highlight class="normal"></highlight><highlight class="keyword">namespace<sp/></highlight><highlight class="normal"><ref refid="namespaceserif_1_1utils_1_1projection" kindref="compound">serif::utils::projection</ref><sp/>{</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_1utils_1_1projection_1a99762ff1a5fff68c72feccd85e3976b5" kindref="member">RadialValue</ref><sp/>=<sp/>std::expected<double,<sp/>std::string>;</highlight></codeline>
|
||
|
|
<codeline lineno="11"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="13"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><sp/><</highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>Function></highlight></codeline>
|
||
|
|
<codeline lineno="14" refid="conceptserif_1_1utils_1_1projection_1_1_radial_function" refkind="compound"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">concept<sp/></highlight><highlight class="normal"><ref refid="conceptserif_1_1utils_1_1projection_1_1_radial_function" kindref="compound">RadialFunction</ref><sp/>=<sp/>std::invocable<const<sp/>Function&,<sp/>double><sp/>&&</highlight></codeline>
|
||
|
|
<codeline lineno="15"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>(std::same_as<std::invoke_result_t<const<sp/>Function&,<sp/>double>,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal">><sp/>||</highlight></codeline>
|
||
|
|
<codeline lineno="16"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>std::same_as<std::invoke_result_t<const<sp/>Function&,<sp/>double>,<sp/><ref refid="namespaceserif_1_1utils_1_1projection_1a99762ff1a5fff68c72feccd85e3976b5" kindref="member">RadialValue</ref>>);</highlight></codeline>
|
||
|
|
<codeline lineno="17"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="18" refid="namespaceserif_1_1utils_1_1projection_1_1detail" refkind="compound"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">namespace<sp/></highlight><highlight class="normal"><ref refid="namespaceserif_1_1utils_1_1projection_1_1detail" kindref="compound">detail</ref><sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="20"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><sp/><RadialFunction<sp/>Function></highlight></codeline>
|
||
|
|
<codeline lineno="21"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>[[nodiscard]]<sp/>std::function<<ref refid="namespaceserif_1_1utils_1_1projection_1a99762ff1a5fff68c72feccd85e3976b5" kindref="member">RadialValue</ref>(</highlight><highlight class="keywordtype">double</highlight><highlight class="normal">)><sp/><ref refid="namespaceserif_1_1utils_1_1projection_1_1detail_1a34c090e126e0b0cee7f0ee69c99959c0" kindref="member">checked_profile</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>Function&<sp/>function)<sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="22"><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/>[&function](</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>radius)<sp/>-><sp/><ref refid="namespaceserif_1_1utils_1_1projection_1a99762ff1a5fff68c72feccd85e3976b5" kindref="member">RadialValue</ref><sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="23"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>std::invoke(function,<sp/>radius);</highlight></codeline>
|
||
|
|
<codeline lineno="24"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>};</highlight></codeline>
|
||
|
|
<codeline lineno="25"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
||
|
|
<codeline lineno="26"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
||
|
|
<codeline lineno="27"><highlight class="normal">}</highlight></codeline>
|
||
|
|
</programlisting>
|
||
|
|
<location file="src/include/serif/utils/projection/radial.hpp"/>
|
||
|
|
</compounddef>
|
||
|
|
</doxygen>
|