Cactus Maintainers <cactusmaint@cactuscode.org>

Date

Abstract

Advanced features for WaveToy

1 Introduction

This thorn contains enhancements to the standard WaveToy thorns for modelling 3D scalar fields. WaveToy is primarily intended as a example thorn and for that reason is deliberately kept as simple as practical, with more advanced features included here instead. Currently this thorn shows how more flexible boundaries can be used with WaveToy or other thorns.

2 Boundary Conditions

This thorn provides the infrastructure to use any registered external boundary condition with WaveToy, with any choice of options.

3 Parameters




custom_bound
Scope: private  STRING



Description: Custom boundary condition to use



Range   Default: (none)
.*
Any valid boundary condition






custom_options
Scope: private  STRING



Description: Table string for custom boundary condition



Range   Default: (none)
.*
Any valid table string






bound
Scope: shared from WAVETOY  KEYWORD



Extends ranges:



custom
custom boundary condition



4 Interfaces

General

Implements:

wavetoyextra

Inherits:

wavetoy

5 Schedule

This section lists all the variables which are assigned storage by thorn CactusWave/WaveToyExtra. 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

NONE

Scheduled Functions

CCTK_EVOL

  wavetoyextra_boundary

  additional boundary conditions for 3d wave equation

 

 After: wavetoy_evolution
 Before: wavetoy_boundaries
 Language:c
 Type: function

CCTK_POSTRESTRICT

  wavetoyextra_boundary

  additional boundary conditions for 3d wave equation

 

 Before: wavetoy_boundaries
 Language:c
 Type: function

CCTK_TERMINATE

  wavetoyc_terminate

  tidy up

 

 Language:c
 Type: function