Skip to content

Commit

Permalink
TestInterpolate: Rename CoordinatesX thorn
Browse files Browse the repository at this point in the history
  • Loading branch information
eschnett committed Aug 23, 2023
1 parent 32c6878 commit 76a5b7a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion TestInterpolate/interface.ccl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

IMPLEMENTS: TestInterpolate

INHERITS: Coordinates
INHERITS: CoordinatesX

USES INCLUDE HEADER: loop.hxx

Expand Down
2 changes: 1 addition & 1 deletion TestInterpolate/schedule.ccl
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ SCHEDULE TestInterpolate_test_interpolation AT poststep
{
LANG: C
OPTIONS: global
READS: Coordinates::vertex_coords(everywhere)
READS: CoordinatesX::vertex_coords(everywhere)
WRITES: results_interpolate, results_driver_interpolate, reference
} "Test interpolation operators"
6 changes: 3 additions & 3 deletions TestInterpolate/src/test_interpolation.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ extern "C" void TestInterpolate_test_interpolation(CCTK_ARGUMENTS) {
const CCTK_INT all_operations[1 + N_dims + N_dims*(N_dims-1)] = {0, 1, 2, 3, 11, 12, 13, 22, 23, 33};

const CCTK_INT all_varinds[N_dims] = {
CCTK_VarIndex("Coordinates::vcoordx"),
CCTK_VarIndex("Coordinates::vcoordy"),
CCTK_VarIndex("Coordinates::vcoordz"),
CCTK_VarIndex("CoordinatesX::vcoordx"),
CCTK_VarIndex("CoordinatesX::vcoordy"),
CCTK_VarIndex("CoordinatesX::vcoordz"),
};

constexpr int nvars = DIM(all_varinds) * DIM(all_operations);
Expand Down
2 changes: 1 addition & 1 deletion TestInterpolate/test/interpolate.par
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ActiveThorns = "
CarpetX
Coordinates
CoordinatesX
IOUtil
SystemTopology
TestInterpolate
Expand Down

0 comments on commit 76a5b7a

Please sign in to comment.