CarpetProlongateTest

Erik Schnetter <schnetter@cct.lsu.edu>

July 10 2010

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 Examples

4.6 Support and Feedback

5 History

5.1 Thorn Source Code

5.2 Thorn Documentation

5.3 Acknowledgements

References

6 Parameters




interp_nx
Scope: private  INT



Description: number of points for interpolated region



Range   Default: 4
0:*






interp_ny
Scope: private  INT



Description: number of points for interpolated region



Range   Default: 4
0:*






interp_nz
Scope: private  INT



Description: number of points for interpolated region



Range   Default: 4
0:*






interp_xmax
Scope: private  REAL



Description: xmax for interpolated region



Range   Default: +0.5
*:*






interp_xmin
Scope: private  REAL



Description: xmin for interpolated region



Range   Default: -0.5
*:*






interp_ymax
Scope: private  REAL



Description: ymax for interpolated region



Range   Default: +0.5
*:*






interp_ymin
Scope: private  REAL



Description: ymin for interpolated region



Range   Default: -0.5
*:*






interp_zmax
Scope: private  REAL



Description: zmax for interpolated region



Range   Default: +0.5
*:*






interp_zmin
Scope: private  REAL



Description: zmin for interpolated region



Range   Default: -0.5
*:*






interpolator
Scope: private  STRING



Description: The interpolator to use



Range   Default: Lagrange polynomial interpolation
must be a registered interpolator






interpolator_options
Scope: private  STRING



Description: Options for the interpolator



Range   Default: order=2
must be a valid options specification






power_t
Scope: private  INT



Description: Polynomial power of t coordinate



Range   Default: (none)
*:*






power_x
Scope: private  INT



Description: Polynomial power of x coordinate



Range   Default: (none)
*:*






power_y
Scope: private  INT



Description: Polynomial power of y coordinate



Range   Default: (none)
*:*






power_z
Scope: private  INT



Description: Polynomial power of z coordinate



Range   Default: (none)
*:*






prolongation
Scope: private  KEYWORD



Description: The prolongation operator to use



Range   Default: Lagrange
Lagrange
ENO
WENO
TVD
Lagrange_monotone



7 Interfaces

General

Implements:

carpetprolongatetest

Inherits:

grid

Grid Variables

7.0.1 PRIVATE GROUPS




  Group Names    Variable Names    Details   




scalar   compact0
u   descriptionGrid function
  dimensions3
  distributionDEFAULT
  group typeGF
  tagsProlongationParameter=”CarpetProlongateTest::prolongation”
  timelevels3
 variable typeREAL




scaled   compact0
uscaled   descriptionScaled grid function
  dimensions3
  distributionDEFAULT
  group typeGF
  timelevels3
 variable typeREAL




difference   compact0
u0   descriptionError in grid function
du   dimensions3
  distributionDEFAULT
  group typeGF
  timelevels3
 variable typeREAL




interp_difference   compact0
interp_x   descriptionError in interpolated grid array
interp_y   dimensions3
interp_z   distributionDEFAULT
interp_u   group typeARRAY
interp_u0   sizeINTERP_NX
    sizeINTERP_NY
interp_u0   sizeINTERP_NZ
interp_du   timelevels1
 variable typeREAL




errornorm   compact0
errornorm   descriptionNorm of error in grid function
  dimensions0
  distributionCONSTANT
  group typeSCALAR
  timelevels1
 variable typeREAL




interp_errornorm   compact0
interp_errornorm   descriptionNorm of error in interpolated grid array
  dimensions0
  distributionCONSTANT
  group typeSCALAR
  timelevels1
 variable typeREAL




8 Schedule

This section lists all the variables which are assigned storage by thorn Carpet/CarpetProlongateTest. 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:  
scalar[3] scaled[3] difference[3] 
interp_difference  
errornorm interp_errornorm  
   

Scheduled Functions

CCTK_INITIAL

  carpetprolongatetest_init

  set up initial data

 

 Language:fortran
 Sync: scalar
   scaled
 Type: function

CCTK_EVOL

  carpetprolongatetest_init

  set up initial data

 

 Language:fortran
 Sync: scalar
   scaled
 Type: function

MoL_PostStep

  carpetprolongatetest_diff

  test data

 

 Language:fortran
 Type: function

CCTK_INITIAL

  carpetprolongatetest_interpinit

  set up interpolation

 

 Language:fortran
 Options: global-late
 Type: function

MoL_PostStep

  carpetprolongatetest_interp

  interpolate

 

 Language:fortran
 Options: global-late
 Type: function

MoL_PostStep

  carpetprolongatetest_interpdiff

  test interpolated data

 

 After: carpetprolongatetest_interp
 Language:fortran
 Options: global-late
 Type: function

MoL_PostStep

  carpetprolongatetest_norminit

  calculate error norm

 

 After: carpetprolongatetest_diff
  
    carpetprolongatetest_interpdiff
 Language:fortran
 Options: global-late
 Type: function

MoL_PostStep

  carpetprolongatetest_normcalc

  calculate error norm

 

 After: carpetprolongatetest_norminit
 Language:fortran
 Options: global-late
   loop-local
 Type: function

MoL_PostStep

  carpetprolongatetest_normreduce

  calculate error norm

 

 After: carpetprolongatetest_normcalc
 Language:fortran
 Options: global-late
 Type: function