501 lines
36 KiB
XML
501 lines
36 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="backend_2mfem_2model_2deformation_8hpp" kind="file" language="C++">
|
||
|
|
<compoundname>deformation.hpp</compoundname>
|
||
|
|
<includes local="no">limits</includes>
|
||
|
|
<includes local="no">memory</includes>
|
||
|
|
<includes local="no">span</includes>
|
||
|
|
<includes local="no">utility</includes>
|
||
|
|
<includes refid="deformation_2linearization_8hpp" local="yes">serif/geometry/deformation/linearization.hpp</includes>
|
||
|
|
<includes local="no">vector</includes>
|
||
|
|
<includes refid="backend_2mfem_2operators_2actions_8hpp" local="yes">serif/backend/mfem/operators/actions.hpp</includes>
|
||
|
|
<includes refid="parallel_8hpp" local="yes">serif/backend/mfem/shared/parallel.hpp</includes>
|
||
|
|
<includes refid="errors_8hpp" local="yes">serif/utils/error/errors.hpp</includes>
|
||
|
|
<includedby refid="shape__derivatives_8hpp" local="yes">src/include/serif/backend/mfem/model/computations/shape_derivatives.hpp</includedby>
|
||
|
|
<includedby refid="lib_2serif_2backend_2mfem_2model_2deformation_8cpp" local="yes">src/lib/serif/backend/mfem/model/deformation.cpp</includedby>
|
||
|
|
<incdepgraph>
|
||
|
|
<node id="1">
|
||
|
|
<label>src/include/serif/backend/mfem/model/deformation.hpp</label>
|
||
|
|
<link refid="backend_2mfem_2model_2deformation_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>
|
||
|
|
<childnode refid="7" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="20" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="24" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="26" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="20">
|
||
|
|
<label>serif/backend/mfem/operators/actions.hpp</label>
|
||
|
|
<link refid="backend_2mfem_2operators_2actions_8hpp"/>
|
||
|
|
<childnode refid="16" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="4" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="7" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="21" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="21">
|
||
|
|
<label>serif/backend/mfem/operators/linearized_block.hpp</label>
|
||
|
|
<link refid="backend_2mfem_2operators_2linearized__block_8hpp"/>
|
||
|
|
<childnode refid="16" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="3" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="7" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="22" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="23" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="24">
|
||
|
|
<label>serif/backend/mfem/shared/parallel.hpp</label>
|
||
|
|
<link refid="parallel_8hpp"/>
|
||
|
|
<childnode refid="25" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="7" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="8">
|
||
|
|
<label>serif/geometry/deformation/actions.hpp</label>
|
||
|
|
<link refid="geometry_2deformation_2actions_8hpp"/>
|
||
|
|
<childnode refid="9" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="10" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="4" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="11" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="14" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="18" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="19" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="14">
|
||
|
|
<label>serif/geometry/deformation/detail/action_storage.hpp</label>
|
||
|
|
<link refid="action__storage_8hpp"/>
|
||
|
|
<childnode refid="9" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="15" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="16" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="17" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="4" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="11" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="11">
|
||
|
|
<label>serif/geometry/deformation/failure.hpp</label>
|
||
|
|
<link refid="geometry_2deformation_2failure_8hpp"/>
|
||
|
|
<childnode refid="12" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="13" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="6">
|
||
|
|
<label>serif/geometry/deformation/linearization.hpp</label>
|
||
|
|
<link refid="deformation_2linearization_8hpp"/>
|
||
|
|
<childnode refid="3" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="7" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="8" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="18">
|
||
|
|
<label>serif/geometry/deformation/spaces.hpp</label>
|
||
|
|
<link refid="spaces_8hpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="19">
|
||
|
|
<label>serif/geometry/deformation/workspace.hpp</label>
|
||
|
|
<link refid="geometry_2deformation_2workspace_8hpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="39">
|
||
|
|
<label>serif/meta/enums.hpp</label>
|
||
|
|
<link refid="enums_8hpp"/>
|
||
|
|
<childnode refid="40" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="36" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="41" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="38">
|
||
|
|
<label>serif/utils/error/codes.hpp</label>
|
||
|
|
<link refid="codes_8hpp"/>
|
||
|
|
<childnode refid="30" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="39" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="26">
|
||
|
|
<label>serif/utils/error/errors.hpp</label>
|
||
|
|
<link refid="errors_8hpp"/>
|
||
|
|
<childnode refid="27" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="28" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="29" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="13" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="30" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="9" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="31" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="32" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="35" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="38" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="42" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="35">
|
||
|
|
<label>serif/utils/misc/concepts/exceptions.hpp</label>
|
||
|
|
<link refid="utils_2misc_2concepts_2exceptions_8hpp"/>
|
||
|
|
<childnode refid="25" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="36" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="37" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="37">
|
||
|
|
<label>serif/utils/misc/concepts/numeric.hpp</label>
|
||
|
|
<link refid="numeric_8hpp"/>
|
||
|
|
<childnode refid="10" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="36" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="32">
|
||
|
|
<label>serif/utils/misc/terminal/colors.hpp</label>
|
||
|
|
<link refid="colors_8hpp"/>
|
||
|
|
<childnode refid="27" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="29" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="33" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="5" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="34" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="42">
|
||
|
|
<label>serif/utils/types/strings.hpp</label>
|
||
|
|
<link refid="types_2strings_8hpp"/>
|
||
|
|
<childnode refid="9" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="43" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="27" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="9">
|
||
|
|
<label>algorithm</label>
|
||
|
|
</node>
|
||
|
|
<node id="15">
|
||
|
|
<label>cmath</label>
|
||
|
|
</node>
|
||
|
|
<node id="10">
|
||
|
|
<label>concepts</label>
|
||
|
|
</node>
|
||
|
|
<node id="30">
|
||
|
|
<label>cstdint</label>
|
||
|
|
</node>
|
||
|
|
<node id="29">
|
||
|
|
<label>cstdio</label>
|
||
|
|
</node>
|
||
|
|
<node id="33">
|
||
|
|
<label>cstdlib</label>
|
||
|
|
</node>
|
||
|
|
<node id="25">
|
||
|
|
<label>exception</label>
|
||
|
|
</node>
|
||
|
|
<node id="12">
|
||
|
|
<label>expected</label>
|
||
|
|
</node>
|
||
|
|
<node id="28">
|
||
|
|
<label>format</label>
|
||
|
|
</node>
|
||
|
|
<node id="16">
|
||
|
|
<label>functional</label>
|
||
|
|
</node>
|
||
|
|
<node id="17">
|
||
|
|
<label>initializer_list</label>
|
||
|
|
</node>
|
||
|
|
<node id="43">
|
||
|
|
<label>iostream</label>
|
||
|
|
</node>
|
||
|
|
<node id="2">
|
||
|
|
<label>limits</label>
|
||
|
|
</node>
|
||
|
|
<node id="41">
|
||
|
|
<label>magic_enum/magic_enum_all.hpp</label>
|
||
|
|
</node>
|
||
|
|
<node id="3">
|
||
|
|
<label>memory</label>
|
||
|
|
</node>
|
||
|
|
<node id="22">
|
||
|
|
<label>mfem/linalg/operator.hpp</label>
|
||
|
|
</node>
|
||
|
|
<node id="23">
|
||
|
|
<label>mfem/linalg/sparsemat.hpp</label>
|
||
|
|
</node>
|
||
|
|
<node id="4">
|
||
|
|
<label>span</label>
|
||
|
|
</node>
|
||
|
|
<node id="13">
|
||
|
|
<label>string</label>
|
||
|
|
</node>
|
||
|
|
<node id="27">
|
||
|
|
<label>string_view</label>
|
||
|
|
</node>
|
||
|
|
<node id="36">
|
||
|
|
<label>type_traits</label>
|
||
|
|
</node>
|
||
|
|
<node id="34">
|
||
|
|
<label>unistd.h</label>
|
||
|
|
</node>
|
||
|
|
<node id="40">
|
||
|
|
<label>unordered_map</label>
|
||
|
|
</node>
|
||
|
|
<node id="5">
|
||
|
|
<label>utility</label>
|
||
|
|
</node>
|
||
|
|
<node id="7">
|
||
|
|
<label>vector</label>
|
||
|
|
</node>
|
||
|
|
<node id="31">
|
||
|
|
<label>version</label>
|
||
|
|
</node>
|
||
|
|
</incdepgraph>
|
||
|
|
<invincdepgraph>
|
||
|
|
<node id="17">
|
||
|
|
<label>src/compile_time_checks/serif/model/scalar_row.cpp</label>
|
||
|
|
<link refid="compile__time__checks_2serif_2model_2scalar__row_8cpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="7">
|
||
|
|
<label>src/compile_time_checks/serif/model/state.cpp</label>
|
||
|
|
<link refid="state_8cpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="3">
|
||
|
|
<label>src/include/serif/backend/mfem/model/computations/interior.hpp</label>
|
||
|
|
<link refid="interior_8hpp"/>
|
||
|
|
<childnode refid="4" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="14" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="15" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="5" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="4">
|
||
|
|
<label>src/include/serif/backend/mfem/model/computations/potential_infinity.hpp</label>
|
||
|
|
<link refid="potential__infinity_8hpp"/>
|
||
|
|
<childnode refid="5" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="14">
|
||
|
|
<label>src/include/serif/backend/mfem/model/computations/pressure_boundary.hpp</label>
|
||
|
|
<link refid="model_2computations_2pressure__boundary_8hpp"/>
|
||
|
|
<childnode refid="5" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="16">
|
||
|
|
<label>src/include/serif/backend/mfem/model/computations/scalar_row.hpp</label>
|
||
|
|
<link refid="computations_2scalar__row_8hpp"/>
|
||
|
|
<childnode refid="17" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="3" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="2">
|
||
|
|
<label>src/include/serif/backend/mfem/model/computations/shape_derivatives.hpp</label>
|
||
|
|
<link refid="shape__derivatives_8hpp"/>
|
||
|
|
<childnode refid="3" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="16" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="15">
|
||
|
|
<label>src/include/serif/backend/mfem/model/computations/surface_potential.hpp</label>
|
||
|
|
<link refid="backend_2mfem_2model_2computations_2surface__potential_8hpp"/>
|
||
|
|
<childnode refid="5" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="1">
|
||
|
|
<label>src/include/serif/backend/mfem/model/deformation.hpp</label>
|
||
|
|
<link refid="backend_2mfem_2model_2deformation_8hpp"/>
|
||
|
|
<childnode refid="2" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="18" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="6">
|
||
|
|
<label>src/include/serif/backend/mfem/model/equilibrium.hpp</label>
|
||
|
|
<link refid="backend_2mfem_2model_2equilibrium_8hpp"/>
|
||
|
|
<childnode refid="7" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="8" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="5">
|
||
|
|
<label>src/include/serif/backend/mfem/model/graph.hpp</label>
|
||
|
|
<link refid="backend_2mfem_2model_2graph_8hpp"/>
|
||
|
|
<childnode refid="6" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="13" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="13">
|
||
|
|
<label>src/include/serif/backend/mfem/solver/admissibility/geometry.hpp</label>
|
||
|
|
<link refid="geometry_8hpp"/>
|
||
|
|
<childnode refid="8" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="9">
|
||
|
|
<label>src/include/serif/backend/mfem/solver/equilibrium.hpp</label>
|
||
|
|
<link refid="backend_2mfem_2solver_2equilibrium_8hpp"/>
|
||
|
|
<childnode refid="10" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="8">
|
||
|
|
<label>src/include/serif/backend/mfem/solver/nonlinear/stellar_problem.hpp</label>
|
||
|
|
<link refid="stellar__problem_8hpp"/>
|
||
|
|
<childnode refid="9" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="11">
|
||
|
|
<label>src/include/serif/solver/continuation/equilibrium.hpp</label>
|
||
|
|
<link refid="solver_2continuation_2equilibrium_8hpp"/>
|
||
|
|
<childnode refid="12" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="10">
|
||
|
|
<label>src/include/serif/solver/equilibrium.hpp</label>
|
||
|
|
<link refid="solver_2equilibrium_8hpp"/>
|
||
|
|
<childnode refid="11" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="12" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="12">
|
||
|
|
<label>src/include/serif/solver/solver.hpp</label>
|
||
|
|
<link refid="solver_2solver_8hpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="18">
|
||
|
|
<label>src/lib/serif/backend/mfem/model/deformation.cpp</label>
|
||
|
|
<link refid="lib_2serif_2backend_2mfem_2model_2deformation_8cpp"/>
|
||
|
|
</node>
|
||
|
|
</invincdepgraph>
|
||
|
|
<innerclass refid="structserif_1_1model_1_1backend_1_1mfem_1_1_shape_derivatives" prot="public">serif::model::backend::mfem::ShapeDerivatives</innerclass>
|
||
|
|
<innerclass refid="classserif_1_1model_1_1backend_1_1mfem_1_1_linearized_block" prot="public">serif::model::backend::mfem::LinearizedBlock</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>
|
||
|
|
<innernamespace refid="namespaceserif_1_1model">serif::model</innernamespace>
|
||
|
|
<innernamespace refid="namespaceserif_1_1model_1_1backend">serif::model::backend</innernamespace>
|
||
|
|
<innernamespace refid="namespaceserif_1_1model_1_1backend_1_1mfem">serif::model::backend::mfem</innernamespace>
|
||
|
|
<innernamespace refid="namespaceserif_1_1model_1_1backend_1_1mfem_1_1detail">serif::model::backend::mfem::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/><limits></highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="4"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><memory></highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="5"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><span></highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="6"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><utility></highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="7"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>"<ref refid="deformation_2linearization_8hpp" kindref="compound">serif/geometry/deformation/linearization.hpp</ref>"</highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="8"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><vector></highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="9"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>"<ref refid="backend_2mfem_2operators_2actions_8hpp" kindref="compound">serif/backend/mfem/operators/actions.hpp</ref>"</highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="10"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>"<ref refid="parallel_8hpp" kindref="compound">serif/backend/mfem/shared/parallel.hpp</ref>"</highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="11"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>"<ref refid="errors_8hpp" kindref="compound">serif/utils/error/errors.hpp</ref>"</highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="12"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="13"><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="14"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classserif_1_1discretization_1_1backend_1_1mfem_1_1_dof_map" kindref="compound">DofMap</ref>;</highlight></codeline>
|
||
|
|
<codeline lineno="15"><highlight class="normal">}</highlight></codeline>
|
||
|
|
<codeline lineno="16"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="17"><highlight class="normal"></highlight><highlight class="keyword">namespace<sp/></highlight><highlight class="normal"><ref refid="namespaceserif_1_1model_1_1backend_1_1mfem" kindref="compound">serif::model::backend::mfem</ref><sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="18"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">using<sp/></highlight><highlight class="normal">operators::backend::mfem::LinearizedBlock;</highlight></codeline>
|
||
|
|
<codeline lineno="19"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="21"><highlight class="normal"><sp/><sp/><sp/><sp/>[[nodiscard]]<sp/><ref refid="classserif_1_1operators_1_1backend_1_1mfem_1_1_linearized_block" kindref="compound">LinearizedBlock</ref><sp/><ref refid="namespaceserif_1_1model_1_1backend_1_1mfem_1a400e43594db5656b09c8e95e77a53dfa" kindref="member">displacement_projection</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>discretization::backend::mfem::DofMap&<sp/>binding);</highlight></codeline>
|
||
|
|
<codeline lineno="22"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="24"><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/>Deformation></highlight></codeline>
|
||
|
|
<codeline lineno="25" refid="structserif_1_1model_1_1backend_1_1mfem_1_1_shape_derivatives" refkind="compound"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structserif_1_1model_1_1backend_1_1mfem_1_1_shape_derivatives" kindref="compound">ShapeDerivatives</ref><sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="26"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>std::shared_ptr<const<sp/>Deformation><sp/><ref refid="structserif_1_1model_1_1backend_1_1mfem_1_1_shape_derivatives_1a6efdf54e9b6a15f669bf56d51c01c5d4" kindref="member">deformation</ref>;</highlight></codeline>
|
||
|
|
<codeline lineno="27"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classserif_1_1operators_1_1backend_1_1mfem_1_1_linearized_block" kindref="compound">LinearizedBlock</ref><sp/><ref refid="structserif_1_1model_1_1backend_1_1mfem_1_1_shape_derivatives_1a0889502580de06d662c024a532b8dcd5" kindref="member">projection</ref>;</highlight></codeline>
|
||
|
|
<codeline lineno="28"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classserif_1_1operators_1_1backend_1_1mfem_1_1_linearized_block" kindref="compound">LinearizedBlock</ref><sp/><ref refid="structserif_1_1model_1_1backend_1_1mfem_1_1_shape_derivatives_1a39798e95a42503b0b2fc3ac330f097de" kindref="member">tangent</ref>;</highlight></codeline>
|
||
|
|
<codeline lineno="29"><highlight class="normal"><sp/><sp/><sp/><sp/>};</highlight></codeline>
|
||
|
|
<codeline lineno="30"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="31"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">namespace<sp/></highlight><highlight class="normal"><ref refid="namespaceserif_1_1model_1_1backend_1_1mfem_1_1detail" kindref="compound">detail</ref><sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="33"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><sp/><geometry::deformation::DeformationMap<sp/>Map></highlight></codeline>
|
||
|
|
<codeline lineno="34"><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_1model_1_1backend_1_1mfem_1_1detail_1a5aff82640871b09440e1b27f1b77b955" kindref="member">validate_deformation</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::shared_ptr<</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="structserif_1_1geometry_1_1deformation_1_1_deformation_linearization" kindref="compound">geometry::deformation::DeformationLinearization<Map></ref>>&<sp/><ref refid="namespaceserif_1_1model_1_1state" kindref="compound">state</ref>)<sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="35"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">using<sp/>namespace<sp/></highlight><highlight class="normal"><ref refid="namespaceserif_1_1utils_1_1errors" kindref="compound">utils::errors</ref>;</highlight></codeline>
|
||
|
|
<codeline lineno="36"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="37"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>serif_ensure<SERiFErrorCode::INVALID_ARGUMENT>(<ref refid="namespaceserif_1_1model_1_1state" kindref="compound">state</ref><sp/>&&<sp/><ref refid="namespaceserif_1_1model_1_1state" kindref="compound">state</ref>->map,<sp/></highlight><highlight class="stringliteral">"A<sp/>model<sp/>shape<sp/>action<sp/>requires<sp/>an<sp/>accepted<sp/>deformation<sp/>map."</highlight><highlight class="normal">);</highlight></codeline>
|
||
|
|
<codeline lineno="38"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>serif_ensure<SERiFErrorCode::INVALID_DOF_COUNT>(<ref refid="namespaceserif_1_1model_1_1state" kindref="compound">state</ref>->map->input_size()<sp/><=<sp/></highlight><highlight class="keyword">static_cast<</highlight><highlight class="normal">std::size_t</highlight><highlight class="keyword">></highlight><highlight class="normal">(std::numeric_limits<int>::max())<sp/>&&<sp/><ref refid="namespaceserif_1_1model_1_1state" kindref="compound">state</ref>->map->output_size()<sp/><=<sp/></highlight><highlight class="keyword">static_cast<</highlight><highlight class="normal">std::size_t</highlight><highlight class="keyword">></highlight><highlight class="normal">(std::numeric_limits<int>::max()),<sp/></highlight><highlight class="stringliteral">"Deformation<sp/>coordinate<sp/>counts<sp/>exceed<sp/>the<sp/>MFEM<sp/>integer<sp/>range."</highlight><highlight class="normal">);</highlight></codeline>
|
||
|
|
<codeline lineno="39"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>serif_ensure<SERiFErrorCode::INVALID_DOF_COUNT>(<ref refid="namespaceserif_1_1model_1_1state" kindref="compound">state</ref>->parameters.size()<sp/>==<sp/><ref refid="namespaceserif_1_1model_1_1state" kindref="compound">state</ref>->map->input_size(),<sp/></highlight><highlight class="stringliteral">"The<sp/>accepted<sp/>deformation<sp/>must<sp/>contain<sp/>every<sp/>shape<sp/>coordinate."</highlight><highlight class="normal">);</highlight></codeline>
|
||
|
|
<codeline lineno="40"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
||
|
|
<codeline lineno="41"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="43"><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_1model_1_1backend_1_1mfem_1_1detail_1a714b7375c3c233ce2965fd162bf1f429" kindref="member">require_deformation_action</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="namespaceserif_1_1geometry_1_1deformation_1a08306ee593c172f4877facc061e98f97" kindref="member">geometry::deformation::DeformationStatus</ref>&<sp/>status);</highlight></codeline>
|
||
|
|
<codeline lineno="44"><highlight class="normal"><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="comment">//<sp/>namespace<sp/>detail</highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="45"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="47"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><sp/><geometry::deformation::DeformationMap<sp/>Map></highlight></codeline>
|
||
|
|
<codeline lineno="48"><highlight class="normal"><sp/><sp/><sp/><sp/>[[nodiscard]]<sp/><ref refid="classserif_1_1model_1_1backend_1_1mfem_1_1_linearized_block" kindref="compound">LinearizedBlock</ref><sp/><ref refid="namespaceserif_1_1model_1_1backend_1_1mfem_1a0f8a06e69568585591d87ff618dfd9c8" kindref="member">deformation_tangent</ref>(std::shared_ptr<</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="structserif_1_1geometry_1_1deformation_1_1_deformation_linearization" kindref="compound">geometry::deformation::DeformationLinearization<Map></ref>><sp/><ref refid="namespaceserif_1_1model_1_1state" kindref="compound">state</ref>)<sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="49"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="namespaceserif_1_1model_1_1backend_1_1mfem_1_1detail_1a5aff82640871b09440e1b27f1b77b955" kindref="member">detail::validate_deformation</ref>(<ref refid="namespaceserif_1_1model_1_1state" kindref="compound">state</ref>);</highlight></codeline>
|
||
|
|
<codeline lineno="50"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>rows<sp/>=<sp/></highlight><highlight class="keyword">static_cast<</highlight><highlight class="keywordtype">int</highlight><highlight class="keyword">></highlight><highlight class="normal">(<ref refid="namespaceserif_1_1model_1_1state" kindref="compound">state</ref>->map->output_size());</highlight></codeline>
|
||
|
|
<codeline lineno="51"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>columns<sp/>=<sp/></highlight><highlight class="keyword">static_cast<</highlight><highlight class="keywordtype">int</highlight><highlight class="keyword">></highlight><highlight class="normal">(<ref refid="namespaceserif_1_1model_1_1state" kindref="compound">state</ref>->map->input_size());</highlight></codeline>
|
||
|
|
<codeline lineno="52"><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_1operators_1_1backend_1_1mfem_1ad500ee5ad4ef471ae431b8c4dc3c6c53" kindref="member">operators::backend::mfem::linearized_action</ref>(rows,<sp/>columns,<sp/>[<ref refid="namespaceserif_1_1model_1_1state" kindref="compound">state</ref>,<sp/>workspace<sp/>=<sp/>std::make_shared<<ref refid="namespaceserif_1_1geometry_1_1deformation_1ae1f99a74025eac52e6ff4a4b77fb41c6" kindref="member">geometry::deformation::DeformationWorkspace<Map></ref>>(<ref refid="namespaceserif_1_1geometry_1_1deformation_1aa3ab7cc89a2262523938808363fda865" kindref="member">geometry::deformation::make_deformation_workspace</ref>(*<ref refid="namespaceserif_1_1model_1_1state" kindref="compound">state</ref>->map))](const<sp/>::mfem::Vector&<sp/>input,<sp/>::mfem::Vector&<sp/>output)<sp/></highlight><highlight class="keyword">mutable</highlight><highlight class="normal"><sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="53"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>detail::require_deformation_action(geometry::deformation::apply_jacobian(*state,<sp/>std::span<const<sp/>double>(input.GetData(),<sp/>input.Size()),<sp/>std::span<double>(output.GetData(),<sp/>output.Size()),<sp/>*workspace));</highlight></codeline>
|
||
|
|
<codeline lineno="54"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>},<sp/>[<ref refid="namespaceserif_1_1model_1_1state" kindref="compound">state</ref>,<sp/>workspace<sp/>=<sp/>std::make_shared<<ref refid="namespaceserif_1_1geometry_1_1deformation_1ae1f99a74025eac52e6ff4a4b77fb41c6" kindref="member">geometry::deformation::DeformationWorkspace<Map></ref>>(<ref refid="namespaceserif_1_1geometry_1_1deformation_1aa3ab7cc89a2262523938808363fda865" kindref="member">geometry::deformation::make_deformation_workspace</ref>(*<ref refid="namespaceserif_1_1model_1_1state" kindref="compound">state</ref>->map))](const<sp/>::mfem::Vector&<sp/>input,<sp/>::mfem::Vector&<sp/>output)<sp/></highlight><highlight class="keyword">mutable</highlight><highlight class="normal"><sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="55"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>detail::require_deformation_action(geometry::deformation::apply_jacobian_transpose(*state,<sp/>std::span<const<sp/>double>(input.GetData(),<sp/>input.Size()),<sp/>std::span<double>(output.GetData(),<sp/>output.Size()),<sp/>*workspace));</highlight></codeline>
|
||
|
|
<codeline lineno="56"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>},<sp/>[<ref refid="namespaceserif_1_1model_1_1state" kindref="compound">state</ref>,<sp/>workspaces<sp/>=<sp/>std::vector<std::shared_ptr<<ref refid="namespaceserif_1_1geometry_1_1deformation_1ae1f99a74025eac52e6ff4a4b77fb41c6" kindref="member">geometry::deformation::DeformationWorkspace<Map></ref>>>{}](std::span<const<sp/>::mfem::Vector*<sp/>const><sp/>inputs,<sp/>std::span<::mfem::Vector*<sp/>const><sp/>outputs)<sp/></highlight><highlight class="keyword">mutable</highlight><highlight class="normal"><sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="57"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>Directions<sp/>are<sp/>independent;<sp/>each<sp/>worker<sp/>owns<sp/>its<sp/>workspace,<sp/>so<sp/>every<sp/>column<sp/>is<sp/>computed<sp/>as<sp/>by<sp/>Mult.</highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="58"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>const<sp/>auto<sp/>workers<sp/>=<sp/>static_cast<std::size_t>(utils::parallel::worker_count());</highlight></codeline>
|
||
|
|
<codeline lineno="59"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>while<sp/>(workspaces.size()<sp/><<sp/>workers)<sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="60"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>workspaces.push_back(std::make_shared<geometry::deformation::DeformationWorkspace<Map>>(geometry::deformation::make_deformation_workspace(*state->map)));</highlight></codeline>
|
||
|
|
<codeline lineno="61"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
||
|
|
<codeline lineno="62"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="namespaceserif_1_1utils_1_1parallel_1a453320d288c9e42300bdc59ee8dccd2d" kindref="member">utils::parallel::for_each_index</ref>(</highlight><highlight class="keyword">static_cast<</highlight><highlight class="keywordtype">int</highlight><highlight class="keyword">></highlight><highlight class="normal">(inputs.size()),<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="63"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>const<sp/>auto&<sp/>input<sp/>=<sp/>*inputs[static_cast<std::size_t>(index)];</highlight></codeline>
|
||
|
|
<codeline lineno="64"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>auto&<sp/>output<sp/>=<sp/>*outputs[static_cast<std::size_t>(index)];</highlight></codeline>
|
||
|
|
<codeline lineno="65"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>detail::require_deformation_action(geometry::deformation::apply_jacobian(*state,<sp/>std::span<const<sp/>double>(input.GetData(),<sp/>input.Size()),<sp/>std::span<double>(output.GetData(),<sp/>output.Size()),<sp/>*workspaces[static_cast<std::size_t>(worker)]));</highlight></codeline>
|
||
|
|
<codeline lineno="66"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>});</highlight></codeline>
|
||
|
|
<codeline lineno="67"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>});</highlight></codeline>
|
||
|
|
<codeline lineno="68"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
||
|
|
<codeline lineno="69"><highlight class="normal">}<sp/></highlight><highlight class="comment">//<sp/>namespace<sp/>serif::model::backend::mfem</highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
</programlisting>
|
||
|
|
<location file="src/include/serif/backend/mfem/model/deformation.hpp"/>
|
||
|
|
</compounddef>
|
||
|
|
</doxygen>
|