338 lines
21 KiB
XML
338 lines
21 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="coefficient__tracking_8hpp" kind="file" language="C++">
|
||
|
|
<compoundname>coefficient_tracking.hpp</compoundname>
|
||
|
|
<includes local="no">algorithm</includes>
|
||
|
|
<includes local="yes">mfem/linalg/vector.hpp</includes>
|
||
|
|
<includedby refid="boundary__inputs_8hpp" local="yes">src/include/serif/backend/mfem/geometry/surface/boundary_inputs.hpp</includedby>
|
||
|
|
<includedby refid="volume__inputs_8hpp" local="yes">src/include/serif/backend/mfem/operators/volume_inputs.hpp</includedby>
|
||
|
|
<incdepgraph>
|
||
|
|
<node id="1">
|
||
|
|
<label>src/include/serif/backend/mfem/discretization/coefficient_tracking.hpp</label>
|
||
|
|
<link refid="coefficient__tracking_8hpp"/>
|
||
|
|
<childnode refid="2" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="3" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="2">
|
||
|
|
<label>algorithm</label>
|
||
|
|
</node>
|
||
|
|
<node id="3">
|
||
|
|
<label>mfem/linalg/vector.hpp</label>
|
||
|
|
</node>
|
||
|
|
</incdepgraph>
|
||
|
|
<invincdepgraph>
|
||
|
|
<node id="4">
|
||
|
|
<label>src/compile_time_checks/serif/geometry/surface_boundary.cpp</label>
|
||
|
|
<link refid="surface__boundary_8cpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="31">
|
||
|
|
<label>src/compile_time_checks/serif/model/scalar_row.cpp</label>
|
||
|
|
<link refid="compile__time__checks_2serif_2model_2scalar__row_8cpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="9">
|
||
|
|
<label>src/compile_time_checks/serif/model/state.cpp</label>
|
||
|
|
<link refid="state_8cpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="33">
|
||
|
|
<label>src/compile_time_checks/serif/operators/computation_owners.cpp</label>
|
||
|
|
<link refid="computation__owners_8cpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="1">
|
||
|
|
<label>src/include/serif/backend/mfem/discretization/coefficient_tracking.hpp</label>
|
||
|
|
<link refid="coefficient__tracking_8hpp"/>
|
||
|
|
<childnode refid="2" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="21" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="3">
|
||
|
|
<label>src/include/serif/backend/mfem/geometry/surface/boundary_computations.hpp</label>
|
||
|
|
<link refid="boundary__computations_8hpp"/>
|
||
|
|
<childnode refid="4" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="5" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="17" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="2">
|
||
|
|
<label>src/include/serif/backend/mfem/geometry/surface/boundary_inputs.hpp</label>
|
||
|
|
<link refid="boundary__inputs_8hpp"/>
|
||
|
|
<childnode refid="3" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="19" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="20" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="5">
|
||
|
|
<label>src/include/serif/backend/mfem/geometry/surface/pressure_boundary.hpp</label>
|
||
|
|
<link refid="geometry_2surface_2pressure__boundary_8hpp"/>
|
||
|
|
<childnode refid="6" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="6">
|
||
|
|
<label>src/include/serif/backend/mfem/model/binding.hpp</label>
|
||
|
|
<link refid="backend_2mfem_2model_2binding_8hpp"/>
|
||
|
|
<childnode refid="7" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="15" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="26">
|
||
|
|
<label>src/include/serif/backend/mfem/model/computations/interior.hpp</label>
|
||
|
|
<link refid="interior_8hpp"/>
|
||
|
|
<childnode refid="27" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="19" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="28" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="17" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="27">
|
||
|
|
<label>src/include/serif/backend/mfem/model/computations/potential_infinity.hpp</label>
|
||
|
|
<link refid="potential__infinity_8hpp"/>
|
||
|
|
<childnode refid="17" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="19">
|
||
|
|
<label>src/include/serif/backend/mfem/model/computations/pressure_boundary.hpp</label>
|
||
|
|
<link refid="model_2computations_2pressure__boundary_8hpp"/>
|
||
|
|
<childnode refid="17" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="30">
|
||
|
|
<label>src/include/serif/backend/mfem/model/computations/scalar_row.hpp</label>
|
||
|
|
<link refid="computations_2scalar__row_8hpp"/>
|
||
|
|
<childnode refid="31" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="26" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="28">
|
||
|
|
<label>src/include/serif/backend/mfem/model/computations/surface_potential.hpp</label>
|
||
|
|
<link refid="backend_2mfem_2model_2computations_2surface__potential_8hpp"/>
|
||
|
|
<childnode refid="17" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="8">
|
||
|
|
<label>src/include/serif/backend/mfem/model/equilibrium.hpp</label>
|
||
|
|
<link refid="backend_2mfem_2model_2equilibrium_8hpp"/>
|
||
|
|
<childnode refid="9" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="10" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="7">
|
||
|
|
<label>src/include/serif/backend/mfem/model/equilibrium_evaluator.hpp</label>
|
||
|
|
<link refid="equilibrium__evaluator_8hpp"/>
|
||
|
|
<childnode refid="8" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="17">
|
||
|
|
<label>src/include/serif/backend/mfem/model/graph.hpp</label>
|
||
|
|
<link refid="backend_2mfem_2model_2graph_8hpp"/>
|
||
|
|
<childnode refid="8" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="18" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="22">
|
||
|
|
<label>src/include/serif/backend/mfem/model/inputs.hpp</label>
|
||
|
|
<link refid="model_2inputs_8hpp"/>
|
||
|
|
<childnode refid="6" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="20">
|
||
|
|
<label>src/include/serif/backend/mfem/model/normalization/computations.hpp</label>
|
||
|
|
<link refid="backend_2mfem_2model_2normalization_2computations_8hpp"/>
|
||
|
|
<childnode refid="8" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="25">
|
||
|
|
<label>src/include/serif/backend/mfem/model/volume.hpp</label>
|
||
|
|
<link refid="volume_8hpp"/>
|
||
|
|
<childnode refid="26" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="29">
|
||
|
|
<label>src/include/serif/backend/mfem/model/volume_actions.hpp</label>
|
||
|
|
<link refid="volume__actions_8hpp"/>
|
||
|
|
<childnode refid="26" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="30" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="23">
|
||
|
|
<label>src/include/serif/backend/mfem/model/volume_displacement.hpp</label>
|
||
|
|
<link refid="volume__displacement_8hpp"/>
|
||
|
|
<childnode refid="17" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="32">
|
||
|
|
<label>src/include/serif/backend/mfem/operators/jacobian_operator.hpp</label>
|
||
|
|
<link refid="jacobian__operator_8hpp"/>
|
||
|
|
<childnode refid="33" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="24">
|
||
|
|
<label>src/include/serif/backend/mfem/operators/volume_application.hpp</label>
|
||
|
|
<link refid="volume__application_8hpp"/>
|
||
|
|
<childnode refid="25" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="29" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="32" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="34" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="36">
|
||
|
|
<label>src/include/serif/backend/mfem/operators/volume_computations.hpp</label>
|
||
|
|
<link refid="volume__computations_8hpp"/>
|
||
|
|
<childnode refid="33" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="26" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="30" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="34">
|
||
|
|
<label>src/include/serif/backend/mfem/operators/volume_field_block.hpp</label>
|
||
|
|
<link refid="volume__field__block_8hpp"/>
|
||
|
|
<childnode refid="26" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="35" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="21">
|
||
|
|
<label>src/include/serif/backend/mfem/operators/volume_inputs.hpp</label>
|
||
|
|
<link refid="volume__inputs_8hpp"/>
|
||
|
|
<childnode refid="22" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="23" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="24" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="36" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="18">
|
||
|
|
<label>src/include/serif/backend/mfem/solver/admissibility/geometry.hpp</label>
|
||
|
|
<link refid="geometry_8hpp"/>
|
||
|
|
<childnode refid="10" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="11">
|
||
|
|
<label>src/include/serif/backend/mfem/solver/equilibrium.hpp</label>
|
||
|
|
<link refid="backend_2mfem_2solver_2equilibrium_8hpp"/>
|
||
|
|
<childnode refid="12" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="10">
|
||
|
|
<label>src/include/serif/backend/mfem/solver/nonlinear/stellar_problem.hpp</label>
|
||
|
|
<link refid="stellar__problem_8hpp"/>
|
||
|
|
<childnode refid="11" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="15">
|
||
|
|
<label>src/include/serif/backend/mfem/solver/seed/state.hpp</label>
|
||
|
|
<link refid="backend_2mfem_2solver_2seed_2state_8hpp"/>
|
||
|
|
<childnode refid="16" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="13">
|
||
|
|
<label>src/include/serif/solver/continuation/equilibrium.hpp</label>
|
||
|
|
<link refid="solver_2continuation_2equilibrium_8hpp"/>
|
||
|
|
<childnode refid="14" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="12">
|
||
|
|
<label>src/include/serif/solver/equilibrium.hpp</label>
|
||
|
|
<link refid="solver_2equilibrium_8hpp"/>
|
||
|
|
<childnode refid="13" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="14" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="16">
|
||
|
|
<label>src/include/serif/solver/seed/state.hpp</label>
|
||
|
|
<link refid="solver_2seed_2state_8hpp"/>
|
||
|
|
<childnode refid="14" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="14">
|
||
|
|
<label>src/include/serif/solver/solver.hpp</label>
|
||
|
|
<link refid="solver_2solver_8hpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="35">
|
||
|
|
<label>src/lib/serif/backend/mfem/model/system_selection.cpp</label>
|
||
|
|
<link refid="system__selection_8cpp"/>
|
||
|
|
</node>
|
||
|
|
</invincdepgraph>
|
||
|
|
<innerclass refid="structserif_1_1discretization_1_1backend_1_1mfem_1_1_coefficient_tracking" prot="public">serif::discretization::backend::mfem::CoefficientTracking</innerclass>
|
||
|
|
<innernamespace refid="namespaceserif">serif</innernamespace>
|
||
|
|
<innernamespace refid="namespaceserif_1_1discretization">serif::discretization</innernamespace>
|
||
|
|
<innernamespace refid="namespaceserif_1_1discretization_1_1backend">serif::discretization::backend</innernamespace>
|
||
|
|
<innernamespace refid="namespaceserif_1_1discretization_1_1backend_1_1mfem">serif::discretization::backend::mfem</innernamespace>
|
||
|
|
<briefdescription>
|
||
|
|
<para>Snapshot and comparison policy for MFEM coefficient views. </para>
|
||
|
|
</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="7"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="8"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><algorithm></highlight><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/>"mfem/linalg/vector.hpp"</highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="11"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="12"><highlight class="normal"></highlight><highlight class="keyword">namespace<sp/></highlight><highlight class="normal"><ref refid="namespaceserif_1_1discretization_1_1backend_1_1mfem" kindref="compound">serif::discretization::backend::mfem</ref><sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="40" refid="structserif_1_1discretization_1_1backend_1_1mfem_1_1_coefficient_tracking" refkind="compound"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structserif_1_1discretization_1_1backend_1_1mfem_1_1_coefficient_tracking" kindref="compound">CoefficientTracking</ref><sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="52"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><sp/><</highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>ViewT></highlight></codeline>
|
||
|
|
<codeline lineno="53"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>[[nodiscard]]<sp/>static<sp/>::mfem::Vector<sp/><ref refid="structserif_1_1discretization_1_1backend_1_1mfem_1_1_coefficient_tracking_1af2a9fcf1f2d090cf58155e91effb66df" kindref="member">capture</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>ViewT&<sp/>view);</highlight></codeline>
|
||
|
|
<codeline lineno="54"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="70"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><sp/><</highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>ViewT></highlight></codeline>
|
||
|
|
<codeline lineno="71"><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_1discretization_1_1backend_1_1mfem_1_1_coefficient_tracking_1a7f87b273ee7a1ae07606009ade15e1f5" kindref="member">matches</ref>(</highlight></codeline>
|
||
|
|
<codeline lineno="72"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>const<sp/>::mfem::Vector&<sp/>captured,</highlight></codeline>
|
||
|
|
<codeline lineno="73"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>ViewT&<sp/>view</highlight></codeline>
|
||
|
|
<codeline lineno="74"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
|
||
|
|
<codeline lineno="75"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="90"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><sp/><</highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>ViewT></highlight></codeline>
|
||
|
|
<codeline lineno="91"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>[[nodiscard]]<sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal">*<sp/><ref refid="structserif_1_1discretization_1_1backend_1_1mfem_1_1_coefficient_tracking_1a091ccc22030906408e090863ecc79185" kindref="member">identity</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>ViewT&<sp/>view);</highlight></codeline>
|
||
|
|
<codeline lineno="92"><highlight class="normal"><sp/><sp/><sp/><sp/>};</highlight></codeline>
|
||
|
|
<codeline lineno="93"><highlight class="normal">}<sp/></highlight><highlight class="comment">//<sp/>namespace<sp/>serif::discretization::backend::mfem</highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="94"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="95"><highlight class="normal"></highlight><highlight class="keyword">template</highlight><highlight class="normal"><sp/><</highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>ViewT></highlight></codeline>
|
||
|
|
<codeline lineno="96"><highlight class="normal">::mfem::Vector<sp/><ref refid="structserif_1_1discretization_1_1backend_1_1mfem_1_1_coefficient_tracking_1af2a9fcf1f2d090cf58155e91effb66df" kindref="member">serif::discretization::backend::mfem::CoefficientTracking::capture</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>ViewT&<sp/>view)<sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="97"><highlight class="normal"><sp/><sp/><sp/><sp/>return<sp/>::mfem::Vector(view.values);</highlight></codeline>
|
||
|
|
<codeline lineno="98"><highlight class="normal">}</highlight></codeline>
|
||
|
|
<codeline lineno="99"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="100"><highlight class="normal"></highlight><highlight class="keyword">template</highlight><highlight class="normal"><sp/><</highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>ViewT></highlight></codeline>
|
||
|
|
<codeline lineno="101"><highlight class="normal"></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="structserif_1_1discretization_1_1backend_1_1mfem_1_1_coefficient_tracking_1a7f87b273ee7a1ae07606009ade15e1f5" kindref="member">serif::discretization::backend::mfem::CoefficientTracking::matches</ref>(</highlight></codeline>
|
||
|
|
<codeline lineno="102"><highlight class="normal"><sp/><sp/><sp/><sp/>const<sp/>::mfem::Vector&<sp/>captured,</highlight></codeline>
|
||
|
|
<codeline lineno="103"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>ViewT&<sp/>view</highlight></codeline>
|
||
|
|
<codeline lineno="104"><highlight class="normal">)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline>
|
||
|
|
<codeline lineno="105"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>captured.Size()<sp/>==<sp/>view.values.Size()<sp/>&&</highlight></codeline>
|
||
|
|
<codeline lineno="106"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>(captured.Size()<sp/>==<sp/>0<sp/>||</highlight></codeline>
|
||
|
|
<codeline lineno="107"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>std::equal(</highlight></codeline>
|
||
|
|
<codeline lineno="108"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>captured.GetData(),</highlight></codeline>
|
||
|
|
<codeline lineno="109"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>captured.GetData()<sp/>+<sp/>captured.Size(),</highlight></codeline>
|
||
|
|
<codeline lineno="110"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>view.values.GetData()</highlight></codeline>
|
||
|
|
<codeline lineno="111"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>));</highlight></codeline>
|
||
|
|
<codeline lineno="112"><highlight class="normal">}</highlight></codeline>
|
||
|
|
<codeline lineno="113"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="114"><highlight class="normal"></highlight><highlight class="keyword">template</highlight><highlight class="normal"><sp/><</highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>ViewT></highlight></codeline>
|
||
|
|
<codeline lineno="115"><highlight class="normal">[[nodiscard]]<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal">*<sp/><ref refid="structserif_1_1discretization_1_1backend_1_1mfem_1_1_coefficient_tracking_1a091ccc22030906408e090863ecc79185" kindref="member">serif::discretization::backend::mfem::CoefficientTracking::identity</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>ViewT&<sp/>view)<sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="116"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>&view.binding;</highlight></codeline>
|
||
|
|
<codeline lineno="117"><highlight class="normal">}</highlight></codeline>
|
||
|
|
</programlisting>
|
||
|
|
<location file="src/include/serif/backend/mfem/discretization/coefficient_tracking.hpp"/>
|
||
|
|
</compounddef>
|
||
|
|
</doxygen>
|