diff --git a/ProcessLib/SmallDeformation/CreateSmallDeformationProcess.cpp b/ProcessLib/SmallDeformation/CreateSmallDeformationProcess.cpp index b326950c169a258ab46de4a01ceca9aaef0838dc..ceb84f4daed87b3042c703bbadf2a4b382acdd17 100644 --- a/ProcessLib/SmallDeformation/CreateSmallDeformationProcess.cpp +++ b/ProcessLib/SmallDeformation/CreateSmallDeformationProcess.cpp @@ -23,11 +23,6 @@ namespace ProcessLib { namespace SmallDeformation { -template <int DisplacementDim> -class SmallDeformationProcess; - -extern template class SmallDeformationProcess<2>; -extern template class SmallDeformationProcess<3>; template <int DisplacementDim> std::unique_ptr<Process> diff --git a/ProcessLib/SmallDeformation/CreateSmallDeformationProcess.h b/ProcessLib/SmallDeformation/CreateSmallDeformationProcess.h index 5ee96959506dc41ba09bde4c79ba5de8c82a9bb9..3f7f783b25f449151b871b9401723290e40f5537 100644 --- a/ProcessLib/SmallDeformation/CreateSmallDeformationProcess.h +++ b/ProcessLib/SmallDeformation/CreateSmallDeformationProcess.h @@ -41,5 +41,21 @@ std::unique_ptr<Process> createSmallDeformationProcess( unsigned const integration_order, BaseLib::ConfigTree const& config); +extern template std::unique_ptr<Process> createSmallDeformationProcess<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> createSmallDeformationProcess<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 SmallDeformation } // namespace ProcessLib