summaryrefslogtreecommitdiff
path: root/interface.ccl
diff options
context:
space:
mode:
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