Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement openPMD I/O for grid arrays #165

Merged
merged 3 commits into from
Jul 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
540 changes: 453 additions & 87 deletions CarpetX/src/io_openpmd.cxx

Large diffs are not rendered by default.

10 changes: 9 additions & 1 deletion TestOutput/schedule.ccl
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,17 @@
SCHEDULE TestOutput_SetVarsLocal AT initial
{
LANG: C
WRITES: gf(everywhere)
WRITES: gf(interior)
SYNC: gf
} "Set up local test variables"

SCHEDULE TestOutput_Sync AT post_recover_variables
{
LANG: C
OPTIONS: global
SYNC: gf
} "Synchronize local test variables"

SCHEDULE TestOutput_SetVarsGlobal AT initial
{
LANG: C
Expand Down
6 changes: 5 additions & 1 deletion TestOutput/src/SetVars.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,15 @@ namespace TestOutput {
extern "C" void TestOutput_SetVarsLocal(CCTK_ARGUMENTS) {
DECLARE_CCTK_ARGUMENTSX_TestOutput_SetVarsLocal;

grid.loop_all<0, 0, 0>(grid.nghostzones, [=](const Loop::PointDesc &p) {
grid.loop_int<0, 0, 0>(grid.nghostzones, [=](const Loop::PointDesc &p) {
gf(p.I) = p.z * 10000 + p.y * 100 + p.x;
});
}

extern "C" void TestOutput_Sync(CCTK_ARGUMENTS) {
DECLARE_CCTK_ARGUMENTSX_TestOutput_Sync;
}

extern "C" void TestOutput_SetVarsGlobal(CCTK_ARGUMENTS) {
DECLARE_CCTK_ARGUMENTSX_TestOutput_SetVarsGlobal;

Expand Down
46 changes: 46 additions & 0 deletions TestOutput/test/checkpoint-openpmd.par
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
ActiveThorns = "
CarpetX
IOUtil
TestOutput
"

Cactus::cctk_itlast = 0
Cactus::presync_mode = "mixed-error"

CarpetX::ncells_x = 32
CarpetX::ncells_y = 32
CarpetX::ncells_z = 32

CarpetX::xmin = 0.0
CarpetX::ymin = 0.0
CarpetX::zmin = 0.0
CarpetX::xmax = 32.0
CarpetX::ymax = 32.0
CarpetX::zmax = 32.0

CarpetX::boundary_x = "linear extrapolation"
CarpetX::boundary_y = "linear extrapolation"
CarpetX::boundary_z = "linear extrapolation"
CarpetX::boundary_upper_x = "linear extrapolation"
CarpetX::boundary_upper_y = "linear extrapolation"
CarpetX::boundary_upper_z = "linear extrapolation"

IO::out_dir = $parfile
IO::parfile_write = "no"
IO::out_every = 1

CarpetX::out_metadata = no

CarpetX::out_tsv_vars = "
TestOutput::gf
TestOutput::sc
TestOutput::a1
TestOutput::a2
TestOutput::a3
"

CarpetX::checkpoint_method = "openpmd"
IO::checkpoint_dir = "../checkpoints"
IO::checkpoint_ID = yes
IO::checkpoint_every = 1
IO::checkpoint_on_terminate = yes
11 changes: 11 additions & 0 deletions TestOutput/test/checkpoint-openpmd/testoutput-a1.it000000.x.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# 1:iteration 2:time 3:i 4:a1
0 0.0000000000000000e+00 0 0.0000000000000000e+00
0 0.0000000000000000e+00 1 1.0000000000000000e+00
0 0.0000000000000000e+00 2 2.0000000000000000e+00
0 0.0000000000000000e+00 3 3.0000000000000000e+00
0 0.0000000000000000e+00 4 4.0000000000000000e+00
0 0.0000000000000000e+00 5 5.0000000000000000e+00
0 0.0000000000000000e+00 6 6.0000000000000000e+00
0 0.0000000000000000e+00 7 7.0000000000000000e+00
0 0.0000000000000000e+00 8 8.0000000000000000e+00
0 0.0000000000000000e+00 9 9.0000000000000000e+00
10 changes: 10 additions & 0 deletions TestOutput/test/checkpoint-openpmd/testoutput-a2.it000000.x.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# 1:iteration 2:time 3:i 4:j 5:a2
0 0.0000000000000000e+00 0 0 0.0000000000000000e+00
0 0.0000000000000000e+00 1 0 1.0000000000000000e+00
0 0.0000000000000000e+00 2 0 2.0000000000000000e+00
0 0.0000000000000000e+00 3 0 3.0000000000000000e+00
0 0.0000000000000000e+00 4 0 4.0000000000000000e+00
0 0.0000000000000000e+00 5 0 5.0000000000000000e+00
0 0.0000000000000000e+00 6 0 6.0000000000000000e+00
0 0.0000000000000000e+00 7 0 7.0000000000000000e+00
0 0.0000000000000000e+00 8 0 8.0000000000000000e+00
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# 1:iteration 2:time 3:i 4:j 5:a2
0 0.0000000000000000e+00 0 0 0.0000000000000000e+00
0 0.0000000000000000e+00 0 1 1.0000000000000000e+02
0 0.0000000000000000e+00 0 2 2.0000000000000000e+02
0 0.0000000000000000e+00 0 3 3.0000000000000000e+02
0 0.0000000000000000e+00 0 4 4.0000000000000000e+02
0 0.0000000000000000e+00 0 5 5.0000000000000000e+02
0 0.0000000000000000e+00 0 6 6.0000000000000000e+02
0 0.0000000000000000e+00 0 7 7.0000000000000000e+02
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# 1:iteration 2:time 3:i 4:j 5:k 6:a3
0 0.0000000000000000e+00 0 0 0 0.0000000000000000e+00
0 0.0000000000000000e+00 1 0 0 1.0000000000000000e+00
0 0.0000000000000000e+00 2 0 0 2.0000000000000000e+00
0 0.0000000000000000e+00 3 0 0 3.0000000000000000e+00
0 0.0000000000000000e+00 4 0 0 4.0000000000000000e+00
0 0.0000000000000000e+00 5 0 0 5.0000000000000000e+00
0 0.0000000000000000e+00 6 0 0 6.0000000000000000e+00
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# 1:iteration 2:time 3:i 4:j 5:k 6:a3
0 0.0000000000000000e+00 0 0 0 0.0000000000000000e+00
0 0.0000000000000000e+00 0 1 0 1.0000000000000000e+02
0 0.0000000000000000e+00 0 2 0 2.0000000000000000e+02
0 0.0000000000000000e+00 0 3 0 3.0000000000000000e+02
0 0.0000000000000000e+00 0 4 0 4.0000000000000000e+02
0 0.0000000000000000e+00 0 5 0 1.0000000000000000e+04
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# 1:iteration 2:time 3:i 4:j 5:k 6:a3
0 0.0000000000000000e+00 0 0 0 0.0000000000000000e+00
0 0.0000000000000000e+00 0 0 1 1.0100000000000000e+04
0 0.0000000000000000e+00 0 0 2 2.0200000000000000e+04
0 0.0000000000000000e+00 0 0 3 3.0300000000000000e+04
0 0.0000000000000000e+00 0 0 4 4.0400000000000000e+04
36 changes: 36 additions & 0 deletions TestOutput/test/checkpoint-openpmd/testoutput-gf.it000000.x.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# 1:iteration 2:time 3:patch 4:level 5:i 6:j 7:k 8:x 9:y 10:z 11:gf
0 0.0000000000000000e+00 0 0 -1 0 0 -1.0000000000000000e+00 0.0000000000000000e+00 0.0000000000000000e+00 -1.0000000000000000e+00
0 0.0000000000000000e+00 0 0 0 0 0 0.0000000000000000e+00 0.0000000000000000e+00 0.0000000000000000e+00 0.0000000000000000e+00
0 0.0000000000000000e+00 0 0 1 0 0 1.0000000000000000e+00 0.0000000000000000e+00 0.0000000000000000e+00 1.0000000000000000e+00
0 0.0000000000000000e+00 0 0 2 0 0 2.0000000000000000e+00 0.0000000000000000e+00 0.0000000000000000e+00 2.0000000000000000e+00
0 0.0000000000000000e+00 0 0 3 0 0 3.0000000000000000e+00 0.0000000000000000e+00 0.0000000000000000e+00 3.0000000000000000e+00
0 0.0000000000000000e+00 0 0 4 0 0 4.0000000000000000e+00 0.0000000000000000e+00 0.0000000000000000e+00 4.0000000000000000e+00
0 0.0000000000000000e+00 0 0 5 0 0 5.0000000000000000e+00 0.0000000000000000e+00 0.0000000000000000e+00 5.0000000000000000e+00
0 0.0000000000000000e+00 0 0 6 0 0 6.0000000000000000e+00 0.0000000000000000e+00 0.0000000000000000e+00 6.0000000000000000e+00
0 0.0000000000000000e+00 0 0 7 0 0 7.0000000000000000e+00 0.0000000000000000e+00 0.0000000000000000e+00 7.0000000000000000e+00
0 0.0000000000000000e+00 0 0 8 0 0 8.0000000000000000e+00 0.0000000000000000e+00 0.0000000000000000e+00 8.0000000000000000e+00
0 0.0000000000000000e+00 0 0 9 0 0 9.0000000000000000e+00 0.0000000000000000e+00 0.0000000000000000e+00 9.0000000000000000e+00
0 0.0000000000000000e+00 0 0 10 0 0 1.0000000000000000e+01 0.0000000000000000e+00 0.0000000000000000e+00 1.0000000000000000e+01
0 0.0000000000000000e+00 0 0 11 0 0 1.1000000000000000e+01 0.0000000000000000e+00 0.0000000000000000e+00 1.1000000000000000e+01
0 0.0000000000000000e+00 0 0 12 0 0 1.2000000000000000e+01 0.0000000000000000e+00 0.0000000000000000e+00 1.2000000000000000e+01
0 0.0000000000000000e+00 0 0 13 0 0 1.3000000000000000e+01 0.0000000000000000e+00 0.0000000000000000e+00 1.3000000000000000e+01
0 0.0000000000000000e+00 0 0 14 0 0 1.4000000000000000e+01 0.0000000000000000e+00 0.0000000000000000e+00 1.4000000000000000e+01
0 0.0000000000000000e+00 0 0 15 0 0 1.5000000000000000e+01 0.0000000000000000e+00 0.0000000000000000e+00 1.5000000000000000e+01
0 0.0000000000000000e+00 0 0 16 0 0 1.6000000000000000e+01 0.0000000000000000e+00 0.0000000000000000e+00 1.6000000000000000e+01
0 0.0000000000000000e+00 0 0 17 0 0 1.7000000000000000e+01 0.0000000000000000e+00 0.0000000000000000e+00 1.7000000000000000e+01
0 0.0000000000000000e+00 0 0 18 0 0 1.8000000000000000e+01 0.0000000000000000e+00 0.0000000000000000e+00 1.8000000000000000e+01
0 0.0000000000000000e+00 0 0 19 0 0 1.9000000000000000e+01 0.0000000000000000e+00 0.0000000000000000e+00 1.9000000000000000e+01
0 0.0000000000000000e+00 0 0 20 0 0 2.0000000000000000e+01 0.0000000000000000e+00 0.0000000000000000e+00 2.0000000000000000e+01
0 0.0000000000000000e+00 0 0 21 0 0 2.1000000000000000e+01 0.0000000000000000e+00 0.0000000000000000e+00 2.1000000000000000e+01
0 0.0000000000000000e+00 0 0 22 0 0 2.2000000000000000e+01 0.0000000000000000e+00 0.0000000000000000e+00 2.2000000000000000e+01
0 0.0000000000000000e+00 0 0 23 0 0 2.3000000000000000e+01 0.0000000000000000e+00 0.0000000000000000e+00 2.3000000000000000e+01
0 0.0000000000000000e+00 0 0 24 0 0 2.4000000000000000e+01 0.0000000000000000e+00 0.0000000000000000e+00 2.4000000000000000e+01
0 0.0000000000000000e+00 0 0 25 0 0 2.5000000000000000e+01 0.0000000000000000e+00 0.0000000000000000e+00 2.5000000000000000e+01
0 0.0000000000000000e+00 0 0 26 0 0 2.6000000000000000e+01 0.0000000000000000e+00 0.0000000000000000e+00 2.6000000000000000e+01
0 0.0000000000000000e+00 0 0 27 0 0 2.7000000000000000e+01 0.0000000000000000e+00 0.0000000000000000e+00 2.7000000000000000e+01
0 0.0000000000000000e+00 0 0 28 0 0 2.8000000000000000e+01 0.0000000000000000e+00 0.0000000000000000e+00 2.8000000000000000e+01
0 0.0000000000000000e+00 0 0 29 0 0 2.9000000000000000e+01 0.0000000000000000e+00 0.0000000000000000e+00 2.9000000000000000e+01
0 0.0000000000000000e+00 0 0 30 0 0 3.0000000000000000e+01 0.0000000000000000e+00 0.0000000000000000e+00 3.0000000000000000e+01
0 0.0000000000000000e+00 0 0 31 0 0 3.1000000000000000e+01 0.0000000000000000e+00 0.0000000000000000e+00 3.1000000000000000e+01
0 0.0000000000000000e+00 0 0 32 0 0 3.2000000000000000e+01 0.0000000000000000e+00 0.0000000000000000e+00 3.2000000000000000e+01
0 0.0000000000000000e+00 0 0 33 0 0 3.3000000000000000e+01 0.0000000000000000e+00 0.0000000000000000e+00 3.3000000000000000e+01
36 changes: 36 additions & 0 deletions TestOutput/test/checkpoint-openpmd/testoutput-gf.it000000.y.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# 1:iteration 2:time 3:patch 4:level 5:i 6:j 7:k 8:x 9:y 10:z 11:gf
0 0.0000000000000000e+00 0 0 0 -1 0 0.0000000000000000e+00 -1.0000000000000000e+00 0.0000000000000000e+00 -1.0000000000000000e+02
0 0.0000000000000000e+00 0 0 0 0 0 0.0000000000000000e+00 0.0000000000000000e+00 0.0000000000000000e+00 0.0000000000000000e+00
0 0.0000000000000000e+00 0 0 0 1 0 0.0000000000000000e+00 1.0000000000000000e+00 0.0000000000000000e+00 1.0000000000000000e+02
0 0.0000000000000000e+00 0 0 0 2 0 0.0000000000000000e+00 2.0000000000000000e+00 0.0000000000000000e+00 2.0000000000000000e+02
0 0.0000000000000000e+00 0 0 0 3 0 0.0000000000000000e+00 3.0000000000000000e+00 0.0000000000000000e+00 3.0000000000000000e+02
0 0.0000000000000000e+00 0 0 0 4 0 0.0000000000000000e+00 4.0000000000000000e+00 0.0000000000000000e+00 4.0000000000000000e+02
0 0.0000000000000000e+00 0 0 0 5 0 0.0000000000000000e+00 5.0000000000000000e+00 0.0000000000000000e+00 5.0000000000000000e+02
0 0.0000000000000000e+00 0 0 0 6 0 0.0000000000000000e+00 6.0000000000000000e+00 0.0000000000000000e+00 6.0000000000000000e+02
0 0.0000000000000000e+00 0 0 0 7 0 0.0000000000000000e+00 7.0000000000000000e+00 0.0000000000000000e+00 7.0000000000000000e+02
0 0.0000000000000000e+00 0 0 0 8 0 0.0000000000000000e+00 8.0000000000000000e+00 0.0000000000000000e+00 8.0000000000000000e+02
0 0.0000000000000000e+00 0 0 0 9 0 0.0000000000000000e+00 9.0000000000000000e+00 0.0000000000000000e+00 9.0000000000000000e+02
0 0.0000000000000000e+00 0 0 0 10 0 0.0000000000000000e+00 1.0000000000000000e+01 0.0000000000000000e+00 1.0000000000000000e+03
0 0.0000000000000000e+00 0 0 0 11 0 0.0000000000000000e+00 1.1000000000000000e+01 0.0000000000000000e+00 1.1000000000000000e+03
0 0.0000000000000000e+00 0 0 0 12 0 0.0000000000000000e+00 1.2000000000000000e+01 0.0000000000000000e+00 1.2000000000000000e+03
0 0.0000000000000000e+00 0 0 0 13 0 0.0000000000000000e+00 1.3000000000000000e+01 0.0000000000000000e+00 1.3000000000000000e+03
0 0.0000000000000000e+00 0 0 0 14 0 0.0000000000000000e+00 1.4000000000000000e+01 0.0000000000000000e+00 1.4000000000000000e+03
0 0.0000000000000000e+00 0 0 0 15 0 0.0000000000000000e+00 1.5000000000000000e+01 0.0000000000000000e+00 1.5000000000000000e+03
0 0.0000000000000000e+00 0 0 0 16 0 0.0000000000000000e+00 1.6000000000000000e+01 0.0000000000000000e+00 1.6000000000000000e+03
0 0.0000000000000000e+00 0 0 0 17 0 0.0000000000000000e+00 1.7000000000000000e+01 0.0000000000000000e+00 1.7000000000000000e+03
0 0.0000000000000000e+00 0 0 0 18 0 0.0000000000000000e+00 1.8000000000000000e+01 0.0000000000000000e+00 1.8000000000000000e+03
0 0.0000000000000000e+00 0 0 0 19 0 0.0000000000000000e+00 1.9000000000000000e+01 0.0000000000000000e+00 1.9000000000000000e+03
0 0.0000000000000000e+00 0 0 0 20 0 0.0000000000000000e+00 2.0000000000000000e+01 0.0000000000000000e+00 2.0000000000000000e+03
0 0.0000000000000000e+00 0 0 0 21 0 0.0000000000000000e+00 2.1000000000000000e+01 0.0000000000000000e+00 2.1000000000000000e+03
0 0.0000000000000000e+00 0 0 0 22 0 0.0000000000000000e+00 2.2000000000000000e+01 0.0000000000000000e+00 2.2000000000000000e+03
0 0.0000000000000000e+00 0 0 0 23 0 0.0000000000000000e+00 2.3000000000000000e+01 0.0000000000000000e+00 2.3000000000000000e+03
0 0.0000000000000000e+00 0 0 0 24 0 0.0000000000000000e+00 2.4000000000000000e+01 0.0000000000000000e+00 2.4000000000000000e+03
0 0.0000000000000000e+00 0 0 0 25 0 0.0000000000000000e+00 2.5000000000000000e+01 0.0000000000000000e+00 2.5000000000000000e+03
0 0.0000000000000000e+00 0 0 0 26 0 0.0000000000000000e+00 2.6000000000000000e+01 0.0000000000000000e+00 2.6000000000000000e+03
0 0.0000000000000000e+00 0 0 0 27 0 0.0000000000000000e+00 2.7000000000000000e+01 0.0000000000000000e+00 2.7000000000000000e+03
0 0.0000000000000000e+00 0 0 0 28 0 0.0000000000000000e+00 2.8000000000000000e+01 0.0000000000000000e+00 2.8000000000000000e+03
0 0.0000000000000000e+00 0 0 0 29 0 0.0000000000000000e+00 2.9000000000000000e+01 0.0000000000000000e+00 2.9000000000000000e+03
0 0.0000000000000000e+00 0 0 0 30 0 0.0000000000000000e+00 3.0000000000000000e+01 0.0000000000000000e+00 3.0000000000000000e+03
0 0.0000000000000000e+00 0 0 0 31 0 0.0000000000000000e+00 3.1000000000000000e+01 0.0000000000000000e+00 3.1000000000000000e+03
0 0.0000000000000000e+00 0 0 0 32 0 0.0000000000000000e+00 3.2000000000000000e+01 0.0000000000000000e+00 3.2000000000000000e+03
0 0.0000000000000000e+00 0 0 0 33 0 0.0000000000000000e+00 3.3000000000000000e+01 0.0000000000000000e+00 3.3000000000000000e+03
36 changes: 36 additions & 0 deletions TestOutput/test/checkpoint-openpmd/testoutput-gf.it000000.z.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# 1:iteration 2:time 3:patch 4:level 5:i 6:j 7:k 8:x 9:y 10:z 11:gf
0 0.0000000000000000e+00 0 0 0 0 -1 0.0000000000000000e+00 0.0000000000000000e+00 -1.0000000000000000e+00 -1.0000000000000000e+04
0 0.0000000000000000e+00 0 0 0 0 0 0.0000000000000000e+00 0.0000000000000000e+00 0.0000000000000000e+00 0.0000000000000000e+00
0 0.0000000000000000e+00 0 0 0 0 1 0.0000000000000000e+00 0.0000000000000000e+00 1.0000000000000000e+00 1.0000000000000000e+04
0 0.0000000000000000e+00 0 0 0 0 2 0.0000000000000000e+00 0.0000000000000000e+00 2.0000000000000000e+00 2.0000000000000000e+04
0 0.0000000000000000e+00 0 0 0 0 3 0.0000000000000000e+00 0.0000000000000000e+00 3.0000000000000000e+00 3.0000000000000000e+04
0 0.0000000000000000e+00 0 0 0 0 4 0.0000000000000000e+00 0.0000000000000000e+00 4.0000000000000000e+00 4.0000000000000000e+04
0 0.0000000000000000e+00 0 0 0 0 5 0.0000000000000000e+00 0.0000000000000000e+00 5.0000000000000000e+00 5.0000000000000000e+04
0 0.0000000000000000e+00 0 0 0 0 6 0.0000000000000000e+00 0.0000000000000000e+00 6.0000000000000000e+00 6.0000000000000000e+04
0 0.0000000000000000e+00 0 0 0 0 7 0.0000000000000000e+00 0.0000000000000000e+00 7.0000000000000000e+00 7.0000000000000000e+04
0 0.0000000000000000e+00 0 0 0 0 8 0.0000000000000000e+00 0.0000000000000000e+00 8.0000000000000000e+00 8.0000000000000000e+04
0 0.0000000000000000e+00 0 0 0 0 9 0.0000000000000000e+00 0.0000000000000000e+00 9.0000000000000000e+00 9.0000000000000000e+04
0 0.0000000000000000e+00 0 0 0 0 10 0.0000000000000000e+00 0.0000000000000000e+00 1.0000000000000000e+01 1.0000000000000000e+05
0 0.0000000000000000e+00 0 0 0 0 11 0.0000000000000000e+00 0.0000000000000000e+00 1.1000000000000000e+01 1.1000000000000000e+05
0 0.0000000000000000e+00 0 0 0 0 12 0.0000000000000000e+00 0.0000000000000000e+00 1.2000000000000000e+01 1.2000000000000000e+05
0 0.0000000000000000e+00 0 0 0 0 13 0.0000000000000000e+00 0.0000000000000000e+00 1.3000000000000000e+01 1.3000000000000000e+05
0 0.0000000000000000e+00 0 0 0 0 14 0.0000000000000000e+00 0.0000000000000000e+00 1.4000000000000000e+01 1.4000000000000000e+05
0 0.0000000000000000e+00 0 0 0 0 15 0.0000000000000000e+00 0.0000000000000000e+00 1.5000000000000000e+01 1.5000000000000000e+05
0 0.0000000000000000e+00 0 0 0 0 16 0.0000000000000000e+00 0.0000000000000000e+00 1.6000000000000000e+01 1.6000000000000000e+05
0 0.0000000000000000e+00 0 0 0 0 17 0.0000000000000000e+00 0.0000000000000000e+00 1.7000000000000000e+01 1.7000000000000000e+05
0 0.0000000000000000e+00 0 0 0 0 18 0.0000000000000000e+00 0.0000000000000000e+00 1.8000000000000000e+01 1.8000000000000000e+05
0 0.0000000000000000e+00 0 0 0 0 19 0.0000000000000000e+00 0.0000000000000000e+00 1.9000000000000000e+01 1.9000000000000000e+05
0 0.0000000000000000e+00 0 0 0 0 20 0.0000000000000000e+00 0.0000000000000000e+00 2.0000000000000000e+01 2.0000000000000000e+05
0 0.0000000000000000e+00 0 0 0 0 21 0.0000000000000000e+00 0.0000000000000000e+00 2.1000000000000000e+01 2.1000000000000000e+05
0 0.0000000000000000e+00 0 0 0 0 22 0.0000000000000000e+00 0.0000000000000000e+00 2.2000000000000000e+01 2.2000000000000000e+05
0 0.0000000000000000e+00 0 0 0 0 23 0.0000000000000000e+00 0.0000000000000000e+00 2.3000000000000000e+01 2.3000000000000000e+05
0 0.0000000000000000e+00 0 0 0 0 24 0.0000000000000000e+00 0.0000000000000000e+00 2.4000000000000000e+01 2.4000000000000000e+05
0 0.0000000000000000e+00 0 0 0 0 25 0.0000000000000000e+00 0.0000000000000000e+00 2.5000000000000000e+01 2.5000000000000000e+05
0 0.0000000000000000e+00 0 0 0 0 26 0.0000000000000000e+00 0.0000000000000000e+00 2.6000000000000000e+01 2.6000000000000000e+05
0 0.0000000000000000e+00 0 0 0 0 27 0.0000000000000000e+00 0.0000000000000000e+00 2.7000000000000000e+01 2.7000000000000000e+05
0 0.0000000000000000e+00 0 0 0 0 28 0.0000000000000000e+00 0.0000000000000000e+00 2.8000000000000000e+01 2.8000000000000000e+05
0 0.0000000000000000e+00 0 0 0 0 29 0.0000000000000000e+00 0.0000000000000000e+00 2.9000000000000000e+01 2.9000000000000000e+05
0 0.0000000000000000e+00 0 0 0 0 30 0.0000000000000000e+00 0.0000000000000000e+00 3.0000000000000000e+01 3.0000000000000000e+05
0 0.0000000000000000e+00 0 0 0 0 31 0.0000000000000000e+00 0.0000000000000000e+00 3.1000000000000000e+01 3.1000000000000000e+05
0 0.0000000000000000e+00 0 0 0 0 32 0.0000000000000000e+00 0.0000000000000000e+00 3.2000000000000000e+01 3.2000000000000000e+05
0 0.0000000000000000e+00 0 0 0 0 33 0.0000000000000000e+00 0.0000000000000000e+00 3.3000000000000000e+01 3.3000000000000000e+05
2 changes: 2 additions & 0 deletions TestOutput/test/checkpoint-openpmd/testoutput-sc.it000000.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# 1:iteration 2:time 3:sc
0 0.0000000000000000e+00 4.2000000000000000e+01
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[
{ "rank":0, "start":"Tue_Jul_04_15:42:21_2023", "bytes":0, "AWD":{"mus":1187, "nCalls":1}, "close_ts":{"mus":157, "nCalls":1}, "meta_lvl1":{"mus":13, "nCalls":1}, "meta_lvl2":{"mus":191, "nCalls":1}, "endstep":{"mus":1550, "nCalls":1}, "transport_0":{"type":"File_POSIX", "close":{"mus":48, "nCalls":1}, "write":{"mus":74, "nCalls":1}, "open":{"mus":124, "nCalls":1}}, "transport_1":{"type":"File_POSIX", "close":{"mus":39, "nCalls":1}, "write":{"mus":65, "nCalls":5}, "open":{"mus":132, "nCalls":1}} }
]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
checkpoint.chkpt.it00000000.bp5
7 changes: 7 additions & 0 deletions TestOutput/test/output-arrays.par
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ CarpetX::xmax = 32.0
CarpetX::ymax = 32.0
CarpetX::zmax = 32.0

CarpetX::boundary_x = "linear extrapolation"
CarpetX::boundary_y = "linear extrapolation"
CarpetX::boundary_z = "linear extrapolation"
CarpetX::boundary_upper_x = "linear extrapolation"
CarpetX::boundary_upper_y = "linear extrapolation"
CarpetX::boundary_upper_z = "linear extrapolation"

IO::out_dir = $parfile
IO::parfile_write = "no"
IO::out_every = 1
Expand Down
Loading