TestProlongate

Roland Haas <rhaas@illinois.edu>

August 31 2019

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




refined_radius
Scope: private  REAL



Description: size of the refined region at the center



Range   Default: 0.25
(0:*
any positive size






regrid_after
Scope: private  INT



Description: when to change the grid



Range   Default: 1
at initial data time
1:*
after this iteration



7 Interfaces

General

Implements:

testprolongate

Inherits:

carpetx

Grid Variables

7.0.1 PRIVATE GROUPS




  Group Names    Variable Names    Details   




gf000 gf000   centeringcentering={0 0 0}
  compact0
  descriptionTest grid function
  dimensions3
  distributionDEFAULT
  group typeGF
  tagsdirichlet_values={1.0e+10}
  timelevels1
 variable typeREAL




gf001 gf001   centeringcentering={0 0 1}
  compact0
  descriptionTest grid function
  dimensions3
  distributionDEFAULT
  group typeGF
  tagsdirichlet_values={1.0e+10}
  timelevels1
 variable typeREAL




gf010 gf010   centeringcentering={0 1 0}
  compact0
  descriptionTest grid function
  dimensions3
  distributionDEFAULT
  group typeGF
  tagsdirichlet_values={1.0e+10}
  timelevels1
 variable typeREAL




gf011 gf011   centeringcentering={0 1 1}
  compact0
  descriptionTest grid function
  dimensions3
  distributionDEFAULT
  group typeGF
  tagsdirichlet_values={1.0e+10}
  timelevels1
 variable typeREAL




gf100 gf100   centeringcentering={1 0 0}
  compact0
  descriptionTest grid function
  dimensions3
  distributionDEFAULT
  group typeGF
  tagsdirichlet_values={1.0e+10}
  timelevels1
 variable typeREAL




gf101 gf101   centeringcentering={1 0 1}
  compact0
  descriptionTest grid function
  dimensions3
  distributionDEFAULT
  group typeGF
  tagsdirichlet_values={1.0e+10}
  timelevels1
 variable typeREAL








  Group Names    Variable Names    Details   




gf110 gf110   centeringcentering={1 1 0}
  compact0
  descriptionTest grid function
  dimensions3
  distributionDEFAULT
  group typeGF
  tagsdirichlet_values={1.0e+10}
  timelevels1
 variable typeREAL




gf111 gf111   centeringcentering={1 1 1}
  compact0
  descriptionTest grid function
  dimensions3
  distributionDEFAULT
  group typeGF
  tagsdirichlet_values={1.0e+10}
  timelevels1
 variable typeREAL




gf000_error gf000_error   centeringcentering={0 0 0}
  compact0
  descriptionError in test grid function
  dimensions3
  distributionDEFAULT
  group typeGF
  timelevels1
 variable typeREAL




gf001_error gf001_error   centeringcentering={0 0 1}
  compact0
  descriptionError in test grid function
  dimensions3
  distributionDEFAULT
  group typeGF
  timelevels1
 variable typeREAL




gf010_error gf010_error   centeringcentering={0 1 0}
  compact0
  descriptionError in test grid function
  dimensions3
  distributionDEFAULT
  group typeGF
  timelevels1
 variable typeREAL




gf011_error gf011_error   centeringcentering={0 1 1}
  compact0
  descriptionError in test grid function
  dimensions3
  distributionDEFAULT
  group typeGF
  timelevels1
 variable typeREAL








  Group Names    Variable Names    Details   




gf100_error gf100_error   centeringcentering={1 0 0}
  compact0
  descriptionError in test grid function
  dimensions3
  distributionDEFAULT
  group typeGF
  timelevels1
 variable typeREAL




gf101_error gf101_error   centeringcentering={1 0 1}
  compact0
  descriptionError in test grid function
  dimensions3
  distributionDEFAULT
  group typeGF
  timelevels1
 variable typeREAL




gf110_error gf110_error   centeringcentering={1 1 0}
  compact0
  descriptionError in test grid function
  dimensions3
  distributionDEFAULT
  group typeGF
  timelevels1
 variable typeREAL




gf111_error gf111_error   centeringcentering={1 1 1}
  compact0
  descriptionError in test grid function
  dimensions3
  distributionDEFAULT
  group typeGF
  timelevels1
 variable typeREAL




gf000_count gf000_count   centeringcentering={0 0 0}
  compact0
  descriptionTested grid points
  dimensions3
  distributionDEFAULT
  group typeGF
  timelevels1
 variable typeREAL




gf001_count gf001_count   centeringcentering={0 0 1}
  compact0
  descriptionTested grid points
  dimensions3
  distributionDEFAULT
  group typeGF
  timelevels1
 variable typeREAL








  Group Names    Variable Names    Details   




gf010_count gf010_count   centeringcentering={0 1 0}
  compact0
  descriptionTested grid points
  dimensions3
  distributionDEFAULT
  group typeGF
  timelevels1
 variable typeREAL




gf011_count gf011_count   centeringcentering={0 1 1}
  compact0
  descriptionTested grid points
  dimensions3
  distributionDEFAULT
  group typeGF
  timelevels1
 variable typeREAL




gf100_count gf100_count   centeringcentering={1 0 0}
  compact0
  descriptionTested grid points
  dimensions3
  distributionDEFAULT
  group typeGF
  timelevels1
 variable typeREAL




gf101_count gf101_count   centeringcentering={1 0 1}
  compact0
  descriptionTested grid points
  dimensions3
  distributionDEFAULT
  group typeGF
  timelevels1
 variable typeREAL




gf110_count gf110_count   centeringcentering={1 1 0}
  compact0
  descriptionTested grid points
  dimensions3
  distributionDEFAULT
  group typeGF
  timelevels1
 variable typeREAL




gf111_count gf111_count   centeringcentering={1 1 1}
  compact0
  descriptionTested grid points
  dimensions3
  distributionDEFAULT
  group typeGF
  timelevels1
 variable typeREAL








  Group Names    Variable Names    Details   




gf000_max_error gf000_max_error   compact0
  descriptionTotal error in test grid function
  dimensions0
  distributionCONSTANT
  group typeSCALAR
  timelevels1
 variable typeREAL




gf001_max_error gf001_max_error   compact0
  descriptionTotal error in test grid function
  dimensions0
  distributionCONSTANT
  group typeSCALAR
  timelevels1
 variable typeREAL




gf010_max_error gf010_max_error   compact0
  descriptionTotal error in test grid function
  dimensions0
  distributionCONSTANT
  group typeSCALAR
  timelevels1
 variable typeREAL




gf011_max_error gf011_max_error   compact0
  descriptionTotal error in test grid function
  dimensions0
  distributionCONSTANT
  group typeSCALAR
  timelevels1
 variable typeREAL




gf100_max_error gf100_max_error   compact0
  descriptionTotal error in test grid function
  dimensions0
  distributionCONSTANT
  group typeSCALAR
  timelevels1
 variable typeREAL




gf101_max_error gf101_max_error   compact0
  descriptionTotal error in test grid function
  dimensions0
  distributionCONSTANT
  group typeSCALAR
  timelevels1
 variable typeREAL








  Group Names    Variable Names    Details   




gf110_max_error gf110_max_error   compact0
  descriptionTotal error in test grid function
  dimensions0
  distributionCONSTANT
  group typeSCALAR
  timelevels1
 variable typeREAL




gf111_max_error gf111_max_error   compact0
  descriptionTotal error in test grid function
  dimensions0
  distributionCONSTANT
  group typeSCALAR
  timelevels1
 variable typeREAL




gf000_sum_count gf000_sum_count   compact0
  descriptionNumber of tested grid points
  dimensions0
  distributionCONSTANT
  group typeSCALAR
  timelevels1
 variable typeREAL




gf001_sum_count gf001_sum_count   compact0
  descriptionNumber of tested grid points
  dimensions0
  distributionCONSTANT
  group typeSCALAR
  timelevels1
 variable typeREAL




gf010_sum_count gf010_sum_count   compact0
  descriptionNumber of tested grid points
  dimensions0
  distributionCONSTANT
  group typeSCALAR
  timelevels1
 variable typeREAL




gf011_sum_count gf011_sum_count   compact0
  descriptionNumber of tested grid points
  dimensions0
  distributionCONSTANT
  group typeSCALAR
  timelevels1
 variable typeREAL








  Group Names    Variable Names    Details   




gf100_sum_count gf100_sum_count   compact0
  descriptionNumber of tested grid points
  dimensions0
  distributionCONSTANT
  group typeSCALAR
  timelevels1
 variable typeREAL




gf101_sum_count gf101_sum_count   compact0
  descriptionNumber of tested grid points
  dimensions0
  distributionCONSTANT
  group typeSCALAR
  timelevels1
 variable typeREAL




gf110_sum_count gf110_sum_count   compact0
  descriptionNumber of tested grid points
  dimensions0
  distributionCONSTANT
  group typeSCALAR
  timelevels1
 variable typeREAL




gf111_sum_count gf111_sum_count   compact0
  descriptionNumber of tested grid points
  dimensions0
  distributionCONSTANT
  group typeSCALAR
  timelevels1
 variable typeREAL




Uses header:

loop.hxx

8 Schedule

This section lists all the variables which are assigned storage by thorn CarpetX/TestProlongate. 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:  
gf000  
gf001  
gf010_error  
gf011_error  
gf100_error  
gf101_error  
gf110_error  
gf111_error  
gf000_count  
gf001_count  
gf010_count  
gf011_count  
gf010  
gf100_count  
gf101_count  
gf110_count  
gf111_count  
gf000_max_error  
gf001_max_error  
gf010_max_error  
gf011_max_error  
gf100_max_error  
gf101_max_error  
gf011  
gf110_max_error  
gf111_max_error  
gf000_sum_count 
gf001_sum_count 
gf010_sum_count 
gf011_sum_count 
gf100_sum_count 
gf101_sum_count 
gf110_sum_count 
gf111_sum_count 
gf100  
gf101  
gf110  
gf111  
gf000_error  
gf001_error  
   

Scheduled Functions

CCTK_POSTINITIAL

  testprolongate_regrid

  set up test grid

 

 Language:c
 Type: function
 Writes: carpetx::regrid_error(interior)

CCTK_POSTSTEP

  testprolongate_regrid

  set up test grid

 

 Language:c
 Type: function
 Writes: carpetx::regrid_error(interior)

CCTK_INITIAL

  testprolongate_setvalue

  set up test data

 

 Type:group

CCTK_EVOL

  testprolongate_setvalue

  set up test data

 

 Type:group

TestProlongate_SetValue

  testprolongate_set

  set up test data

 

 Language:c
 Type: function
 Writes: gf000(interior)
   gf001(interior)
   gf010(interior)
   gf011(interior)
   gf100(interior)
   gf101(interior)
   gf110(interior)
   gf111(interior)
   gf000_max_error
   gf001_max_error
   gf010_max_error
   gf011_max_error
   gf100_max_error
   gf101_max_error
   gf110_max_error
   gf111_max_error
   gf000_sum_count
   gf001_sum_count
   gf010_sum_count
   gf011_sum_count
   gf100_sum_count
   gf101_sum_count
   gf110_sum_count
   gf111_sum_count

TestProlongate_SetValue

  testprolongate_sync

  sync test data

 

 After: testprolongate_set
 Language:c
 Sync: gf000
   gf001
   gf010
   gf011
   gf100
   gf101
   gf110
   gf111
 Type: function

CCTK_POSTREGRID

  testprolongate_sync

  sync test data

 

 Language:c
 Sync: gf000
   gf001
   gf010
   gf011
   gf100
   gf101
   gf110
   gf111
 Type: function

CCTK_POSTRESTRICT

  testprolongate_sync

  sync test data

 

 Language:c
 Sync: gf000
   gf001
   gf010
   gf011
   gf100
   gf101
   gf110
   gf111
 Type: function

CCTK_ANALYSIS

  testprolongate_check

  compute error

 

 Language:c
 Reads: gf000(everywhere)
   gf001(everywhere)
   gf010(everywhere)
   gf011(everywhere)
   gf100(everywhere)
   gf101(everywhere)
   gf110(everywhere)
   gf111(everywhere)
   gf000_max_error
   gf001_max_error
   gf010_max_error
   gf011_max_error
   gf100_max_error
   gf101_max_error
   gf110_max_error
   gf111_max_error
   gf000_sum_count
   gf001_sum_count
   gf010_sum_count
   gf011_sum_count
   gf100_sum_count
   gf101_sum_count
   gf110_sum_count
   gf111_sum_count
 Type: function
 Writes: gf000_error(everywhere)
   gf001_error(everywhere)
   gf010_error(everywhere)
   gf011_error(everywhere)
   gf100_error(everywhere)
   gf101_error(everywhere)
   gf110_error(everywhere)
   gf111_error(everywhere)
   gf000_count(everywhere)
   gf001_count(everywhere)
   gf010_count(everywhere)
   gf011_count(everywhere)
   gf100_count(everywhere)
   gf101_count(everywhere)
   gf110_count(everywhere)
   gf111_count(everywhere)
   gf000_max_error
   gf001_max_error
   gf010_max_error
   gf011_max_error
   gf100_max_error
   gf101_max_error
   gf110_max_error
   gf111_max_error
   gf000_sum_count
   gf001_sum_count
   gf010_sum_count
   gf011_sum_count
   gf100_sum_count
   gf101_sum_count
   gf110_sum_count
   gf111_sum_count