Chapter G8
Norms

Author(s): Frank Herrmann <herrmann@aei.mpg.de>

Erik Schnetter <Erik.Schnetter@aei.mpg.de>

Date: March 17 2005



G8.1 Abstract

G8.2 Introduction

G8.3 Physical System

G8.4 Numerical Implementation

G8.5 Using This Thorn

G8.5.1 Obtaining This Thorn

G8.5.2 Basic Usage

G8.5.3 Special Behaviour

G8.5.4 Interaction With Other Thorns

G8.5.5 Examples

G8.5.6 Support and Feedback

G8.6 History

G8.6.1 Thorn Source Code

G8.6.2 Thorn Documentation

G8.6.3 Acknowledgements

G8.7 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



G8.8 Interfaces

General

Implements:

norms

Grid Variables

PRIVATE GROUPS




  Group Names    Variable Names     Details   




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




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




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




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




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




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




G8.9 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