summaryrefslogtreecommitdiff
path: root/interface.ccl
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-05-30 12:05:51 +0200
committerAnton Khirnov <anton@khirnov.net>2020-05-30 12:05:51 +0200
commit1253302aaf002925c76e5ab0f58c4c5c961a2e54 (patch)
tree40af3e4a4abcd0601125d241739d550db0c8c61a /interface.ccl
parent6033446e31977e8a7fcae9202a346d0e82ace5e0 (diff)
Implement multiple surfaces.HEADmaster
Diffstat (limited to 'interface.ccl')
-rw-r--r--interface.ccl7
1 files changed, 4 insertions, 3 deletions
diff --git a/interface.ccl b/interface.ccl
index b0f1325..18580c9 100644
--- a/interface.ccl
+++ b/interface.ccl
@@ -15,7 +15,7 @@ USES FUNCTION VarDataPtrI
public:
-REAL photon_coord TYPE=array DIM=2 SIZE=nb_surfaces,photons_per_surface DISTRIB=constant
+REAL photon_coord TYPE=array DIM=2 SIZE=photons_per_surface,nb_surfaces DISTRIB=constant
{
pos_x,
# stored only to send zeroes to interpolator
@@ -25,7 +25,7 @@ REAL photon_coord TYPE=array DIM=2 SIZE=nb_surfaces,photons_per_surface DISTRIB=
mom_z
}
-REAL photon_rhs TYPE=array DIM=3 SIZE=4,nb_surfaces,photons_per_surface DISTRIB=constant
+REAL photon_rhs TYPE=array DIM=3 SIZE=photons_per_surface,nb_surfaces,4 DISTRIB=constant
{
pos_x_rhs,
pos_z_rhs,
@@ -33,6 +33,7 @@ REAL photon_rhs TYPE=array DIM=3 SIZE=4,nb_surfaces,photons_per_surface DISTRIB=
mom_z_rhs
}
-REAL photon_times TYPE=array DIM=1 SIZE=nb_surfaces DISTRIB=constant
INT evol_next_step TYPE=scalar
INT surfaces_active TYPE=scalar
+REAL origin_proper_time TYPE=scalar
+REAL origin_proper_time_rhs TYPE=array DIM=1 SIZE=4