Skip to content

Commit b43b50b

Browse files
committed
Clang format.
1 parent 03a9047 commit b43b50b

File tree

2 files changed

+16
-17
lines changed

2 files changed

+16
-17
lines changed

src/mam4xx/gas_chem_mechanism.hpp

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,16 @@ constexpr Real adv_mass[gas_pcnst] = {
3131
1.007400};
3232

3333
KOKKOS_INLINE_FUNCTION
34-
const Real* get_adv_mass() {
35-
static constexpr Real adv_mass[gas_pcnst] = {
36-
47.998200, 34.013600, 98.078400, 64.064800, 62.132400,
37-
12.011000, 115.107340, 12.011000, 12.011000, 12.011000,
38-
135.064039, 58.442468, 250092.672000, 1.007400, 115.107340,
39-
12.011000, 58.442468, 250092.672000, 1.007400, 135.064039,
40-
58.442468, 115.107340, 12.011000, 12.011000, 12.011000,
41-
250092.672000, 1.007400, 12.011000, 12.011000, 250092.672000,
42-
1.007400
43-
};
44-
return adv_mass;
34+
const Real *get_adv_mass() {
35+
static constexpr Real adv_mass[gas_pcnst] = {
36+
47.998200, 34.013600, 98.078400, 64.064800, 62.132400,
37+
12.011000, 115.107340, 12.011000, 12.011000, 12.011000,
38+
135.064039, 58.442468, 250092.672000, 1.007400, 115.107340,
39+
12.011000, 58.442468, 250092.672000, 1.007400, 135.064039,
40+
58.442468, 115.107340, 12.011000, 12.011000, 12.011000,
41+
250092.672000, 1.007400, 12.011000, 12.011000, 250092.672000,
42+
1.007400};
43+
return adv_mass;
4544
}
4645

4746
KOKKOS_INLINE_FUNCTION

src/mam4xx/mam4_amicphys.hpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1518,12 +1518,12 @@ void mam_amicphys_1subarea(
15181518
}
15191519
// BAD CONSTANT
15201520
constexpr Real mass_2_vol[num_aerosol_ids] = {0.15,
1521-
6.4971751412429377e-002,
1522-
0.15,
1523-
7.0588235294117650e-003,
1524-
3.0789473684210526e-002,
1525-
5.1923076923076926e-002,
1526-
156.20986883198000};
1521+
6.4971751412429377e-002,
1522+
0.15,
1523+
7.0588235294117650e-003,
1524+
3.0789473684210526e-002,
1525+
5.1923076923076926e-002,
1526+
156.20986883198000};
15271527

15281528
Rename rename;
15291529
rename.mam_rename_1subarea_(

0 commit comments

Comments
 (0)