Skip to content

Commit a0ee54e

Browse files
committed
STY: astyle, yo
1 parent ce0ab93 commit a0ee54e

29 files changed

+291
-277
lines changed

include/advance.h

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,20 @@
3333

3434

3535
bool advance(Planets &planet,
36-
Grid &gGrid,
37-
Grid &mGrid,
38-
Times &time,
39-
Euv &euv,
40-
Neutrals &neutrals,
41-
Neutrals &neutralsMag,
42-
Ions &ions,
43-
Ions &ionsMag,
44-
Chemistry &chemistry,
45-
Chemistry &chemistryMag,
46-
Electrodynamics &electrodynamics,
47-
Electrodynamics &electrodynamicsMag,
48-
Indices &indices,
49-
Logfile &logfile,
50-
Logfile &logfileMag);
36+
Grid &gGrid,
37+
Grid &mGrid,
38+
Times &time,
39+
Euv &euv,
40+
Neutrals &neutrals,
41+
Neutrals &neutralsMag,
42+
Ions &ions,
43+
Ions &ionsMag,
44+
Chemistry &chemistry,
45+
Chemistry &chemistryMag,
46+
Electrodynamics &electrodynamics,
47+
Electrodynamics &electrodynamicsMag,
48+
Indices &indices,
49+
Logfile &logfile,
50+
Logfile &logfileMag);
5151

5252
#endif // INCLUDE_ADVANCE_H_

include/aurora.h

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@
1212
**/
1313

1414
void read_aurora(Neutrals &neutrals,
15-
Ions &ions);
15+
Ions &ions);
1616

1717
arma_vec calculate_fang(float eflux, // in ergs/cm2/s
18-
float avee, // in keV
19-
float Ebin, // eV
20-
arma_vec rhoH,
21-
std::vector<float> Ci,
22-
float dE, // eV
23-
arma_vec H,
24-
bool DoDebug);
18+
float avee, // in keV
19+
float Ebin, // eV
20+
arma_vec rhoH,
21+
std::vector<float> Ci,
22+
float dE, // eV
23+
arma_vec H,
24+
bool DoDebug);
2525

2626
/**********************************************************************
2727
* brief Read in a file containing information about splitting ionization
@@ -32,7 +32,7 @@ arma_vec calculate_fang(float eflux, // in ergs/cm2/s
3232
**/
3333

3434
void calc_aurora(Grid grid,
35-
Neutrals &neutrals,
36-
Ions &ions);
35+
Neutrals &neutrals,
36+
Ions &ions);
3737

3838
#endif // INCLUDE_AURORA_H_

include/bfield.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@ struct bfield_info_type {
1111
};
1212

1313
arma_vec get_magnetic_pole(int IsNorth,
14-
Planets planet);
14+
Planets planet);
1515

1616
bfield_info_type get_bfield(precision_t lon,
1717
precision_t lat,
1818
precision_t alt,
19-
bool DoDebug,
19+
bool DoDebug,
2020
Planets planet);
2121

2222
bfield_info_type get_dipole(precision_t lon,
2323
precision_t lat,
2424
precision_t alt,
25-
bool DoDebug,
25+
bool DoDebug,
2626
Planets planet);
2727

2828
#endif // INCLUDE_BFIELD_H_

include/calc_euv.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@
2121
// -------------------------------------------------------------------------
2222

2323
bool calc_euv(Planets planet,
24-
Grid grid,
25-
Times time,
26-
Euv &euv,
27-
Neutrals &neutrals,
28-
Ions &ions,
29-
Indices indices);
24+
Grid grid,
25+
Times time,
26+
Euv &euv,
27+
Neutrals &neutrals,
28+
Ions &ions,
29+
Indices indices);
3030

3131
void calc_ionization_heating(Euv euv,
32-
Neutrals &neutrals,
33-
Ions &ions);
32+
Neutrals &neutrals,
33+
Ions &ions);
3434

3535

3636
#endif // INCLUDE_CALC_EUV_H_

include/calc_grid_derived.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#include <vector>
88

99
// ----------------------------------------------------------------------------
10-
//
10+
//
1111
// ----------------------------------------------------------------------------
1212

1313
std::vector<precision_t> calc_bin_edges(std::vector<precision_t> centers);
@@ -19,8 +19,8 @@ arma_vec calc_bin_widths(arma_vec centers);
1919
// ----------------------------------------------------------------------------
2020
// A helper function for mapping grids
2121
// ----------------------------------------------------------------------------
22-
bool grid_match(Grid gGrid,
23-
Grid mGrid,
22+
bool grid_match(Grid gGrid,
23+
Grid mGrid,
2424
Quadtree gQuadtree,
2525
Quadtree mQuadtree);
2626

include/chemistry.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class Chemistry {
7272
/// type of formula to use for reaction rate:
7373
int type;
7474
/// name of the reaction
75-
std::string name;
75+
std::string name;
7676

7777
};
7878

@@ -93,12 +93,12 @@ class Chemistry {
9393
Ions &ions);
9494

9595
private:
96-
bool search(std::string name,
97-
json &headers,
96+
bool search(std::string name,
97+
json &headers,
9898
std::vector<std::string> &error);
9999

100-
bool check_chemistry_file(json &headers,
101-
std::vector<std::vector<std::string>> csv,
100+
bool check_chemistry_file(json &headers,
101+
std::vector<std::vector<std::string>> csv,
102102
Report &report);
103103

104104
int read_chemistry_file(Neutrals neutrals,
@@ -107,7 +107,7 @@ class Chemistry {
107107
reaction_type interpret_reaction_line(const Neutrals &neutrals,
108108
const Ions &ions,
109109
const std::vector<std::string> &line,
110-
const json &headers);
110+
const json &headers);
111111

112112
void find_species_id(const std::string &name,
113113
const Neutrals &neutrals,

include/collisions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
#include "ions.h"
1212

1313
void calc_ion_neutral_coll_freq(Neutrals &neutrals,
14-
Ions &ions);
14+
Ions &ions);
1515

1616
#endif // INCLUDE_COLLISIONS_H_

0 commit comments

Comments
 (0)