# disable performance-inefficient-string-concatenation because we don't care about "a"+to_string(5)+...
CHECKS="-*,
- mpi-*,
- performance-*,
- -performance-inefficient-string-concatenation,
+ cppcoreguidelines-pro-type-static-cast-downcast,
+ google-readability-casting,
modernize-use-emplace,
modernize-deprecated-headers,
- modernize-use-using"
+ modernize-use-using,
+ mpi-*,
+ performance-*,
+ -performance-inefficient-string-concatenation"
CHECKS="$(echo "${CHECKS}" | tr -d '[:space:]')"
echo "$CHECKS"
// exception if that is not possible
Assert(dynamic_cast<const InternalData *>(&fe_internal) != nullptr,
ExcInternalError());
- const InternalData &fe_data = static_cast<const InternalData &>(fe_internal);
+ const InternalData &fe_data =
+ static_cast<const InternalData &>(fe_internal); // NOLINT
// transform gradients and higher derivatives. there is nothing to do
// for values since we already emplaced them into output_data when
// exception if that is not possible
Assert(dynamic_cast<const InternalData *>(&fe_internal) != nullptr,
ExcInternalError());
- const InternalData &fe_data = static_cast<const InternalData &>(fe_internal);
+ const InternalData &fe_data =
+ static_cast<const InternalData &>(fe_internal); // NOLINT
// transform gradients and higher derivatives. there is nothing to do
// for values since we already emplaced them into output_data when
// exception if that is not possible
Assert(dynamic_cast<const InternalData *>(&fe_internal) != nullptr,
ExcInternalError());
- const InternalData &fe_data = static_cast<const InternalData &>(fe_internal);
+ const InternalData &fe_data =
+ static_cast<const InternalData &>(fe_internal); // NOLINT
// transform gradients and higher derivatives. there is nothing to do
// for values since we already emplaced them into output_data when
// exception if that is not possible
Assert(dynamic_cast<const InternalData *>(&fe_internal) != nullptr,
ExcInternalError());
- const InternalData &fe_data = static_cast<const InternalData &>(fe_internal);
+ const InternalData &fe_data =
+ static_cast<const InternalData &>(fe_internal); // NOLINT
// transform gradients and higher derivatives. there is nothing to do
// for values since we already emplaced them into output_data when
// TODO A dynamic_cast fails here, this is suspicious.
const auto &range_map =
- static_cast<const Epetra_Map &>(graph->RangeMap());
+ static_cast<const Epetra_Map &>(graph->RangeMap()); // NOLINT
int ierr = graph->GlobalAssemble(*column_space_map, range_map, true);
AssertThrow(ierr == 0, ExcTrilinosError(ierr));
{
// TODO A dynamic_cast fails here, this is suspicious.
const auto &range_map =
- static_cast<const Epetra_Map &>(graph->RangeMap());
+ static_cast<const Epetra_Map &>(graph->RangeMap()); // NOLINT
ierr = graph->GlobalAssemble(*column_space_map, range_map, true);
AssertThrow(ierr == 0, ExcTrilinosError(ierr));
}
{
// TODO A dynamic_cast fails here, this is suspicious.
const auto &domain_map =
- static_cast<const Epetra_Map &>(graph->DomainMap());
+ static_cast<const Epetra_Map &>(graph->DomainMap()); // NOLINT
return domain_map;
}
SparsityPattern::range_partitioner() const
{
// TODO A dynamic_cast fails here, this is suspicious.
- const auto &range_map = static_cast<const Epetra_Map &>(graph->RangeMap());
+ const auto &range_map =
+ static_cast<const Epetra_Map &>(graph->RangeMap()); // NOLINT
return range_map;
}
SparsityPattern::row_partitioner() const
{
// TODO A dynamic_cast fails here, this is suspicious.
- const auto &row_map = static_cast<const Epetra_Map &>(graph->RowMap());
+ const auto &row_map =
+ static_cast<const Epetra_Map &>(graph->RowMap()); // NOLINT
return row_map;
}
SparsityPattern::col_partitioner() const
{
// TODO A dynamic_cast fails here, this is suspicious.
- const auto &col_map = static_cast<const Epetra_Map &>(graph->ColMap());
+ const auto &col_map =
+ static_cast<const Epetra_Map &>(graph->ColMap()); // NOLINT
return col_map;
}