Chapter N1
AMRToy

Author(s): Erik Schnetter <eschnetter@perimeterinstitute.ca>

Date: June 15 2011



N1.1 Abstract

N1.2 Introduction

N1.3 Physical System

N1.4 Numerical Implementation

N1.5 Using This Thorn

N1.5.1 Obtaining This Thorn

N1.5.2 Basic Usage

N1.5.3 Special Behaviour

N1.5.4 Interaction With Other Thorns

N1.5.5 Examples

N1.5.6 Support and Feedback

N1.6 History

N1.6.1 Thorn Source Code

N1.6.2 Thorn Documentation

N1.6.3 Acknowledgements

N1.7 Parameters




max_radius
Scope: private  REAL



Description: Maximum refinement radius



Range   Default: 1.0
0:*






min_radius
Scope: private  REAL



Description: Minimum refinement radius



Range   Default: 1.0
(0:*






radius_type
Scope: private  KEYWORD



Description: Norm defining the shape of the refined region



Range   Default: sphere
diamond
L_1 norm
sphere
L_2 norm
box
L_inf norm



N1.8 Interfaces

General

Implements:

amrtoy

Inherits:

grid

carpetregrid2

N1.9 Schedule

This section lists all the variables which are assigned storage by thorn CarpetExtra/AMRToy. 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:  
CarpetRegrid2::level_mask 
   

Scheduled Functions

CCTK_PREREGRIDINITIAL

  amr_set_level_mask

  set amr mask

 

 Language:fortran
 Options: global
   loop-local
 Type: function

CCTK_PREREGRID

  amr_set_level_mask

  set amr mask

 

 Language:fortran
 Options: global
   loop-local
 Type: function