eTurb
nek_comm.c File Reference
#include <stdio.h>
#include <math.h>
+ Include dependency graph for nek_comm.c:

Macros

#define FORTRAN_NAME(low, up)   low
 
#define nek_comm_settings   FORTRAN_NAME(nek_comm_settings, NEK_COMM_SETTINGS)
 
#define nek_comm_getstat   FORTRAN_NAME(nek_comm_getstat, NEK_COMM_GETSTAT)
 
#define nek_comm_startstat   FORTRAN_NAME(nek_comm_startstat, NEK_COMM_STARTSTAT)
 
#define NTIMER   8
 
#define NCOUNTER   NTIMER
 

Functions

void nek_comm_settings (int *sync, int *timing)
 
void nek_comm_getstat (double *timer, int *counter)
 
void nek_comm_startstat (void)
 

Variables

int SYNC = 0
 
int TIMING = 1
 
double MPI_TIMERS [NTIMER] = {(double)0.0}
 
int COUNTER [NCOUNTER] = {0}
 

Macro Definition Documentation

◆ FORTRAN_NAME

#define FORTRAN_NAME (   low,
  up 
)    low

◆ NCOUNTER

#define NCOUNTER   NTIMER

◆ nek_comm_getstat

#define nek_comm_getstat   FORTRAN_NAME(nek_comm_getstat, NEK_COMM_GETSTAT)

◆ nek_comm_settings

#define nek_comm_settings   FORTRAN_NAME(nek_comm_settings, NEK_COMM_SETTINGS)

◆ nek_comm_startstat

#define nek_comm_startstat   FORTRAN_NAME(nek_comm_startstat, NEK_COMM_STARTSTAT)

◆ NTIMER

#define NTIMER   8

Function Documentation

◆ nek_comm_getstat()

void nek_comm_getstat ( double *  timer,
int *  counter 
)

◆ nek_comm_settings()

void nek_comm_settings ( int *  sync,
int *  timing 
)

◆ nek_comm_startstat()

void nek_comm_startstat ( void  )

Variable Documentation

◆ COUNTER

int COUNTER[NCOUNTER] = {0}

◆ MPI_TIMERS

double MPI_TIMERS[NTIMER] = {(double)0.0}

◆ SYNC

int SYNC = 0

◆ TIMING

int TIMING = 1