116 {
118 std::size_t const local_matrix_size,
119 IntegrationMethodProvider const& integration_method_provider,
120 ConstructorArgs&&... args)
121 {
122 auto const& integration_method =
123 integration_method_provider
124 .template getIntegrationMethod<MeshElement>(e);
125
126 static_assert(
127 std::is_constructible_v<
129 decltype(integration_method), ConstructorArgs&&...>,
130 "The given local assembler implementation is not "
131 "constructible from the provided arguments.");
132
133 return std::make_unique<LocAsmImpl>(
134 e, local_matrix_size, integration_method,
135 std::forward<ConstructorArgs>(args)...);
136 };
137 }
LocalAssemblerImplementation< ShapeFunction, GlobalDim > LocAsmImpl