diff options
Diffstat (limited to 'interface.ccl')
-rw-r--r-- | interface.ccl | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/interface.ccl b/interface.ccl index 612f623..b0f1325 100644 --- a/interface.ccl +++ b/interface.ccl @@ -1,11 +1,7 @@ # Interface definition for thorn NullSurf implements: NullSurf -INHERITS: ADMBase grid CoordBase MethodOfLines ML_BSSN Driver - -CCTK_INT FUNCTION MoLRegisterEvolved(CCTK_INT IN EvolvedIndex, CCTK_INT IN RHSIndex) - -REQUIRES FUNCTION MoLRegisterEvolved +INHERITS: ADMBase grid CoordBase ML_BSSN Driver CCTK_POINTER FUNCTION \ VarDataPtrI \ @@ -17,13 +13,26 @@ CCTK_POINTER FUNCTION \ CCTK_INT IN varindex) USES FUNCTION VarDataPtrI + public: -REAL null_surface TYPE=GF TIMELEVELS=3 tags='tensortypealias="Scalar" tensorweight=0' +REAL photon_coord TYPE=array DIM=2 SIZE=nb_surfaces,photons_per_surface DISTRIB=constant { - F + pos_x, + # stored only to send zeroes to interpolator + pos_y, + pos_z, + mom_x, + mom_z } -REAL null_surface_rhs TYPE=GF TIMELEVELS=3 tags='tensortypealias="Scalar" tensorweight=0 Prolongation="None"' +REAL photon_rhs TYPE=array DIM=3 SIZE=4,nb_surfaces,photons_per_surface DISTRIB=constant { - F_rhs + pos_x_rhs, + pos_z_rhs, + mom_x_rhs, + 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 |