Skip to content

Commit b7a218e

Browse files
committed
Header cleanup
1 parent a8b0e56 commit b7a218e

15 files changed

+19
-22
lines changed

Diff for: src/analysis.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#include "aux/timers.h"
1010
#include "aux/table_2d.h"
1111
#include "aux/equidistant_table.h"
12-
#include <aux/sparsehistogram.h>
12+
#include "aux/sparsehistogram.h"
1313
#include <Eigen/SparseCore>
1414
#include <limits>
1515
#include <memory>

Diff for: src/aux/eigen_cerealisation.h

+2-4
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,8 @@
2222
#ifndef EIGENCEREALISATION_HPP_
2323
#define EIGENCEREALISATION_HPP_
2424

25-
#include "cereal/cereal.hpp"
26-
27-
#include "Eigen/Core"
28-
25+
#include <cereal/cereal.hpp>
26+
#include <Eigen/Core>
2927
#include <cstdint>
3028

3129
/**

Diff for: src/aux/eigensupport.h

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
#include <Eigen/Core>
44
#include <nlohmann/json.hpp>
5-
65
#include "aux/eigen_cerealisation.h"
76

87
// Eigen<->JSON (de)serialization

Diff for: src/celllistimpl.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#include <range/v3/view/transform.hpp>
2020
#include "celllist.h"
2121
#include "core.h"
22-
#include "spdlog/spdlog.h"
22+
#include <spdlog/spdlog.h>
2323

2424
namespace Faunus {
2525

Diff for: src/externalpotential.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include "aux/eigensupport.h"
55
#include "functionparser.h"
66
#include "space.h"
7-
#include "spdlog/spdlog.h"
7+
#include <spdlog/spdlog.h>
88

99
namespace Faunus::Energy {
1010

Diff for: src/faunus.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
#define DOCTEST_CONFIG_IMPLEMENT
2-
#include <doctest/doctest.h>
32
#include "mpicontroller.h"
43
#include "montecarlo.h"
54
#include "analysis.h"
65
#include "multipole.h"
76
#include "docopt.h"
8-
#include "progress_tracker.h"
9-
#include "spdlog/spdlog.h"
107
#include "move.h"
118
#include "actions.h"
9+
#include <doctest/doctest.h>
10+
#include <progress_tracker.h>
11+
#include <spdlog/spdlog.h>
1212
#include <spdlog/sinks/null_sink.h>
1313
#include <spdlog/sinks/stdout_color_sinks.h>
1414
#include <spdlog/sinks/basic_file_sink.h>

Diff for: src/io.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
#pragma once
22

33
#include "particle.h"
4-
#include "spdlog/spdlog.h"
54
#include "units.h"
65
#include "group.h"
76
#include <fstream>
87
#include <type_traits>
98
#include <concepts>
109
#include <iterator>
10+
#include <spdlog/spdlog.h>
1111
#include <range/v3/iterator/operations.hpp>
1212
#include <range/v3/algorithm/for_each.hpp>
1313
#include <numeric>

Diff for: src/molecule.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
#include "geometry.h"
44
#include "rotate.h"
55
#include "bonds.h"
6-
#include "spdlog/spdlog.h"
76
#include "aux/eigensupport.h"
87
#include <functional>
8+
#include <spdlog/spdlog.h>
99
#include <range/v3/view/transform.hpp>
1010
#include <range/v3/view/join.hpp>
1111
#include <range/v3/view/filter.hpp>

Diff for: src/montecarlo.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#include "speciation.h"
33
#include "energy.h"
44
#include "move.h"
5-
#include "spdlog/spdlog.h"
5+
#include <spdlog/spdlog.h>
66
#include <range/v3/algorithm/for_each.hpp>
77

88
namespace Faunus {

Diff for: src/move.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#include <doctest/doctest.h>
21
#include "core.h"
32
#include "move.h"
43
#include "speciation.h"
@@ -10,7 +9,8 @@
109
#include "regions.h"
1110
#include "aux/iteratorsupport.h"
1211
#include "aux/eigensupport.h"
13-
#include "spdlog/spdlog.h"
12+
#include <spdlog/spdlog.h>
13+
#include <doctest/doctest.h>
1414
#include <range/v3/view/counted.hpp>
1515
#include <range/v3/algorithm/count.hpp>
1616
#include <range/v3/algorithm/fold_left.hpp>

Diff for: src/penalty.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include "penalty.h"
22
#include "space.h"
3-
#include "spdlog/spdlog.h"
3+
#include <spdlog/spdlog.h>
44

55
namespace Faunus::Energy {
66

@@ -234,4 +234,4 @@ void PenaltyMPI::averagePenaltyFunctions() {
234234
}
235235

236236
#endif
237-
} // namespace Faunus::Energy
237+
} // namespace Faunus::Energy

Diff for: src/potentials.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
#include "units.h"
44
#include "auxiliary.h"
55
#include "aux/arange.h"
6-
#include "spdlog/spdlog.h"
76
#include "smart_montecarlo.h"
87
#include <coulombgalore.h>
8+
#include <spdlog/spdlog.h>
99

1010
namespace Faunus::pairpotential {
1111

Diff for: src/scatter.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include "io.h"
44

55
//#define ANKERL_NANOBENCH_IMPLEMENT
6-
#include "nanobench.h"
6+
#include <nanobench.h>
77

88
namespace Faunus::Scatter {
99

Diff for: src/space.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include "space.h"
22
#include "io.h"
3-
#include "spdlog/spdlog.h"
43
#include "aux/eigensupport.h"
4+
#include <spdlog/spdlog.h>
55
#include <range/v3/algorithm/for_each.hpp>
66
#include <range/v3/algorithm/count_if.hpp>
77
#include <doctest/doctest.h>

Diff for: src/speciation.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include "bonds.h"
22
#include "speciation.h"
33
#include "aux/iteratorsupport.h"
4-
#include "range/v3/range/conversion.hpp"
4+
#include <range/v3/range/conversion.hpp>
55
#include <algorithm>
66
#include <range/v3/algorithm/all_of.hpp>
77
#include <range/v3/view/take.hpp>

0 commit comments

Comments
 (0)