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:

carpetxregrid

Grid Variables

7.0.1 PRIVATE GROUPS





  Group Names     Variable Names   Details    




gf000 gf000 centering centering={0 0 0}
compact 0
description Test grid function
dimensions 3
distribution DEFAULT
group type GF
tags dirichlet_values={1.0e+10}
timelevels 1
variable type REAL




gf001 gf001 centering centering={0 0 1}
compact 0
description Test grid function
dimensions 3
distribution DEFAULT
group type GF
tags dirichlet_values={1.0e+10}
timelevels 1
variable type REAL




gf010 gf010 centering centering={0 1 0}
compact 0
description Test grid function
dimensions 3
distribution DEFAULT
group type GF
tags dirichlet_values={1.0e+10}
timelevels 1
variable type REAL




gf011 gf011 centering centering={0 1 1}
compact 0
description Test grid function
dimensions 3
distribution DEFAULT
group type GF
tags dirichlet_values={1.0e+10}
timelevels 1
variable type REAL




gf100 gf100 centering centering={1 0 0}
compact 0
description Test grid function
dimensions 3
distribution DEFAULT
group type GF
tags dirichlet_values={1.0e+10}
timelevels 1
variable type REAL




gf101 gf101 centering centering={1 0 1}
compact 0
description Test grid function
dimensions 3
distribution DEFAULT
group type GF
tags dirichlet_values={1.0e+10}
timelevels 1
variable type REAL








  Group Names     Variable Names   Details    




gf110 gf110 centering centering={1 1 0}
compact 0
description Test grid function
dimensions 3
distribution DEFAULT
group type GF
tags dirichlet_values={1.0e+10}
timelevels 1
variable type REAL




gf111 gf111 centering centering={1 1 1}
compact 0
description Test grid function
dimensions 3
distribution DEFAULT
group type GF
tags dirichlet_values={1.0e+10}
timelevels 1
variable type REAL




gf000_error gf000_error centering centering={0 0 0}
compact 0
description Error in test grid function
dimensions 3
distribution DEFAULT
group type GF
timelevels 1
variable type REAL




gf001_error gf001_error centering centering={0 0 1}
compact 0
description Error in test grid function
dimensions 3
distribution DEFAULT
group type GF
timelevels 1
variable type REAL




gf010_error gf010_error centering centering={0 1 0}
compact 0
description Error in test grid function
dimensions 3
distribution DEFAULT
group type GF
timelevels 1
variable type REAL




gf011_error gf011_error centering centering={0 1 1}
compact 0
description Error in test grid function
dimensions 3
distribution DEFAULT
group type GF
timelevels 1
variable type REAL








  Group Names     Variable Names   Details    




gf100_error gf100_error centering centering={1 0 0}
compact 0
description Error in test grid function
dimensions 3
distribution DEFAULT
group type GF
timelevels 1
variable type REAL




gf101_error gf101_error centering centering={1 0 1}
compact 0
description Error in test grid function
dimensions 3
distribution DEFAULT
group type GF
timelevels 1
variable type REAL




gf110_error gf110_error centering centering={1 1 0}
compact 0
description Error in test grid function
dimensions 3
distribution DEFAULT
group type GF
timelevels 1
variable type REAL




gf111_error gf111_error centering centering={1 1 1}
compact 0
description Error in test grid function
dimensions 3
distribution DEFAULT
group type GF
timelevels 1
variable type REAL




gf000_count gf000_count centering centering={0 0 0}
compact 0
description Tested grid points
dimensions 3
distribution DEFAULT
group type GF
timelevels 1
variable type REAL




gf001_count gf001_count centering centering={0 0 1}
compact 0
description Tested grid points
dimensions 3
distribution DEFAULT
group type GF
timelevels 1
variable type REAL








  Group Names     Variable Names   Details    




gf010_count gf010_count centering centering={0 1 0}
compact 0
description Tested grid points
dimensions 3
distribution DEFAULT
group type GF
timelevels 1
variable type REAL




