Skip to content

Commit

Permalink
Merge pull request #27 from ShaunFell/Feature/KerrSchildFunctionality
Browse files Browse the repository at this point in the history
Feature: add ability to specify excision zones in KerrSchild class
  • Loading branch information
KAClough authored Oct 1, 2024
2 parents 495c0b0 + 897e81c commit 90fe0ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Background/KerrSchild.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ class KerrSchild
public:
// used to decide when to excise - ie when within the horizon of the BH
// note that this is not templated over data_t
bool check_if_excised(const Coordinates<double> &coords) const
bool check_if_excised(const Coordinates<double> &coords, const double innerH_buffer = 1.05, const double outerH_buffer = 0.9) const
{
// black hole params - mass M and spin a
const double M = m_params.mass;
Expand All @@ -270,7 +270,7 @@ class KerrSchild

bool is_excised = false;
// value less than 1 indicates we are within the horizon
if (outer_horizon < 0.9 || inner_horizon < 1.05)
if (outer_horizon < outerH_buffer || inner_horizon < innerH_buffer)
{
is_excised = true;
}
Expand Down

0 comments on commit 90fe0ba

Please sign in to comment.