Skip to content

Commit 3bcd3fa

Browse files
committed
STY: Astyle, yo
1 parent ae3ce01 commit 3bcd3fa

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/init_mag_grid.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ bool Grid::init_dipole_grid(Quadtree quadtree_ion, Planets planet) {
145145

146146
arma_vec lon1dLeft(nLons + 1);
147147

148-
// if we are not doing anything in the lon direction, then set dlon to
148+
// If we are not doing anything in the lon direction, then set dlon to
149149
// something reasonable:
150150
if (!HasXdim)
151151
dlon = 1.0 * cDtoR;
@@ -158,7 +158,7 @@ bool Grid::init_dipole_grid(Quadtree quadtree_ion, Planets planet) {
158158
/////////////////
159159

160160
// - Make a 1d vector
161-
// - copy it into the 3d cube
161+
// - Copy it into the 3d cube
162162
for (iLon = 0; iLon < nLons; iLon++) {
163163
lon1d(iLon) = lon0 + (iLon - nGCs + 0.5) * dlon;
164164
lon1dLeft(iLon) = lon0 + (iLon - nGCs) * dlon; // corners
@@ -504,9 +504,8 @@ bool Grid::init_dipole_grid(Quadtree quadtree_ion, Planets planet) {
504504

505505
calc_dipole_grid_spacing(planet);
506506

507-
508507
//////////////////////////////////////
509-
// Generate mask for physicsl cells //
508+
// Generate mask for physical cells //
510509
//////////////////////////////////////
511510

512511
isTooLowCell = find(geoAlt_scgc < grid_input.alt_min * cKMtoM);

0 commit comments

Comments
 (0)