Skip to content

Conversation

@yoonso0-0
Copy link
Contributor

Proposed changes

Upgrade instructions

Code review checklist

  • The code is documented and the documentation renders correctly. Run
    make doc to generate the documentation locally into BUILD_DIR/docs/html.
    Then open index.html.
  • The code follows the stylistic and code quality guidelines listed in the
    code review guide.
  • The PR lists upgrade instructions and is labeled bugfix or
    new feature if appropriate.

Further comments

Copy link
Member

@nilsdeppe nilsdeppe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! A few minor things you can squash immediately :)

*
* - However, regardless of whether the normal component of the spatial
* velocity $n_iv^i$ is pointing outward or inward, the lorentz factor \f$W\f$
* is copied into ghost zone without any modification.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe write out (briefly) the justification we had for this?

const Scalar<DataVector>& interior_lapse,
const tnsr::II<DataVector, 3, Frame::Inertial>&
interior_inv_spatial_metric) {
const size_t vector_size = get(interior_rest_mass_density).size();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vector_size -> number_of_grid_points

auto& exterior_divergence_cleaning_field =
get<::Tags::TempScalar<2>>(temp_buffer);

determinant_and_inverse(make_not_null(&sqrt_det_spatial_metric),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it not possible to get these two from the interior? If not, that's fine, just curious :)

Copy link
Contributor Author

@yoonso0-0 yoonso0-0 Sep 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Turns out.. it can 😂

I pushed this change as a fixup since it comes with nontrivial change of codes

@yoonso0-0 yoonso0-0 force-pushed the add_dg_freeoutflow_grmhd branch 7 times, most recently from b9c2625 to 259243c Compare September 2, 2022 18:46
@yoonso0-0
Copy link
Contributor Author

Squashed fixes to the first two comments and pushed a fixup for the third one.

Copy link
Member

@nilsdeppe nilsdeppe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, one comment, you can squash that in right away :)

@yoonso0-0 yoonso0-0 force-pushed the add_dg_freeoutflow_grmhd branch from 259243c to 72c61e0 Compare September 2, 2022 21:18
@nilsdeppe nilsdeppe merged commit 07adda4 into sxs-collaboration:develop Sep 6, 2022
@yoonso0-0 yoonso0-0 deleted the add_dg_freeoutflow_grmhd branch September 6, 2022 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants