Norms

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 compact 0
sum_handle description handles for reduction operators
dimensions 0
distribution CONSTANT
group type SCALAR
timelevels 1
variable type INT




varinfo compact 0
varindices_1st description variable info - which vars to compute norms for
varindices_2nd dimensions 1
distribution CONSTANT
group type ARRAY
size MAX_NR_VARS
timelevels 1
variable type INT




nrdecvar_gr compact 0
nr1stvars description number of vars to compute for 1st & 2nd order vars
nr2ndvars dimensions 0
distribution CONSTANT
group type SCALAR
timelevels 1
variable type INT




bgvals_group compact 0
bgvals_1st description background value for variable - these get subtracted
bgvals_2nd dimensions 1
distribution CONSTANT
group type ARRAY
size MAX_NR_VARS
timelevels 1
variable type REAL




norm_group compact 0
norm description computed norm
norm_u dimensions 0
norm_v distribution CONSTANT
norm_grad group type SCALAR
timelevels 1
variable type REAL




diff_term_group compact 0
diff_term description diff terms for norm
dimensions 3
distribution DEFAULT
group type GF
timelevels 1
variable type REAL




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