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 GRID | KEYWORD |
Implements:
idscalarwave
Inherits:
wavetoy
grid
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.
NONE
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) | ||
Alias Name: | Function Name: |
IDScalarWaveC_InitialData | WaveToy_InitialData |