IDScalarWaveC


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: The amplitude of the waves



Range Default: 1.0
*:*
No restriction






kx
Scope: private REAL



Description: The wave number in the x-direction



Range Default: 4.0
*:*
No restriction






ky
Scope: private REAL



Description: The wave number in the y-direction



Range Default: 0.0
*:*
No restriction






kz
Scope: private REAL



Description: The wave number in the z-direction



Range Default: 0.0
*:*
No restriction






radius
Scope: private REAL



Description: The radius of the gaussian wave



Range Default: 0.0
0:*
Positive






sigma
Scope: private REAL



Description: The sigma for the gaussian wave



Range Default: 0.1
0:*
Positive






initial_data
Scope: restricted KEYWORD



Description: Type of initial data



Range Default: gaussian
plane
Plane wave
gaussian
Gaussian wave
box
Box wave
none
No initial data, zero phi






type
Scope: shared from GRIDKEYWORD



7 Interfaces

General

Implements:

idscalarwave

Inherits:

wavetoy

grid

8 Schedule

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

  idscalarwavec_checkparameters

  check parameters

 

  Language: c
  Type: function

CCTK_INITIAL

  idscalarwavec_initialdata

  initial data for 3d wave equation

 

  Language: c
  Reads: grid::x
    grid::y
    grid::z
  Storage: wavetoy::scalarevolve[3]
  Type: function
  Writes: wavetoy::phi(everywhere)
    wavetoy::phi_p(everywhere)

Aliased Functions

 

Alias Name:         Function Name:
IDScalarWaveC_InitialData WaveToy_InitialData