The routine initialdata is required in all user defined applications.
Initial data are defined in this routine.
- subroutine initialdata(u0, u2, v, w, par)
type(gridfunction), dimension(NU) :: u0,u2
type(gridfunction), dimension(NV) :: v
type(gridfunction), dimension(NW) :: w
CCTK_REAL, dimension(:) :: par
- The ufuncs and
vfuncs should be defined
using the pointers "u0" and "v", respectively.
- Pointer "u2" is
for scratch space. It has the same memory layout as "u0" and can be
used to faciliate setting up initial data. However, data written to memory
pointed to by "u2" will be overwritten after routine initialdata
is finished. Use pointer "u0" for finalizing initial data, not "u2".
List of required routines
Index of all manual pages