WaveToy2DF77


Abstract

1 Introduction

2 Physical System

3 Numerical Implementation

4 Using This Thorn

4.1 Obtaining This Thorn

4.2 Basic Usage

4.3 Special Behaviour

4.4 Interaction With Other Thorns

4.5 Support and Feedback

5 History

5.1 Thorn Source Code

5.2 Thorn Documentation

5.3 Acknowledgements

References

6 Parameters




amplitude
Scope: private  REAL



Description: Amplitude of initial Gaussian wave



Range   Default: 1.0
0:*






bound
Scope: private  KEYWORD



Description: Which boundary condition to apply



Range   Default: zero
zero
Set boundary values to zero
radiation
Radiation/wave boundary conditions






sigma
Scope: private  REAL



Description: Width of Gaussian wave



Range   Default: 0.02
*:*
Anything






xcenter
Scope: private  REAL



Description: x-position of center of Gaussian wave



Range   Default: 0.5
*:*
Anywhere






ycenter
Scope: private  REAL



Description: y-position of center of Gaussian wave



Range   Default: 0.5
*:*
Anywhere



7 Interfaces

General

Implements:

wavetoy2d

Inherits:

boundary

Grid Variables

7.0.1 PRIVATE GROUPS




  Group Names    Variable Names    Details   




evolve2d   compact0
phi   descriptionThe evolved scalar field
  dimensions2
  distributionDEFAULT
  group typeGF
  timelevels3
 variable typeREAL




initial   compact0
timederiv   descriptionFor initial data
  dimensions2
  distributionDEFAULT
  group typeGF
  timelevels1
 variable typeREAL




coords2d   compact0
x   descriptionThe 2D x and y coordinates
y   dimensions2
  distributionDEFAULT
  group typeGF
  timelevels1
 variable typeREAL




dummy   compact0
phi_temp   descriptionJust for creating initial data
  dimensions2
  distributionDEFAULT
  group typeGF
  timelevels1
 variable typeREAL




8 Schedule

This section lists all the variables which are assigned storage by thorn CactusExamples/WaveToy2DF77. 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:  
evolve2d[3] coords2d 
   

Scheduled Functions

CCTK_STARTUP

  wavetoy2df77_startup

  register wavetoy2df77 banner

 

 Language:fortran
 Type: function

CCTK_WRAGH

  wavetoy2df77_registercoords

  register wavetoy2df77 coordinates

 

 Language:fortran
 Type: function

CCTK_BASEGRID

  wavetoy2df77_coord

  set up 2d coordinates

 

 Language:fortran
 Type: function

CCTK_INITIAL

  wavetoy2df77_initial

  initial data for 2d wave equation

 

 Language:fortran
 Storage: initial
   dummy
 Type: function

CCTK_EVOL

  wavetoy2df77_evolve

  evolution of 2d wave equation

 

 Language:fortran
 Sync: evolve2d
 Type: function

CCTK_EVOL

  wavetoy2df77_boundary

  apply boundary conditions

 

 After: wavetoy2df77_evolve
 Language:fortran
 Type: function

Aliased Functions

 

Alias Name:        Function Name:
WaveToy2DF77_Coord SpatialCoordinates