Skip to content

Commit

Permalink
Merge pull request #5914 from gassmoeller/remove_unnecessary_includes
Browse files Browse the repository at this point in the history
Remove unnecessary includes from particle interpolators
  • Loading branch information
jdannberg authored Jun 15, 2024
2 parents a169d67 + 71c378c commit 5965bcf
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 21 deletions.
5 changes: 0 additions & 5 deletions include/aspect/particle/interpolator/bilinear_least_squares.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@ namespace aspect
{
namespace Interpolator
{
namespace internal
{
bool string_to_bool(const std::string &s);
}

/**
* Evaluate the properties of all particles of the given cell
* using a least squares projection onto the set of bilinear
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#include <aspect/particle/interpolator/interface.h>
#include <aspect/particle/interpolator/cell_average.h>
#include <aspect/simulator_access.h>
#include <deal.II/lac/lapack_full_matrix.h>

namespace aspect
{
Expand Down
5 changes: 2 additions & 3 deletions source/particle/interpolator/bilinear_least_squares.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,13 @@

#include <aspect/particle/interpolator/bilinear_least_squares.h>
#include <aspect/postprocess/particles.h>
#include <aspect/simulator.h>
#include <aspect/particle/world.h>
#include <aspect/utilities.h>

#include <deal.II/grid/grid_tools.h>
#include <deal.II/base/signaling_nan.h>
#include <deal.II/lac/qr.h>

#include <boost/lexical_cast.hpp>

namespace aspect
{
namespace Particle
Expand Down
2 changes: 0 additions & 2 deletions source/particle/interpolator/cell_average.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
*/

#include <aspect/particle/interpolator/cell_average.h>
#include <aspect/postprocess/particles.h>
#include <aspect/simulator.h>

#include <deal.II/grid/grid_tools.h>
#include <deal.II/base/signaling_nan.h>
Expand Down
3 changes: 0 additions & 3 deletions source/particle/interpolator/harmonic_average.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@
*/

#include <aspect/particle/interpolator/harmonic_average.h>
#include <aspect/particle/property/interface.h>
#include <aspect/postprocess/particles.h>
#include <aspect/simulator.h>

#include <deal.II/grid/grid_tools.h>
#include <deal.II/base/signaling_nan.h>
Expand Down
2 changes: 0 additions & 2 deletions source/particle/interpolator/nearest_neighbor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
*/

#include <aspect/particle/interpolator/nearest_neighbor.h>
#include <aspect/postprocess/particles.h>
#include <aspect/simulator.h>

#include <deal.II/grid/grid_tools.h>

Expand Down
7 changes: 2 additions & 5 deletions source/particle/interpolator/quadratic_least_squares.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,13 @@
*/

#include <aspect/particle/interpolator/quadratic_least_squares.h>
#include <aspect/particle/interpolator/bilinear_least_squares.h>
#include <aspect/postprocess/particles.h>
#include <aspect/simulator.h>
#include <aspect/particle/world.h>
#include <aspect/utilities.h>

#include <deal.II/grid/grid_tools.h>
#include <deal.II/base/signaling_nan.h>
#include <deal.II/lac/qr.h>
#include <deal.II/grid/tria_iterator_base.h>

#include <boost/lexical_cast.hpp>

namespace aspect
{
Expand Down

0 comments on commit 5965bcf

Please sign in to comment.