WaveToyC


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




bound
Scope: restricted KEYWORD



Description: Type of boundary condition to use



Range Default: none
none
Apply no boundary condition
flat
Flat (von Neumann, n grad phi = 0) boundary condition
static
Static (Dirichlet, dphi/dt=0) boundary condition
radiation
Radiation boundary condition
robin
Robin (phi(r) = C/r) boundary condition
zero
Zero (Dirichlet, phi=0) boundary condition



7 Interfaces

General

Implements:

wavetoy

Inherits:

grid

Grid Variables

7.0.1 PUBLIC GROUPS





  Group Names     Variable Names   Details    




scalarevolve compact 0
phi description The evolved scalar field
dimensions 3
distribution DEFAULT
group type GF
tags tensortypealias=”Scalar”
timelevels 3
variable type REAL




Uses header:

Symmetry.h

8 Schedule

This section lists all the variables which are assigned storage by thorn CactusWave/WaveToyC. 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:  
scalarevolve[3]  
   

Scheduled Functions

CCTK_STARTUP

  wavetoyc_startup

  register banner

 

  Language: c
  Type: function

CCTK_BASEGRID

  wavetoyc_initsymbound

  schedule symmetries

 

  Language: c
  Options: global
  Type: function

CCTK_POST_RECOVER_VARIABLES

  applybcs

  apply boundary conditions

 

  After: wavetoy_boundaries
  Type: group

CCTK_EVOL

  wavetoyc_evolution

  evolution of 3d wave equation

 

  Language: c
  Reads: wavetoy::phi_p
    phi_p_p
  Type: function
  Writes: wavetoy::phi(interior)

CCTK_EVOL

  wavetoyc_boundaries

  boundaries of 3d wave equation

 

  After: wavetoy_evolution
  Language: c
  Options: level
  Sync: scalarevolve
  Type: function

CCTK_EVOL

  applybcs

  apply boundary conditions

 

  After: wavetoy_boundaries
  Type: group

CCTK_POSTRESTRICT

  wavetoyc_boundaries

  boundaries of 3d wave equation

 

  Language: c
  Options: level
  Sync: scalarevolve
  Type: function

CCTK_POSTRESTRICT

  applybcs

  apply boundary conditions

 

  After: wavetoy_boundaries
  Type: group

CCTK_POSTRESTRICTINITIAL

  wavetoyc_boundaries

  boundaries of 3d wave equation

 

  Language: c
  Options: level
  Sync: scalarevolve
  Type: function

CCTK_POSTRESTRICTINITIAL

  applybcs

  apply boundary conditions

 

  After: wavetoy_boundaries
  Type: group

CCTK_POST_RECOVER_VARIABLES

  wavetoyc_boundaries

  boundaries of 3d wave equation

 

  Language: c
  Options: level
  Sync: scalarevolve
  Type: function

Aliased Functions

 

Alias Name:         Function Name:
ApplyBCs WaveToyC_ApplyBCs
WaveToyC_Boundaries WaveToy_Boundaries
WaveToyC_Evolution WaveToy_Evolution