-namespace
+namespace internal
{
class FaceRangeComparator
{
const bool include;
const bool only_face_type;
};
-} // namespace
+} // namespace internal
face_info.faces.begin() + range.second,
std::array<unsigned int, 3>{
{face_type, fe_index_interior, fe_index_exterior}},
- FaceRangeComparator(fe_indices, false, only_face_type)) -
+ internal::FaceRangeComparator(fe_indices,
+ false,
+ only_face_type)) -
face_info.faces.begin();
return_range.second =
std::lower_bound(
face_info.faces.begin() + range.second,
std::array<unsigned int, 3>{
{face_type, fe_index_interior, fe_index_exterior}},
- FaceRangeComparator(fe_indices, true, only_face_type)) -
+ internal::FaceRangeComparator(fe_indices,
+ true,
+ only_face_type)) -
face_info.faces.begin();
Assert(return_range.first >= range.first &&
return_range.second <= range.second,
std::pair<unsigned int, unsigned int> return_range;
return_range.first =
- std::lower_bound(
- face_info.faces.begin() + range.first,
- face_info.faces.begin() + range.second,
- std::array<unsigned int, 2>{{face_type, fe_index}},
- FaceRangeComparator(fe_indices, false, only_face_type)) -
+ std::lower_bound(face_info.faces.begin() + range.first,
+ face_info.faces.begin() + range.second,
+ std::array<unsigned int, 2>{
+ {face_type, fe_index}},
+ internal::FaceRangeComparator(
+ fe_indices, false, only_face_type)) -
face_info.faces.begin();
return_range.second =
- std::lower_bound(
- face_info.faces.begin() + return_range.first,
- face_info.faces.begin() + range.second,
- std::array<unsigned int, 2>{{face_type, fe_index}},
- FaceRangeComparator(fe_indices, true, only_face_type)) -
+ std::lower_bound(face_info.faces.begin() + return_range.first,
+ face_info.faces.begin() + range.second,
+ std::array<unsigned int, 2>{
+ {face_type, fe_index}},
+ internal::FaceRangeComparator(
+ fe_indices, true, only_face_type)) -
face_info.faces.begin();
Assert(return_range.first >= range.first &&
return_range.second <= range.second,