Skip to content

Commit

Permalink
Lwji/setthetazero (#54)
Browse files Browse the repository at this point in the history
* Z4cow: update Z4c_vars.wl

* Z4cow: make par set_Theta_zero work
  • Loading branch information
lwJi authored Jan 16, 2025
1 parent b36cc5e commit 98adaaa
Show file tree
Hide file tree
Showing 4 changed files with 1,701 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Z4cow/src/rhs.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,11 @@ extern "C" void Z4cow_RHS(CCTK_ARGUMENTS) {
const nvtxRangeId_t range = nvtxRangeStartA("Z4cow_RHS::rhs");
#endif

if (set_Theta_zero) {
#include "../wolfram/Z4cow_set_rhs_freezeTheta.hxx"
} else {
#include "../wolfram/Z4cow_set_rhs.hxx"
}

#ifdef __CUDACC__
nvtxRangeEnd(range);
Expand Down
Loading

0 comments on commit 98adaaa

Please sign in to comment.