Frank Herrmann <herrmann@aei.mpg.de>
Erik Schnetter <Erik.Schnetter@aei.mpg.de>

March 17 2005

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




gridfunctions_1st
Scope: private  STRING



Description: Set of grid functions to compute norms for 2nd order variables



Range   Default: (none)
.*
List of grid function names






gridfunctions_2nd
Scope: private  STRING



Description: Set of grid functions to compute norms for 2nd order variables



Range   Default: (none)
.*
List of grid function names






max_nr_vars
Scope: private  INT



Description: maximum number of variables for which norms to compute



Range   Default: 100
0:*
positive






verbose
Scope: private  INT



Description: verbosity of output



Range   Default: (none)
0:9
higher number means more verbose output



7 Interfaces

General

Implements:

norms

Grid Variables

7.0.1 PRIVATE GROUPS




  Group Names    Variable Names    Details   




handles_group   compact0
sum_handle   descriptionhandles for reduction operators
  dimensions0
  distributionCONSTANT
  group typeSCALAR
  timelevels1
 variable typeINT




varinfo   compact0
varindices_1st   descriptionvariable info - which vars to compute norms for
varindices_2nd   dimensions1
  distributionCONSTANT
  group typeARRAY
  sizeMAX_NR_VARS
  timelevels1
 variable typeINT




nrdecvar_gr   compact0
nr1stvars   descriptionnumber of vars to compute for 1st & 2nd order vars
nr2ndvars   dimensions0
  distributionCONSTANT
  group typeSCALAR
  timelevels1
 variable typeINT




bgvals_group   compact0
bgvals_1st   descriptionbackground value for variable - these get subtracted
bgvals_2nd   dimensions1
  distributionCONSTANT
  group typeARRAY
  sizeMAX_NR_VARS
  timelevels1
 variable typeREAL




norm_group   compact0
norm   descriptioncomputed norm
norm_u   dimensions0
norm_v   distributionCONSTANT
norm_grad   group typeSCALAR
  timelevels1
 variable typeREAL




diff_term_group   compact0
diff_term   descriptiondiff terms for norm
  dimensions3
  distributionDEFAULT
  group typeGF
  timelevels1
 variable typeREAL




8 Schedule

This section lists all the variables which are assigned storage by thorn CactusNumerical/Norms. 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:  
varinfo nrdecvar_gr bgvals_group 
   

Scheduled Functions

CCTK_WRAGH

  norms_setup_vars

  check norm_type and setup the vars info

 

 Language:c
 Options: global
 Type: function

CCTK_ANALYSIS

  norms_compute_norms

  compute the norm

 

 Language:c
 Storage: diff_term_group
   norm_group
 Triggers: norm_group
 Type: function