Chapter N26
WaveToyMoL

Author(s): Erik Schnetter <schnetter@uni-tuebingen.de>

Date: June 07 2003



N26.1 Abstract

N26.2 Introduction

N26.3 Physical System

N26.4 Numerical Implementation

N26.5 Using This Thorn

N26.5.1 Obtaining This Thorn

N26.5.2 Basic Usage

N26.5.3 Special Behaviour

N26.5.4 Interaction With Other Thorns

N26.5.5 Examples

N26.5.6 Support and Feedback

N26.6 History

N26.6.1 Thorn Source Code

N26.6.2 Thorn Documentation

N26.6.3 Acknowledgements

N26.7 Parameters




bound
Scope: private   STRING



Description: Type of boundary condition to use



Range    Default: None
.*
must be a registered boundary condition






estimate_error
Scope: private   BOOLEAN



Description: Estimate the truncation error



   Default: no






order
Scope: private   INT



Description: Finite differencing order



Range    Default: 2
2
second order
4
fourth order






wavetoymol_maxnumevolvedvars
Scope: restricted   INT



Description: The maximum number of evolved variables used by WaveMoL



Range    Default: 2
2:2






mol_num_evolved_vars
Scope: shared from METHODOFLINES  INT



N26.8 Interfaces

General

Implements:

wavetoymol

Inherits:

grid

Grid Variables

PRIVATE GROUPS




  Group Names     Variable Names     Details   




scalarevolvedot    compact0
phidot    descriptionTime derivative of the scalar field
psidot    dimensions3
   distributionDEFAULT
   group typeGF
   stagger typeNONE
   tagstensortypealias=”scalar”
   timelevels1
  variable typeREAL




scalarevolveerrorestimate    compact0
error    descriptionError estimate
   dimensions3
   distributionDEFAULT
   group typeGF
   stagger typeNONE
   tagstensortypealias=”scalar”
   timelevels1
  variable typeREAL




PUBLIC GROUPS




  Group Names    Variable Names     Details   




scalarevolve    compact0
phi    descriptionScalar field
psi    dimensions3
   distributionDEFAULT
   group typeGF
   stagger typeNONE
   tagstensortypealias=”scalar”
   timelevels3
  variable typeREAL




N26.9 Schedule

This section lists all the variables which are assigned storage by thorn CarpetExtra/WaveToyMoL. 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: Conditional:
scalarevolve[3] scalarevolveerrorestimate
scalarevolvedot 
   

Scheduled Functions

CCTK_STARTUP

  wavetoymol_startup

  register banner

 

 Language:fortran
 Options: meta
 Type: function

CCTK_BASEGRID

  wavetoymol_initsymbound

  schedule symmetries

 

 Language:fortran
 Options: meta
 Type: function

MoL_Register

  wavetoymol_registervars

  register variables for mol

 

 Language:fortran
 Options: meta
 Type: function

MoL_CalcRHS

  wavetoymol_calcrhs

  calculate rhs for mol

 

 Language:fortran
 Type: function

MoL_PostStep

  wavetoymol_boundaries

  select boundary conditions in mol

 

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

MoL_PostStep

  applybcs

  apply boundary conditions in mol

 

 After:wavetoymol_boundaries
 Type:group

CCTK_POSTSTEP (conditional)

  wavetoymol_estimateerror

  estimate the truncation error

 

 Language:fortran
 Type: function

CCTK_POSTSTEP (conditional)

  wavetoymol_estimateerrorboundaries

  select boundary conditions for the truncation error

 

 After: wavetoymol_estimateerror
 Language:fortran
 Options: level
 Sync: scalarevolveerrorestimate
 Type: function

CCTK_POSTSTEP (conditional)

  applybcs

  apply boundary conditions

 

 After:wavetoymol_estimateerror
 Type:group