};
+
/* --------------- inline functions ------------------- */
template <int dim, int spacedim>
push_back(*p);
}
+
+
+ template <int dim, int spacedim>
+ MappingCollection<dim, spacedim>
+ StaticMappingQ1<dim, spacedim>::mapping_collection =
+ MappingCollection<dim, spacedim>(MappingQ1<dim, spacedim>{});
+
+
+#ifndef DOXYGEN
+ // Declare the existence of explicit instantiations of the class
+ // above to avoid certain warnings issues by clang and
+ // newer (LLVM-based) Intel compilers:
+ extern template struct StaticMappingQ1<1, 1>;
+ extern template struct StaticMappingQ1<1, 2>;
+ extern template struct StaticMappingQ1<1, 3>;
+ extern template struct StaticMappingQ1<2, 2>;
+ extern template struct StaticMappingQ1<2, 3>;
+ extern template struct StaticMappingQ1<3, 3>;
+#endif
+
} // namespace hp
return mapping;
}
} // namespace
-
- template <int dim, int spacedim>
- MappingCollection<dim, spacedim>
- StaticMappingQ1<dim, spacedim>::mapping_collection =
- MappingCollection<dim, spacedim>(get_static_mapping_q1<dim, spacedim>());
-
} // namespace hp