Chapter J11
TestLocalReduce



J11.1 Abstract

J11.2 Introduction

J11.3 Physical System

J11.4 Numerical Implementation

J11.5 Using This Thorn

J11.5.1 Obtaining This Thorn

J11.5.2 Basic Usage

J11.5.3 Special Behaviour

J11.5.4 Interaction With Other Thorns

J11.5.5 Support and Feedback

J11.6 History

J11.6.1 Thorn Source Code

J11.6.2 Thorn Documentation

J11.6.3 Acknowledgements

J11.7 Parameters




array_nx
Scope: private   INT



Description: Size of arrays in x direction



Range    Default: 4
0:*






array_ny
Scope: private   INT



Description: Size of arrays in y direction



Range    Default: 5
0:*






array_nz
Scope: private   INT



Description: Size of arrays in z direction



Range    Default: 10
0:*



J11.8 Interfaces

General

Implements:

testlocalreduce

Grid Variables

PUBLIC GROUPS




  Group Names    Variable Names     Details   




real_vals    compact0
real_max_3D    descriptionresults from real reduction
real_max_2D    dimensions0
real_max_1D    distributionCONSTANT
real_sum_3D    group typeSCALAR
real_sum_2D    stagger typeNONE
real_sum_1D    timelevels1
real_avg_3D   variable typeREAL




int_vals    compact0
int_max_3D    descriptionresults from int reduction
int_max_2D    dimensions0
int_max_1D    distributionCONSTANT
int_sum_3D    group typeSCALAR
int_sum_2D    stagger typeNONE
int_sum_1D    timelevels1
int_avg_3D   variable typeINT




J11.9 Schedule

This section lists all the variables which are assigned storage by thorn CactusTest/TestLocalReduce. 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:  
real_vals int_vals 
   

Scheduled Functions

CCTK_POSTINITIAL

  testlocalreducec_maximum

  test out maximum reductions from c

 

 Language:c
 Type: function

CCTK_POSTINITIAL

  testlocalreducec_sum

  test out sum reductions from c

 

 Language:c
 Type: function

CCTK_POSTINITIAL

  testlocalreducec_avg

  test out avg reductions from c

 

 Language:c
 Type: function