Chapter N21
SpaceTimeToy

Could not find latex documentation for CarpetExtra/SpaceTimeToy (documentation.tex)

N21.1 Parameters




bound
Scope: private   STRING



Description: Type of boundary condition to use



Range    Default: Static
.*
Must be a registered boundary condition






icn_iterations
Scope: private   INT



Description: Number of ICN iterations to take after the initial Euler step



Range    Default: 1
0:*
Must not be negative






hydrotoy_active
Scope: shared from HYDROTOY  BOOLEAN



N21.2 Interfaces

General

Implements:

spacetimetoy

Inherits:

hydrotoy

grid

Grid Variables

PRIVATE GROUPS




  Group Names    Variable Names     Details   




spacetimetemps    compact0
phi_i    descriptionIntermediate values for the integrator
psi_i    dimensions3
   distributionDEFAULT
   group typeGF
   stagger typeNONE
   timelevels1
  variable typeREAL




hydrotemps    compact0
u_i    descriptionIntermediate vales for the integrator
vx_i    dimensions3
vy_i    distributionDEFAULT
vz_i    group typeGF
   stagger typeNONE
   timelevels1
  variable typeREAL




icn_state    compact0
icn_iteration    descriptionCurrent iteration and termination flag for ICN integrator
do_iterate    dimensions0
   distributionCONSTANT
   group typeSCALAR
   stagger typeNONE
   timelevels1
  variable typeINT




PUBLIC GROUPS




  Group Names    Variable Names     Details   




spacetimeevolve    compact0
phi    descriptionThe evolved spacetime fields
psi    dimensions3
   distributionDEFAULT
   group typeGF
   stagger typeNONE
   timelevels3
  variable typeREAL




N21.3 Schedule

This section lists all the variables which are assigned storage by thorn CarpetExtra/SpaceTimeToy. Storage can either last for the duration of the run (Always means that if this thorn is activated storage will be assigned, Conditional means that if this thorn is activated storage will be assigned for the duration of the run if some condition is met), or can be turned on for the duration of a schedule function.

Storage

 

Always:  
spacetimeevolve[3] 
icn_state  
   

Scheduled Functions

CCTK_STARTUP

  spacetimetoy_startup

  register banner

 

 Language:fortran
 Type: function

CCTK_BASEGRID

  spacetimetoy_initsymbound

  schedule symmetries

 

 Language:fortran
 Options: global
 Type: function

CCTK_POSTRESTRICT

  applybcs

  apply boundary conditions after restricting

 

 After:spacetimetoy_boundaries
 Type:group

CCTK_EVOL

  spacetimetoy_eulerstep

  initial euler step

 

 After: hydrotoy_eulerpredictor
 Language:fortran
 Storage: spacetimetemps
   hydrotemps
 Type: function

CCTK_EVOL

  spacetimetoy_boundaries

  select boundary conditions after initial euler step

 

 After: spacetimetoy_eulerstep
 Language:fortran
 Sync: spacetimeevolve
 Type: function

CCTK_EVOL

  applybcs

  apply boundary conditions after initial euler step

 

 After:spacetimetoy_boundaries
 Type:group

CCTK_EVOL

  spacetimetoy_icnloop

  all icn steps

 

 After: spacetimetoy_eulerstep
   hydrotoy_eulerpredictor
 Before:hydrotoy_eulercorrector
 Type: group
 While: spacetimetoy::do_iterate

SpaceTimeToy_ICNLoop

  spacetimetoy_icnstep

  one icn step

 

 Language:fortran
 Storage: spacetimetemps
   hydrotemps
 Type: function

SpaceTimeToy_ICNLoop

  spacetimetoy_boundaries

  select boundary conditions after icn step

 

 After: spacetimetoy_icnstep
 Language:fortran
 Sync: spacetimeevolve
 Type: function

SpaceTimeToy_ICNLoop

  applybcs

  apply boundary conditions after icn step

 

 After:spacetimetoy_boundaries
 Type:group

CCTK_POSTRESTRICT

  spacetimetoy_boundaries

  select boundary conditions after restricting

 

 Language:fortran
 Sync: spacetimeevolve
 Type: function