IF(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
+ #
+ # Silence Clang warnings about unused parameters:
+ #
+ SET(CMAKE_CXX_FLAGS "-Qunused-arguments ${CMAKE_CXX_FLAGS}")
+
#
# *Boy*, clang seems to be the very definition of "pedantic" in
# "-pedantic" mode, so disable a bunch of harmless warnings
ADD_FLAGS(DEAL_II_CXX_FLAGS_RELEASE "-O2")
ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS_RELEASE "-funroll-loops")
- ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS_RELEASE "-funroll-all-loops")
+ IF(NOT(CMAKE_CXX_COMPILER_ID MATCHES "Clang"))
+ ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS_RELEASE "-funroll-all-loops")
+ ENDIF()
ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS_RELEASE "-fstrict-aliasing")
ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS_RELEASE "-felide-constructors")
const std::vector<types::global_dof_index> &,
SP &);
- //template void
- //DoFTools::make_boundary_sparsity_pattern<hp::DoFHandler<1,3>,SP>
- //(const hp::DoFHandler<1,3>& dof,
- // const std::vector<types::global_dof_index> &,
- // SP &);
+ template void
+ DoFTools::make_boundary_sparsity_pattern<hp::DoFHandler<1,3>,SP>
+ (const hp::DoFHandler<1,3>& dof,
+ const std::vector<types::global_dof_index> &,
+ SP &);
template void
DoFTools::make_boundary_sparsity_pattern<DoFHandler<1,3>,SP>
const std::vector<types::global_dof_index> &dof_to_boundary_mapping,
SP &sparsity);
- //template void
- //DoFTools::make_boundary_sparsity_pattern<hp::DoFHandler<1,3>,SP>
- //(const hp::DoFHandler<1,3>& dof,
- // const FunctionMap<3>::type &boundary_indicators,
- // const std::vector<types::global_dof_index> &dof_to_boundary_mapping,
- // SP &sparsity);
+ template void
+ DoFTools::make_boundary_sparsity_pattern<hp::DoFHandler<1,3>,SP>
+ (const hp::DoFHandler<1,3>& dof,
+ const FunctionMap<3>::type &boundary_indicators,
+ const std::vector<types::global_dof_index> &dof_to_boundary_mapping,
+ SP &sparsity);
#endif
(const DoFHandler<1,3> &dof_handler,
std::vector<bool> &selected_dofs);
-// template
-// void
-// DoFTools::map_dof_to_boundary_indices<hp::DoFHandler<1,3> >
-// (const hp::DoFHandler<1,3> &,
-// const std::set<unsigned char> &,
-// std::vector<types::global_dof_index> &);
-
-// template
-// void
-// DoFTools::map_dof_to_boundary_indices<hp::DoFHandler<1,3> >
-// (const hp::DoFHandler<1,3> &,
-// std::vector<types::global_dof_index> &);
+template
+void
+DoFTools::map_dof_to_boundary_indices<hp::DoFHandler<1,3> >
+(const hp::DoFHandler<1,3> &,
+ const std::set<unsigned char> &,
+ std::vector<types::global_dof_index> &);
+
+template
+void
+DoFTools::map_dof_to_boundary_indices<hp::DoFHandler<1,3> >
+(const hp::DoFHandler<1,3> &,
+ std::vector<types::global_dof_index> &);
#endif