gf011_count gf011_count centering centering={0 1 1}
compact 0
description Tested grid points
dimensions 3
distribution DEFAULT
group type GF
timelevels 1
variable type REAL




gf100_count gf100_count centering centering={1 0 0}
compact 0
description Tested grid points
dimensions 3
distribution DEFAULT
group type GF
timelevels 1
variable type REAL




gf101_count gf101_count centering centering={1 0 1}
compact 0
description Tested grid points
dimensions 3
distribution DEFAULT
group type GF
timelevels 1
variable type REAL




gf110_count gf110_count centering centering={1 1 0}
compact 0
description Tested grid points
dimensions 3
distribution DEFAULT
group type GF
timelevels 1
variable type REAL




gf111_count gf111_count centering centering={1 1 1}
compact 0
description Tested grid points
dimensions 3
distribution DEFAULT
group type GF
timelevels 1
variable type REAL








  Group Names     Variable Names   Details    




gf000_max_error gf000_max_error compact 0
description Total error in test grid function
dimensions 0
distribution CONSTANT
group type SCALAR
timelevels 1
variable type REAL




gf001_max_error gf001_max_error compact 0
description Total error in test grid function
dimensions 0
distribution CONSTANT
group type SCALAR
timelevels 1
variable type REAL




gf010_max_error gf010_max_error compact 0
description Total error in test grid function
dimensions 0
distribution CONSTANT
group type SCALAR
timelevels 1
variable type REAL




gf011_max_error gf011_max_error compact 0
description Total error in test grid function
dimensions 0
distribution CONSTANT
group type SCALAR
timelevels 1
variable type REAL




gf100_max_error gf100_max_error compact 0
description Total error in test grid function
dimensions 0
distribution CONSTANT
group type SCALAR
timelevels 1
variable type REAL




gf101_max_error gf101_max_error compact 0
description Total error in test grid function
dimensions 0
distribution CONSTANT
group type SCALAR
timelevels 1
variable type REAL








  Group Names     Variable Names   Details    




gf110_max_error gf110_max_error compact 0
description Total error in test grid function
dimensions 0
distribution CONSTANT
group type SCALAR
timelevels 1
variable type REAL




gf111_max_error gf111_max_error compact 0
description Total error in test grid function
dimensions 0
distribution CONSTANT
group type SCALAR
timelevels 1
variable type REAL




gf000_sum_count gf000_sum_count compact 0
description Number of tested grid points
dimensions 0
distribution CONSTANT
group type SCALAR
timelevels 1
variable type REAL




gf001_sum_count gf001_sum_count compact 0
description Number of tested grid points
dimensions 0
distribution CONSTANT
group type SCALAR
timelevels 1
variable type REAL




gf010_sum_count gf010_sum_count compact 0
description Number of tested grid points
dimensions 0
distribution CONSTANT
group type SCALAR
timelevels 1
variable type REAL




gf011_sum_count gf011_sum_count compact 0
description Number of tested grid points
dimensions 0
distribution CONSTANT
group type SCALAR
timelevels 1
variable type REAL








  Group Names     Variable Names   Details    




gf100_sum_count gf100_sum_count compact 0
description Number of tested grid points
dimensions 0
distribution CONSTANT
group type SCALAR
timelevels 1
variable type REAL




gf101_sum_count gf101_sum_count compact 0
description Number of tested grid points
dimensions 0
distribution CONSTANT
group type SCALAR
timelevels 1
variable type REAL




gf110_sum_count gf110_sum_count compact 0
description Number of tested grid points
dimensions 0
distribution CONSTANT
group type SCALAR
timelevels 1
variable type REAL




gf111_sum_count gf111_sum_count compact 0
description Number of tested grid points
dimensions 0
distribution CONSTANT
group type SCALAR
timelevels 1
variable type REAL




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: carpetxregrid::regrid_error(interior)

CCTK_POSTSTEP

  testprolongate_regrid

  set up test grid

 

  Language: c
  Type: function
  Writes: carpetxregrid::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