HARM
harm and utilities
 All Data Structures Files Functions Variables Typedefs Macros Pages
Macros
global.loops.diagnostics.h File Reference

Diagnostic Loops and definitions/macros DIAGNOSTIC RELATED LOOPS. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DUMPLOOP(istart, istop, jstart, jstop, kstart, kstop)
 want dump output to be ordered in radius first!! consistent with MPI's use of BUFFERMAP to create buffer for all disk writing methods This order should not change for any ORDERSTORAGE, but presumes i,j,k is standard indices for (i.e.) r(i), theta(j), phi(k) More...
 
#define EXTRADUMP1   0
 
#define EXTRADUMP2   0
 
#define EXTRADUMP3   0
 
#define DUMPGENLOOP   DUMPLOOP(0,N1-1,0,N2-1,0,N3-1)
 
#define WITHINENERREGION(theenerpos, i, j, k)   (i>=theenerpos[X1DN])&&(i<=theenerpos[X1UP])&&(j>=theenerpos[X2DN])&&(j<=theenerpos[X2UP])&&(k>=theenerpos[X3DN])&&(k<=theenerpos[X3UP])
 defines whether within the enerregion considered loop-related macro More...
 

Detailed Description

Diagnostic Loops and definitions/macros DIAGNOSTIC RELATED LOOPS.

Definition in file global.loops.diagnostics.h.

Macro Definition Documentation

#define DUMPGENLOOP   DUMPLOOP(0,N1-1,0,N2-1,0,N3-1)

Definition at line 33 of file global.loops.diagnostics.h.

#define DUMPLOOP (   istart,
  istop,
  jstart,
  jstop,
  kstart,
  kstop 
)
Value:
for(k=kstart;k<=kstop;k++) \
for(j=jstart;j<=jstop;j++) \
for(i=istart;i<=istop;i++)

want dump output to be ordered in radius first!! consistent with MPI's use of BUFFERMAP to create buffer for all disk writing methods This order should not change for any ORDERSTORAGE, but presumes i,j,k is standard indices for (i.e.) r(i), theta(j), phi(k)

Definition at line 12 of file global.loops.diagnostics.h.

#define EXTRADUMP1   0

Definition at line 18 of file global.loops.diagnostics.h.

#define EXTRADUMP2   0

Definition at line 19 of file global.loops.diagnostics.h.

#define EXTRADUMP3   0

Definition at line 20 of file global.loops.diagnostics.h.

#define WITHINENERREGION (   theenerpos,
  i,
  j,
 
)    (i>=theenerpos[X1DN])&&(i<=theenerpos[X1UP])&&(j>=theenerpos[X2DN])&&(j<=theenerpos[X2UP])&&(k>=theenerpos[X3DN])&&(k<=theenerpos[X3UP])

defines whether within the enerregion considered loop-related macro

Definition at line 41 of file global.loops.diagnostics.h.