Skip to content

Commit

Permalink
clang-format: run indent-all
Browse files Browse the repository at this point in the history
  • Loading branch information
tamiko committed Aug 22, 2023
1 parent 3b3f656 commit 5ebe21b
Show file tree
Hide file tree
Showing 1,609 changed files with 20,087 additions and 20,040 deletions.
2 changes: 1 addition & 1 deletion contrib/python-bindings/include/mapping_wrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ namespace python
PointWrapper
project_real_point_to_unit_point_on_face(CellAccessorWrapper &cell,
const unsigned int face_no,
PointWrapper & point);
PointWrapper &point);

/**
* Get the underlying mapping.
Expand Down
2 changes: 1 addition & 1 deletion contrib/python-bindings/include/tria_accessor_wrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ namespace python
/**
* Constructor.
*/
TriaAccessorWrapper(void * tria_accessor,
TriaAccessorWrapper(void *tria_accessor,
const int structdim,
const int dim,
const int spacedim);
Expand Down
18 changes: 9 additions & 9 deletions contrib/python-bindings/include/triangulation_wrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ namespace python
*/
void
generate_subdivided_hyper_rectangle(boost::python::list &repetitions,
PointWrapper & p1,
PointWrapper & p2,
PointWrapper &p1,
PointWrapper &p2,
const bool colorize = false);

/**
Expand All @@ -159,8 +159,8 @@ namespace python
*/
void
generate_subdivided_steps_hyper_rectangle(boost::python::list &step_sizes,
PointWrapper & p1,
PointWrapper & p2,
PointWrapper &p1,
PointWrapper &p2,
const bool colorize = false);

/**
Expand All @@ -174,7 +174,7 @@ namespace python
void
generate_subdivided_material_hyper_rectangle(
boost::python::list &spacing,
PointWrapper & p,
PointWrapper &p,
boost::python::list &material_id,
const bool colorize = false);

Expand Down Expand Up @@ -260,7 +260,7 @@ namespace python
/*! @copydoc GridGenerator::hyper_shell
*/
void
generate_hyper_shell(PointWrapper & center,
generate_hyper_shell(PointWrapper &center,
const double inner_radius,
const double outer_radius,
const unsigned n_cells = 0,
Expand All @@ -287,7 +287,7 @@ namespace python
*/
void
replicate_triangulation(TriangulationWrapper &tria_in,
boost::python::list & extents);
boost::python::list &extents);

/*! @copydoc GridGenerator::flatten_triangulation
*/
Expand Down Expand Up @@ -319,7 +319,7 @@ namespace python
/*! @copydoc GridTools::find_active_cell_around_point
*/
CellAccessorWrapper
find_active_cell_around_point(PointWrapper & p,
find_active_cell_around_point(PointWrapper &p,
MappingQWrapper mapping = MappingQWrapper());

/*! @copydoc GridTools::find_cells_adjacent_to_vertex
Expand Down Expand Up @@ -384,7 +384,7 @@ namespace python
/*! @copydoc GridTools::compute_aspect_ratio_of_cells
*/
boost::python::list
compute_aspect_ratio_of_cells(const MappingQWrapper & mapping,
compute_aspect_ratio_of_cells(const MappingQWrapper &mapping,
const QuadratureWrapper &quadrature);

/**
Expand Down
8 changes: 4 additions & 4 deletions contrib/python-bindings/source/mapping_wrapper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ namespace python
project_real_point_to_unit_point_on_face(void *mapping_ptr,
void *cell_accessor_ptr,
const unsigned int face_no,
void * point_ptr)
void *point_ptr)
{
const MappingQ<dim, spacedim> *mapping =
static_cast<const MappingQ<dim, spacedim> *>(mapping_ptr);
Expand Down Expand Up @@ -218,7 +218,7 @@ namespace python

PointWrapper
MappingQWrapper::transform_unit_to_real_cell(CellAccessorWrapper &cell,
PointWrapper & p)
PointWrapper &p)
{
AssertThrow(
dim == p.get_dim(),
Expand All @@ -243,7 +243,7 @@ namespace python

PointWrapper
MappingQWrapper::transform_real_to_unit_cell(CellAccessorWrapper &cell,
PointWrapper & p)
PointWrapper &p)
{
AssertThrow(
spacedim == p.get_dim(),
Expand All @@ -270,7 +270,7 @@ namespace python
MappingQWrapper::project_real_point_to_unit_point_on_face(
CellAccessorWrapper &cell,
const unsigned int face_no,
PointWrapper & p)
PointWrapper &p)
{
AssertThrow(
spacedim == p.get_dim(),
Expand Down
2 changes: 1 addition & 1 deletion contrib/python-bindings/source/tria_accessor_wrapper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ namespace python
ExcMessage("Wrong structdim-dim-spacedim combination."));
}

TriaAccessorWrapper::TriaAccessorWrapper(void * tria_accessor,
TriaAccessorWrapper::TriaAccessorWrapper(void *tria_accessor,
const int structdim,
const int dim,
const int spacedim)
Expand Down

0 comments on commit 5ebe21b

Please sign in to comment.