From 2f021ee386374ec2c49d49d3f58147b967a08f43 Mon Sep 17 00:00:00 2001 From: kronbichler Date: Wed, 19 Dec 2012 11:34:13 +0000 Subject: [PATCH] Explicitly instantiate some internal structs to ensure these are always generated. git-svn-id: https://svn.dealii.org/trunk@27827 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/numerics/matrix_free.cc | 3 +++ deal.II/source/numerics/matrix_free.inst.in | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/deal.II/source/numerics/matrix_free.cc b/deal.II/source/numerics/matrix_free.cc index efe7684e04..0d12293cc6 100644 --- a/deal.II/source/numerics/matrix_free.cc +++ b/deal.II/source/numerics/matrix_free.cc @@ -21,4 +21,7 @@ DEAL_II_NAMESPACE_OPEN #include "matrix_free.inst" +template struct internal::MatrixFreeFunctions::ShapeInfo; +template struct internal::MatrixFreeFunctions::ShapeInfo; + DEAL_II_NAMESPACE_CLOSE diff --git a/deal.II/source/numerics/matrix_free.inst.in b/deal.II/source/numerics/matrix_free.inst.in index 5c9d3882e1..a9965f513b 100644 --- a/deal.II/source/numerics/matrix_free.inst.in +++ b/deal.II/source/numerics/matrix_free.inst.in @@ -58,5 +58,9 @@ for (deal_II_dimension : DIMENSIONS) print_memory_consumption (std::ostream &) const; template void MatrixFree:: print_memory_consumption (ConditionalOStream &) const; + + + template struct internal::MatrixFreeFunctions::MappingInfo; + template struct internal::MatrixFreeFunctions::MappingInfo; } -- 2.39.5