Skip to content

Commit

Permalink
update abs
Browse files Browse the repository at this point in the history
  • Loading branch information
zhichen3 committed Dec 3, 2024
1 parent 6d2e58d commit b7aa869
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/driver/Castro_util.H
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ Real area(const int& i, const int& j, const int& k,

Real r = geomdata.ProbLo()[0] + static_cast<Real>(i) * dx[0];

a = 4.0_rt * M_PI * r * r;
a = std::abs(4.0_rt * M_PI * r * r);

}

Expand Down

0 comments on commit b7aa869

Please sign in to comment.