Skip to content

Commit

Permalink
remove empty line, cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
zhichen3 committed Sep 8, 2024
1 parent 23e64a7 commit 59ca30f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Source/driver/Castro_util.H
Original file line number Diff line number Diff line change
Expand Up @@ -333,12 +333,11 @@ Real area(const int& i, const int& j, const int& k,
Real r = geomdata.ProbLo()[0] + (static_cast<Real>(i) + 0.5_rt) * dx[0];
Real theta = geomdata.ProbLo()[1] + static_cast<Real>(j) * dx[1];

a = 2.0_rt * M_PI * std::sin(theta) * dx[0] * r;
a = 2.0_rt * M_PI * std::sin(theta) * r * dx[0];
}

}


#else

// Cartesian
Expand Down

0 comments on commit 59ca30f

Please sign in to comment.