475 lines
25 KiB
XML
475 lines
25 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="recipes_2gravity_8hpp" kind="file" language="C++">
|
||
|
|
<compoundname>gravity.hpp</compoundname>
|
||
|
|
<includes local="no">utility</includes>
|
||
|
|
<includes refid="fields_8hpp" local="yes">serif/discretization/blocks/fields.hpp</includes>
|
||
|
|
<includes refid="block_8hpp" local="yes">serif/solver/preconditioner/recipes/block.hpp</includes>
|
||
|
|
<includes refid="strategies_2inverse_2chebyshev_8hpp" local="yes">serif/solver/preconditioner/strategies/inverse/chebyshev.hpp</includes>
|
||
|
|
<includes refid="fixed__amg_8hpp" local="yes">serif/solver/preconditioner/strategies/inverse/fixed_amg.hpp</includes>
|
||
|
|
<includes refid="strategies_2gravity_2factorization_8hpp" local="yes">serif/solver/preconditioner/strategies/gravity/factorization.hpp</includes>
|
||
|
|
<includedby refid="computations_2gravity_8hpp" local="yes">src/include/serif/solver/preconditioner/computations/gravity.hpp</includedby>
|
||
|
|
<incdepgraph>
|
||
|
|
<node id="5">
|
||
|
|
<label>serif/dimensions/dimensions.hpp</label>
|
||
|
|
<link refid="dimensions_8hpp"/>
|
||
|
|
<childnode refid="4" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="6" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="6">
|
||
|
|
<label>serif/dimensions/quantities.hpp</label>
|
||
|
|
<link refid="quantities_8hpp"/>
|
||
|
|
<childnode refid="7" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="8" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="9" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="10" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="11" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="12" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="13">
|
||
|
|
<label>serif/discretization/blocks/base.hpp</label>
|
||
|
|
<link refid="base_8hpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="3">
|
||
|
|
<label>serif/discretization/blocks/fields.hpp</label>
|
||
|
|
<link refid="fields_8hpp"/>
|
||
|
|
<childnode refid="4" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="5" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="13" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="14" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="19" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="26" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="27" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="28" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="33">
|
||
|
|
<label>serif/discretization/blocks/system_layout.hpp</label>
|
||
|
|
<link refid="system__layout_8hpp"/>
|
||
|
|
<childnode refid="22" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="20" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="21" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="7" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="13" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="34" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="19">
|
||
|
|
<label>serif/discretization/domain/concepts.hpp</label>
|
||
|
|
<link refid="discretization_2domain_2concepts_8hpp"/>
|
||
|
|
<childnode refid="20" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="4" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="21" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="22" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="15" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="23" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="24" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="11" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="25" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="26">
|
||
|
|
<label>serif/discretization/domain/physical_domains.hpp</label>
|
||
|
|
<link refid="physical__domains_8hpp"/>
|
||
|
|
<childnode refid="24" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="19" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="24">
|
||
|
|
<label>serif/discretization/domain/types.hpp</label>
|
||
|
|
<link refid="types_8hpp"/>
|
||
|
|
<childnode refid="4" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="14">
|
||
|
|
<label>serif/discretization/functional_space/space.hpp</label>
|
||
|
|
<link refid="space_8hpp"/>
|
||
|
|
<childnode refid="7" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="15" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="16" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="16">
|
||
|
|
<label>serif/meta/enums.hpp</label>
|
||
|
|
<link refid="enums_8hpp"/>
|
||
|
|
<childnode refid="17" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="7" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="18" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="28">
|
||
|
|
<label>serif/meta/names.hpp</label>
|
||
|
|
<link refid="names_8hpp"/>
|
||
|
|
<childnode refid="4" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="29" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="45">
|
||
|
|
<label>serif/operators/backend/mfem/linearized_block.hpp</label>
|
||
|
|
<link refid="linearized__block_8hpp"/>
|
||
|
|
<childnode refid="41" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="43" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="46" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="47" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="48" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="32">
|
||
|
|
<label>serif/operators/linearized_system_view.hpp</label>
|
||
|
|
<link refid="linearized__system__view_8hpp"/>
|
||
|
|
<childnode refid="7" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="33" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="39" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="50">
|
||
|
|
<label>serif/solver/preconditioner/contract.hpp</label>
|
||
|
|
<link refid="contract_8hpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="31">
|
||
|
|
<label>serif/solver/preconditioner/keys.hpp</label>
|
||
|
|
<link refid="solver_2preconditioner_2keys_8hpp"/>
|
||
|
|
<childnode refid="32" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="30">
|
||
|
|
<label>serif/solver/preconditioner/recipes/block.hpp</label>
|
||
|
|
<link refid="block_8hpp"/>
|
||
|
|
<childnode refid="2" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="31" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="45" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="1">
|
||
|
|
<label>src/include/serif/solver/preconditioner/recipes/gravity.hpp</label>
|
||
|
|
<link refid="recipes_2gravity_8hpp"/>
|
||
|
|
<childnode refid="2" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="3" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="30" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="49" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="51" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="52" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="52">
|
||
|
|
<label>serif/solver/preconditioner/strategies/gravity/factorization.hpp</label>
|
||
|
|
<link refid="strategies_2gravity_2factorization_8hpp"/>
|
||
|
|
<childnode refid="9" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="49">
|
||
|
|
<label>serif/solver/preconditioner/strategies/inverse/chebyshev.hpp</label>
|
||
|
|
<link refid="strategies_2inverse_2chebyshev_8hpp"/>
|
||
|
|
<childnode refid="50" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="51">
|
||
|
|
<label>serif/solver/preconditioner/strategies/inverse/fixed_amg.hpp</label>
|
||
|
|
<link refid="fixed__amg_8hpp"/>
|
||
|
|
<childnode refid="50" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="37">
|
||
|
|
<label>serif/utils/dependencies/binding.hpp</label>
|
||
|
|
<link refid="utils_2dependencies_2binding_8hpp"/>
|
||
|
|
<childnode refid="7" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="38" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="39">
|
||
|
|
<label>serif/utils/dependencies/dependency_context.hpp</label>
|
||
|
|
<link refid="dependency__context_8hpp"/>
|
||
|
|
<childnode refid="9" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="10" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="7" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="2" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="40" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="35" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="44" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="35">
|
||
|
|
<label>serif/utils/dependencies/detail/type_lists.hpp</label>
|
||
|
|
<link refid="type__lists_8hpp"/>
|
||
|
|
<childnode refid="22" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="20" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="7" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="36" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="36">
|
||
|
|
<label>serif/utils/dependencies/key_list.hpp</label>
|
||
|
|
<link refid="key__list_8hpp"/>
|
||
|
|
<childnode refid="7" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="37" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="38" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="27" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="34">
|
||
|
|
<label>serif/utils/dependencies/key_list_operations.hpp</label>
|
||
|
|
<link refid="key__list__operations_8hpp"/>
|
||
|
|
<childnode refid="20" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="7" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="35" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="40">
|
||
|
|
<label>serif/utils/dependencies/resource.hpp</label>
|
||
|
|
<link refid="resource_8hpp"/>
|
||
|
|
<childnode refid="41" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="7" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="2" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="42" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="42">
|
||
|
|
<label>serif/utils/dependencies/snapshot.hpp</label>
|
||
|
|
<link refid="snapshot_8hpp"/>
|
||
|
|
<childnode refid="9" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="41" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="43" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="7" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="2" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="44">
|
||
|
|
<label>serif/utils/misc/concepts/concat.hpp</label>
|
||
|
|
<link refid="concat_8hpp"/>
|
||
|
|
<childnode refid="27" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="12">
|
||
|
|
<label>serif/utils/misc/concepts/numeric.hpp</label>
|
||
|
|
<link refid="numeric_8hpp"/>
|
||
|
|
<childnode refid="9" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="7" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="11">
|
||
|
|
<label>serif/utils/misc/std_helper/cleaning.hpp</label>
|
||
|
|
<link refid="cleaning_8hpp"/>
|
||
|
|
<childnode refid="7" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="25">
|
||
|
|
<label>serif/utils/misc/std_helper/variadic_cleaning.hpp</label>
|
||
|
|
<link refid="variadic__cleaning_8hpp"/>
|
||
|
|
<childnode refid="20" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="38">
|
||
|
|
<label>serif/utils/misc/traits/type_uniqueness.hpp</label>
|
||
|
|
<link refid="traits_2type__uniqueness_8hpp"/>
|
||
|
|
<childnode refid="11" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="27">
|
||
|
|
<label>serif/utils/types/type_list.hpp</label>
|
||
|
|
<link refid="type__list_8hpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="22">
|
||
|
|
<label>array</label>
|
||
|
|
</node>
|
||
|
|
<node id="8">
|
||
|
|
<label>compare</label>
|
||
|
|
</node>
|
||
|
|
<node id="9">
|
||
|
|
<label>concepts</label>
|
||
|
|
</node>
|
||
|
|
<node id="20">
|
||
|
|
<label>cstddef</label>
|
||
|
|
</node>
|
||
|
|
<node id="15">
|
||
|
|
<label>format</label>
|
||
|
|
</node>
|
||
|
|
<node id="41">
|
||
|
|
<label>functional</label>
|
||
|
|
</node>
|
||
|
|
<node id="18">
|
||
|
|
<label>magic_enum/magic_enum_all.hpp</label>
|
||
|
|
</node>
|
||
|
|
<node id="43">
|
||
|
|
<label>memory</label>
|
||
|
|
</node>
|
||
|
|
<node id="47">
|
||
|
|
<label>mfem/linalg/operator.hpp</label>
|
||
|
|
</node>
|
||
|
|
<node id="48">
|
||
|
|
<label>mfem/linalg/sparsemat.hpp</label>
|
||
|
|
</node>
|
||
|
|
<node id="29">
|
||
|
|
<label>nameof.hpp</label>
|
||
|
|
</node>
|
||
|
|
<node id="23">
|
||
|
|
<label>numeric</label>
|
||
|
|
</node>
|
||
|
|
<node id="21">
|
||
|
|
<label>span</label>
|
||
|
|
</node>
|
||
|
|
<node id="4">
|
||
|
|
<label>string_view</label>
|
||
|
|
</node>
|
||
|
|
<node id="10">
|
||
|
|
<label>tuple</label>
|
||
|
|
</node>
|
||
|
|
<node id="7">
|
||
|
|
<label>type_traits</label>
|
||
|
|
</node>
|
||
|
|
<node id="17">
|
||
|
|
<label>unordered_map</label>
|
||
|
|
</node>
|
||
|
|
<node id="2">
|
||
|
|
<label>utility</label>
|
||
|
|
</node>
|
||
|
|
<node id="46">
|
||
|
|
<label>vector</label>
|
||
|
|
</node>
|
||
|
|
</incdepgraph>
|
||
|
|
<invincdepgraph>
|
||
|
|
<node id="2">
|
||
|
|
<label>src/include/serif/solver/preconditioner/computations/gravity.hpp</label>
|
||
|
|
<link refid="computations_2gravity_8hpp"/>
|
||
|
|
<childnode refid="3" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="3">
|
||
|
|
<label>src/include/serif/solver/preconditioner/graph.hpp</label>
|
||
|
|
<link refid="solver_2preconditioner_2graph_8hpp"/>
|
||
|
|
<childnode refid="4" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="4">
|
||
|
|
<label>src/include/serif/solver/preconditioner/preconditioner.hpp</label>
|
||
|
|
<link refid="preconditioner_8hpp"/>
|
||
|
|
<childnode refid="5" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="1">
|
||
|
|
<label>src/include/serif/solver/preconditioner/recipes/gravity.hpp</label>
|
||
|
|
<link refid="recipes_2gravity_8hpp"/>
|
||
|
|
<childnode refid="2" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="5">
|
||
|
|
<label>src/include/serif/solver/solver.hpp</label>
|
||
|
|
<link refid="solver_8hpp"/>
|
||
|
|
</node>
|
||
|
|
</invincdepgraph>
|
||
|
|
<innerclass refid="structserif_1_1solver_1_1preconditioner_1_1_gravity_preconditioner" prot="public">serif::solver::preconditioner::GravityPreconditioner</innerclass>
|
||
|
|
<innernamespace refid="namespaceserif">serif</innernamespace>
|
||
|
|
<innernamespace refid="namespaceserif_1_1solver">serif::solver</innernamespace>
|
||
|
|
<innernamespace refid="namespaceserif_1_1solver_1_1preconditioner">serif::solver::preconditioner</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/><utility></highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="4"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>"<ref refid="fields_8hpp" kindref="compound">serif/discretization/blocks/fields.hpp</ref>"</highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="5"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>"<ref refid="block_8hpp" kindref="compound">serif/solver/preconditioner/recipes/block.hpp</ref>"</highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="6"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>"<ref refid="strategies_2inverse_2chebyshev_8hpp" kindref="compound">serif/solver/preconditioner/strategies/inverse/chebyshev.hpp</ref>"</highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="7"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>"<ref refid="fixed__amg_8hpp" kindref="compound">serif/solver/preconditioner/strategies/inverse/fixed_amg.hpp</ref>"</highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="8"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>"<ref refid="strategies_2gravity_2factorization_8hpp" kindref="compound">serif/solver/preconditioner/strategies/gravity/factorization.hpp</ref>"</highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="9"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="10"><highlight class="normal"></highlight><highlight class="keyword">namespace<sp/></highlight><highlight class="normal"><ref refid="namespaceserif_1_1solver_1_1preconditioner" kindref="compound">serif::solver::preconditioner</ref></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/>Gradient,<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>Potential,<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>MassStrategy,<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>SchurStrategy,<sp/>strategies::gravity::Policy<sp/>Policy></highlight></codeline>
|
||
|
|
<codeline lineno="14" refid="structserif_1_1solver_1_1preconditioner_1_1_gravity_preconditioner" refkind="compound"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structserif_1_1solver_1_1preconditioner_1_1_gravity_preconditioner" kindref="compound">GravityPreconditioner</ref><sp/>final</highlight></codeline>
|
||
|
|
<codeline lineno="15"><highlight class="normal"><sp/><sp/><sp/><sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="16"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">using<sp/></highlight><highlight class="normal"><ref refid="structserif_1_1solver_1_1preconditioner_1_1_gravity_preconditioner_1a7df096c87a00e7d0599a962306a275ad" kindref="member">Rows</ref><sp/>=<sp/><ref refid="structserif_1_1utils_1_1dependencies_1_1_key_list" kindref="compound">utils::dependencies::KeyList<Gradient, Potential></ref>;</highlight></codeline>
|
||
|
|
<codeline lineno="17"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">using<sp/></highlight><highlight class="normal"><ref refid="structserif_1_1solver_1_1preconditioner_1_1_gravity_preconditioner_1a9e07637cce0ed8bb7aac36a41658741e" kindref="member">Values</ref><sp/>=<sp/><ref refid="structserif_1_1solver_1_1preconditioner_1_1_gravity_preconditioner_1a7df096c87a00e7d0599a962306a275ad" kindref="member">Rows</ref>;</highlight></codeline>
|
||
|
|
<codeline lineno="18"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">using<sp/></highlight><highlight class="normal"><ref refid="structserif_1_1solver_1_1preconditioner_1_1_gravity_preconditioner_1a1ec8b7e82daad78355cbad7d137b6aa4" kindref="member">Result</ref><sp/>=<sp/><ref refid="structserif_1_1solver_1_1preconditioner_1_1keys_1_1_inverse" kindref="compound">keys::Inverse<Rows, Values></ref>;</highlight></codeline>
|
||
|
|
<codeline lineno="19"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>MassStrategy<sp/><ref refid="structserif_1_1solver_1_1preconditioner_1_1_gravity_preconditioner_1aba99a5ee509c03a4d5f81bd19d3129e1" kindref="member">mass_inverse</ref>;</highlight></codeline>
|
||
|
|
<codeline lineno="20"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>SchurStrategy<sp/><ref refid="structserif_1_1solver_1_1preconditioner_1_1_gravity_preconditioner_1aad3857290f8b3ce146ce2c581b48aa5d" kindref="member">potential_inverse</ref>;</highlight></codeline>
|
||
|
|
<codeline lineno="21"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>Policy<sp/><ref refid="structserif_1_1solver_1_1preconditioner_1_1_gravity_preconditioner_1aa3cb8422726ff6ed3979b0360d50f201" kindref="member">factorization</ref>;</highlight></codeline>
|
||
|
|
<codeline lineno="22"><highlight class="normal"><sp/><sp/><sp/><sp/>};</highlight></codeline>
|
||
|
|
<codeline lineno="23"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="25"><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/>Gradient<sp/>=<sp/>discretization::blocks::gravity::gradient,<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>Potential<sp/>=<sp/>discretization::blocks::gravity::potential,<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>MassStrategy,<sp/></highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>SchurStrategy,<sp/>strategies::gravity::Policy<sp/>Policy<sp/>=<sp/>strategies::gravity::ApproximateLDU></highlight></codeline>
|
||
|
|
<codeline lineno="26"><highlight class="normal"><sp/><sp/><sp/><sp/>[[nodiscard]]<sp/></highlight><highlight class="keyword">auto</highlight><highlight class="normal"><sp/><ref refid="namespaceserif_1_1solver_1_1preconditioner_1ae186b6d655f5e9b7ca307162c948f228" kindref="member">make_gravity_preconditioner</ref>(MassStrategy<sp/>mass,<sp/>SchurStrategy<sp/>potential,<sp/>Policy<sp/>factorization<sp/>=<sp/>{})</highlight></codeline>
|
||
|
|
<codeline lineno="27"><highlight class="normal"><sp/><sp/><sp/><sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="28"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>GravityPreconditioner<Gradient,<sp/>Potential,<sp/>MassStrategy,<sp/>SchurStrategy,<sp/>Policy>{.mass_inverse<sp/>=<sp/>mass,<sp/>.potential_inverse<sp/>=<sp/>potential,<sp/>.factorization<sp/>=<sp/>factorization};</highlight></codeline>
|
||
|
|
<codeline lineno="29"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
||
|
|
<codeline lineno="30"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="32"><highlight class="normal"><sp/><sp/><sp/><sp/>[[nodiscard]]<sp/></highlight><highlight class="keyword">inline</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">auto</highlight><highlight class="normal"><sp/><ref refid="namespaceserif_1_1solver_1_1preconditioner_1ae186b6d655f5e9b7ca307162c948f228" kindref="member">make_gravity_preconditioner</ref>()</highlight></codeline>
|
||
|
|
<codeline lineno="33"><highlight class="normal"><sp/><sp/><sp/><sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="34"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="namespaceserif_1_1solver_1_1preconditioner_1ae186b6d655f5e9b7ca307162c948f228" kindref="member">make_gravity_preconditioner</ref>(strategies::inverse::Chebyshev{.order<sp/>=<sp/>5,<sp/>.power_iterations<sp/>=<sp/>20},<sp/><ref refid="structserif_1_1solver_1_1preconditioner_1_1strategies_1_1inverse_1_1_fixed_a_m_g" kindref="compound">strategies::inverse::FixedAMG</ref>{.cycles<sp/>=<sp/>3});</highlight></codeline>
|
||
|
|
<codeline lineno="35"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
||
|
|
<codeline lineno="36"><highlight class="normal">}<sp/></highlight><highlight class="comment">//<sp/>namespace<sp/>serif::solver::preconditioner</highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
</programlisting>
|
||
|
|
<location file="src/include/serif/solver/preconditioner/recipes/gravity.hpp"/>
|
||
|
|
</compounddef>
|
||
|
|
</doxygen>
|