diff --git a/ProcessLib/HydroMechanics/CreateHydroMechanicsProcess.cpp b/ProcessLib/HydroMechanics/CreateHydroMechanicsProcess.cpp index 298efe7c713322c328371ffe00f9c44ffb510e33..31774e41bdbab2c78a2ba0886beedd5134f110a9 100644 --- a/ProcessLib/HydroMechanics/CreateHydroMechanicsProcess.cpp +++ b/ProcessLib/HydroMechanics/CreateHydroMechanicsProcess.cpp @@ -21,11 +21,6 @@ namespace ProcessLib { namespace HydroMechanics { -template <int DisplacementDim> -class HydroMechanicsProcess; - -extern template class HydroMechanicsProcess<2>; -extern template class HydroMechanicsProcess<3>; template <int DisplacementDim> std::unique_ptr<Process> createHydroMechanicsProcess( diff --git a/ProcessLib/HydroMechanics/CreateHydroMechanicsProcess.h b/ProcessLib/HydroMechanics/CreateHydroMechanicsProcess.h index bb7707df04b20957442688176a1c0a4ccf44b578..1784407547e2fd74689c8b310e3ef2c57f8189a1 100644 --- a/ProcessLib/HydroMechanics/CreateHydroMechanicsProcess.h +++ b/ProcessLib/HydroMechanics/CreateHydroMechanicsProcess.h @@ -41,5 +41,20 @@ std::unique_ptr<Process> createHydroMechanicsProcess( unsigned const integration_order, BaseLib::ConfigTree const& config); +extern template std::unique_ptr<Process> createHydroMechanicsProcess<2>( + MeshLib::Mesh& mesh, + std::unique_ptr<ProcessLib::AbstractJacobianAssembler>&& jacobian_assembler, + std::vector<ProcessVariable> const& variables, + std::vector<std::unique_ptr<ParameterBase>> const& parameters, + unsigned const integration_order, + BaseLib::ConfigTree const& config); + +extern template std::unique_ptr<Process> createHydroMechanicsProcess<3>( + MeshLib::Mesh& mesh, + std::unique_ptr<ProcessLib::AbstractJacobianAssembler>&& jacobian_assembler, + std::vector<ProcessVariable> const& variables, + std::vector<std::unique_ptr<ParameterBase>> const& parameters, + unsigned const integration_order, + BaseLib::ConfigTree const& config); } // namespace HydroMechanics } // namespace ProcessLib diff --git a/ProcessLib/HydroMechanics/HydroMechanicsProcess.h b/ProcessLib/HydroMechanics/HydroMechanicsProcess.h index 5211eb2345372fbacaba405b4c67931bb136edda..6eb5fe5934c619fc1b58193a292089575b615b5a 100644 --- a/ProcessLib/HydroMechanics/HydroMechanicsProcess.h +++ b/ProcessLib/HydroMechanics/HydroMechanicsProcess.h @@ -257,5 +257,8 @@ private: _local_to_global_index_map_single_component; }; +extern template class HydroMechanicsProcess<2>; +extern template class HydroMechanicsProcess<3>; + } // namespace HydroMechanics } // namespace ProcessLib