324 lines
22 KiB
XML
324 lines
22 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="parallel_8hpp" kind="file" language="C++">
|
||
|
|
<compoundname>parallel.hpp</compoundname>
|
||
|
|
<includes local="no">exception</includes>
|
||
|
|
<includes local="no">vector</includes>
|
||
|
|
<includedby refid="backend_2mfem_2model_2deformation_8hpp" local="yes">src/include/serif/backend/mfem/model/deformation.hpp</includedby>
|
||
|
|
<includedby refid="element__preparation_8hpp" local="yes">src/include/serif/backend/mfem/operators/element_preparation.hpp</includedby>
|
||
|
|
<includedby refid="geometry__derivatives_8hpp" local="yes">src/include/serif/backend/mfem/operators/geometry_derivatives.hpp</includedby>
|
||
|
|
<includedby refid="volume__application_8hpp" local="yes">src/include/serif/backend/mfem/operators/volume_application.hpp</includedby>
|
||
|
|
<includedby refid="volume__field__block_8hpp" local="yes">src/include/serif/backend/mfem/operators/volume_field_block.hpp</includedby>
|
||
|
|
<includedby refid="volume__stages_8hpp" local="yes">src/include/serif/backend/mfem/operators/volume_stages.hpp</includedby>
|
||
|
|
<includedby refid="mass__diagonal_8cpp" local="yes">src/lib/serif/backend/mfem/discretization/mass_diagonal.cpp</includedby>
|
||
|
|
<includedby refid="geometry__step_8cpp" local="yes">src/lib/serif/backend/mfem/geometry/deformation/geometry_step.cpp</includedby>
|
||
|
|
<includedby refid="surface__potential_8cpp" local="yes">src/lib/serif/backend/mfem/model/surface_potential.cpp</includedby>
|
||
|
|
<includedby refid="parallel_8cpp" local="yes">src/lib/serif/backend/mfem/shared/parallel.cpp</includedby>
|
||
|
|
<incdepgraph>
|
||
|
|
<node id="1">
|
||
|
|
<label>src/include/serif/backend/mfem/shared/parallel.hpp</label>
|
||
|
|
<link refid="parallel_8hpp"/>
|
||
|
|
<childnode refid="2" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="3" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="2">
|
||
|
|
<label>exception</label>
|
||
|
|
</node>
|
||
|
|
<node id="3">
|
||
|
|
<label>vector</label>
|
||
|
|
</node>
|
||
|
|
</incdepgraph>
|
||
|
|
<invincdepgraph>
|
||
|
|
<node id="18">
|
||
|
|
<label>src/compile_time_checks/serif/model/scalar_row.cpp</label>
|
||
|
|
<link refid="compile__time__checks_2serif_2model_2scalar__row_8cpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="8">
|
||
|
|
<label>src/compile_time_checks/serif/model/state.cpp</label>
|
||
|
|
<link refid="state_8cpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="23">
|
||
|
|
<label>src/compile_time_checks/serif/operators/computation_owners.cpp</label>
|
||
|
|
<link refid="computation__owners_8cpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="4">
|
||
|
|
<label>src/include/serif/backend/mfem/model/computations/interior.hpp</label>
|
||
|
|
<link refid="interior_8hpp"/>
|
||
|
|
<childnode refid="5" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="15" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="16" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="6" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="5">
|
||
|
|
<label>src/include/serif/backend/mfem/model/computations/potential_infinity.hpp</label>
|
||
|
|
<link refid="potential__infinity_8hpp"/>
|
||
|
|
<childnode refid="6" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="15">
|
||
|
|
<label>src/include/serif/backend/mfem/model/computations/pressure_boundary.hpp</label>
|
||
|
|
<link refid="model_2computations_2pressure__boundary_8hpp"/>
|
||
|
|
<childnode refid="6" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="17">
|
||
|
|
<label>src/include/serif/backend/mfem/model/computations/scalar_row.hpp</label>
|
||
|
|
<link refid="computations_2scalar__row_8hpp"/>
|
||
|
|
<childnode refid="18" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="4" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="3">
|
||
|
|
<label>src/include/serif/backend/mfem/model/computations/shape_derivatives.hpp</label>
|
||
|
|
<link refid="shape__derivatives_8hpp"/>
|
||
|
|
<childnode refid="4" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="17" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="16">
|
||
|
|
<label>src/include/serif/backend/mfem/model/computations/surface_potential.hpp</label>
|
||
|
|
<link refid="backend_2mfem_2model_2computations_2surface__potential_8hpp"/>
|
||
|
|
<childnode refid="6" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="2">
|
||
|
|
<label>src/include/serif/backend/mfem/model/deformation.hpp</label>
|
||
|
|
<link refid="backend_2mfem_2model_2deformation_8hpp"/>
|
||
|
|
<childnode refid="3" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="19" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="7">
|
||
|
|
<label>src/include/serif/backend/mfem/model/equilibrium.hpp</label>
|
||
|
|
<link refid="backend_2mfem_2model_2equilibrium_8hpp"/>
|
||
|
|
<childnode refid="8" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="9" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="6">
|
||
|
|
<label>src/include/serif/backend/mfem/model/graph.hpp</label>
|
||
|
|
<link refid="backend_2mfem_2model_2graph_8hpp"/>
|
||
|
|
<childnode refid="7" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="14" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="26">
|
||
|
|
<label>src/include/serif/backend/mfem/model/volume.hpp</label>
|
||
|
|
<link refid="volume_8hpp"/>
|
||
|
|
<childnode refid="4" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="27">
|
||
|
|
<label>src/include/serif/backend/mfem/model/volume_actions.hpp</label>
|
||
|
|
<link refid="volume__actions_8hpp"/>
|
||
|
|
<childnode refid="4" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="17" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="20">
|
||
|
|
<label>src/include/serif/backend/mfem/operators/element_preparation.hpp</label>
|
||
|
|
<link refid="element__preparation_8hpp"/>
|
||
|
|
<childnode refid="21" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="24">
|
||
|
|
<label>src/include/serif/backend/mfem/operators/geometry_derivatives.hpp</label>
|
||
|
|
<link refid="geometry__derivatives_8hpp"/>
|
||
|
|
<childnode refid="21" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="28">
|
||
|
|
<label>src/include/serif/backend/mfem/operators/jacobian_operator.hpp</label>
|
||
|
|
<link refid="jacobian__operator_8hpp"/>
|
||
|
|
<childnode refid="23" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="25">
|
||
|
|
<label>src/include/serif/backend/mfem/operators/volume_application.hpp</label>
|
||
|
|
<link refid="volume__application_8hpp"/>
|
||
|
|
<childnode refid="26" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="27" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="28" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="29" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="22">
|
||
|
|
<label>src/include/serif/backend/mfem/operators/volume_computations.hpp</label>
|
||
|
|
<link refid="volume__computations_8hpp"/>
|
||
|
|
<childnode refid="23" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="4" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="17" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="29">
|
||
|
|
<label>src/include/serif/backend/mfem/operators/volume_field_block.hpp</label>
|
||
|
|
<link refid="volume__field__block_8hpp"/>
|
||
|
|
<childnode refid="4" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="30" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="21">
|
||
|
|
<label>src/include/serif/backend/mfem/operators/volume_stages.hpp</label>
|
||
|
|
<link refid="volume__stages_8hpp"/>
|
||
|
|
<childnode refid="22" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="1">
|
||
|
|
<label>src/include/serif/backend/mfem/shared/parallel.hpp</label>
|
||
|
|
<link refid="parallel_8hpp"/>
|
||
|
|
<childnode refid="2" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="20" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="24" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="25" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="29" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="21" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="31" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="32" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="33" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="34" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="14">
|
||
|
|
<label>src/include/serif/backend/mfem/solver/admissibility/geometry.hpp</label>
|
||
|
|
<link refid="geometry_8hpp"/>
|
||
|
|
<childnode refid="9" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="10">
|
||
|
|
<label>src/include/serif/backend/mfem/solver/equilibrium.hpp</label>
|
||
|
|
<link refid="backend_2mfem_2solver_2equilibrium_8hpp"/>
|
||
|
|
<childnode refid="11" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="9">
|
||
|
|
<label>src/include/serif/backend/mfem/solver/nonlinear/stellar_problem.hpp</label>
|
||
|
|
<link refid="stellar__problem_8hpp"/>
|
||
|
|
<childnode refid="10" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="12">
|
||
|
|
<label>src/include/serif/solver/continuation/equilibrium.hpp</label>
|
||
|
|
<link refid="solver_2continuation_2equilibrium_8hpp"/>
|
||
|
|
<childnode refid="13" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="11">
|
||
|
|
<label>src/include/serif/solver/equilibrium.hpp</label>
|
||
|
|
<link refid="solver_2equilibrium_8hpp"/>
|
||
|
|
<childnode refid="12" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="13" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="13">
|
||
|
|
<label>src/include/serif/solver/solver.hpp</label>
|
||
|
|
<link refid="solver_2solver_8hpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="31">
|
||
|
|
<label>src/lib/serif/backend/mfem/discretization/mass_diagonal.cpp</label>
|
||
|
|
<link refid="mass__diagonal_8cpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="32">
|
||
|
|
<label>src/lib/serif/backend/mfem/geometry/deformation/geometry_step.cpp</label>
|
||
|
|
<link refid="geometry__step_8cpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="19">
|
||
|
|
<label>src/lib/serif/backend/mfem/model/deformation.cpp</label>
|
||
|
|
<link refid="lib_2serif_2backend_2mfem_2model_2deformation_8cpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="33">
|
||
|
|
<label>src/lib/serif/backend/mfem/model/surface_potential.cpp</label>
|
||
|
|
<link refid="surface__potential_8cpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="30">
|
||
|
|
<label>src/lib/serif/backend/mfem/model/system_selection.cpp</label>
|
||
|
|
<link refid="system__selection_8cpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="34">
|
||
|
|
<label>src/lib/serif/backend/mfem/shared/parallel.cpp</label>
|
||
|
|
<link refid="parallel_8cpp"/>
|
||
|
|
</node>
|
||
|
|
</invincdepgraph>
|
||
|
|
<innernamespace refid="namespacemfem">mfem</innernamespace>
|
||
|
|
<innernamespace refid="namespaceserif">serif</innernamespace>
|
||
|
|
<innernamespace refid="namespaceserif_1_1utils">serif::utils</innernamespace>
|
||
|
|
<innernamespace refid="namespaceserif_1_1utils_1_1parallel">serif::utils::parallel</innernamespace>
|
||
|
|
<innernamespace refid="namespaceserif_1_1utils_1_1parallel_1_1detail">serif::utils::parallel::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/><exception></highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="4"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><vector></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"><ref refid="namespacemfem" kindref="compound">mfem</ref><sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="7"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal">IsoparametricTransformation;</highlight></codeline>
|
||
|
|
<codeline lineno="8"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal">Mesh;</highlight></codeline>
|
||
|
|
<codeline lineno="9"><highlight class="normal">}</highlight></codeline>
|
||
|
|
<codeline lineno="10"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="11" refid="namespaceserif_1_1utils_1_1parallel" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">namespace<sp/></highlight><highlight class="normal"><ref refid="namespaceserif_1_1utils_1_1parallel" kindref="compound">serif::utils::parallel</ref><sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="16"><highlight class="normal"><sp/><sp/><sp/><sp/>[[nodiscard]]<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="namespaceserif_1_1utils_1_1parallel_1a845c655da35a46d0be87880f0e4fa2d9" kindref="member">worker_count</ref>()<sp/></highlight><highlight class="keyword">noexcept</highlight><highlight class="normal">;</highlight></codeline>
|
||
|
|
<codeline lineno="17"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="18" refid="namespaceserif_1_1utils_1_1parallel_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_1parallel_1_1detail" kindref="compound">detail</ref><sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="19"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">using<sp/></highlight><highlight class="normal"><ref refid="namespaceserif_1_1utils_1_1parallel_1_1detail_1ae223047094edcf77dc097e5af446d0a2" kindref="member">Body</ref><sp/>=<sp/>void<sp/>(*)(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">*<sp/>context,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>index,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>worker);</highlight></codeline>
|
||
|
|
<codeline lineno="20"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="22"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="namespaceserif_1_1utils_1_1parallel_1_1detail_1a596686939c1c39cc9554552322779933" kindref="member">run</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>count,<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal">*<sp/>context,<sp/><ref refid="namespaceserif_1_1utils_1_1parallel_1_1detail_1ae223047094edcf77dc097e5af446d0a2" kindref="member">Body</ref><sp/>body);</highlight></codeline>
|
||
|
|
<codeline lineno="23"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
||
|
|
<codeline lineno="24"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="31"><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/>BodyT></highlight></codeline>
|
||
|
|
<codeline lineno="32"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="namespaceserif_1_1utils_1_1parallel_1a453320d288c9e42300bdc59ee8dccd2d" kindref="member">for_each_index</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>count,<sp/>BodyT&&<sp/>body)<sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="33"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>std::vector<std::exception_ptr><sp/><ref refid="namespaceserif_1_1utils_1_1errors" kindref="compound">errors</ref>(</highlight><highlight class="keyword">static_cast<</highlight><highlight class="normal">std::size_t</highlight><highlight class="keyword">></highlight><highlight class="normal">(count<sp/>><sp/>0<sp/>?<sp/>count<sp/>:<sp/>0));</highlight></codeline>
|
||
|
|
<codeline lineno="34"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">auto</highlight><highlight class="normal"><sp/>guarded<sp/>=<sp/>[&](</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>index,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>worker)<sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="35"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">try</highlight><highlight class="normal"><sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="36"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>body(index,<sp/>worker);</highlight></codeline>
|
||
|
|
<codeline lineno="37"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="keywordflow">catch</highlight><highlight class="normal"><sp/>(...)<sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="38"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="namespaceserif_1_1utils_1_1errors" kindref="compound">errors</ref>[</highlight><highlight class="keyword">static_cast<</highlight><highlight class="normal">std::size_t</highlight><highlight class="keyword">></highlight><highlight class="normal">(index)]<sp/>=<sp/>std::current_exception();</highlight></codeline>
|
||
|
|
<codeline lineno="39"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
||
|
|
<codeline lineno="40"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>};</highlight></codeline>
|
||
|
|
<codeline lineno="41"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="namespaceserif_1_1utils_1_1parallel_1_1detail_1a596686939c1c39cc9554552322779933" kindref="member">detail::run</ref>(count,<sp/>&guarded,<sp/>[](</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">*<sp/>context,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>index,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>worker)<sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="42"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>(*</highlight><highlight class="keyword">static_cast<</highlight><highlight class="normal">decltype(guarded)*</highlight><highlight class="keyword">></highlight><highlight class="normal">(context))(index,<sp/>worker);</highlight></codeline>
|
||
|
|
<codeline lineno="43"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>});</highlight></codeline>
|
||
|
|
<codeline lineno="44"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">auto</highlight><highlight class="normal">&<sp/>error<sp/>:<sp/>errors)<sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="45"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(error)<sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="46"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>std::rethrow_exception(error);</highlight></codeline>
|
||
|
|
<codeline lineno="47"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
||
|
|
<codeline lineno="48"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
||
|
|
<codeline lineno="49"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
||
|
|
<codeline lineno="50"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="57"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="namespaceserif_1_1utils_1_1parallel_1a8e0e78d02ab6c49ae588644e579bed79" kindref="member">element_transformation</ref>(const<sp/>::mfem::Mesh&<sp/>mesh,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>element,<sp/>::mfem::IsoparametricTransformation&<sp/>transformation);</highlight></codeline>
|
||
|
|
<codeline lineno="58"><highlight class="normal">}</highlight></codeline>
|
||
|
|
</programlisting>
|
||
|
|
<location file="src/include/serif/backend/mfem/shared/parallel.hpp"/>
|
||
|
|
</compounddef>
|
||
|
|
</doxygen>
|