Nek5000
SEM for Incompressible NS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Macros | Functions | Variables
nek_comm.c File Reference
#include <stdio.h>
#include <math.h>
+ Include dependency graph for nek_comm.c:

Go to the source code of this file.

Macros

#define NTIMER   8
 
#define NCOUNTER   NTIMER
 
#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)
 

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 TIMER [NTIMER] = {(double)0.0}
 
int COUNTER [NCOUNTER] = {0}
 

Macro Definition Documentation

#define FORTRAN_NAME (   low,
  up 
)    low

Definition at line 30 of file nek_comm.c.

#define NCOUNTER   NTIMER

Definition at line 22 of file nek_comm.c.

Referenced by nek_comm_getstat().

#define nek_comm_getstat   FORTRAN_NAME(nek_comm_getstat, NEK_COMM_GETSTAT)

Definition at line 35 of file nek_comm.c.

Referenced by runstat().

#define nek_comm_settings   FORTRAN_NAME(nek_comm_settings, NEK_COMM_SETTINGS)

Definition at line 34 of file nek_comm.c.

Referenced by nek_solve().

#define nek_comm_startstat   FORTRAN_NAME(nek_comm_startstat, NEK_COMM_STARTSTAT)

Definition at line 36 of file nek_comm.c.

Referenced by nek_solve().

#define NTIMER   8

Definition at line 21 of file nek_comm.c.

Referenced by nek_comm_getstat().

Function Documentation

void nek_comm_getstat ( double *  timer,
int *  counter 
)

Definition at line 291 of file nek_comm.c.

References i, NCOUNTER, NTIMER, and TIMER.

void nek_comm_settings ( int *  sync,
int *  timing 
)

Definition at line 290 of file nek_comm.c.

void nek_comm_startstat ( void  )

Definition at line 297 of file nek_comm.c.

Variable Documentation

int COUNTER[NCOUNTER] = {0}

Definition at line 42 of file nek_comm.c.

int SYNC = 0

Definition at line 39 of file nek_comm.c.

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

Definition at line 41 of file nek_comm.c.

Referenced by nek_comm_getstat().

int TIMING = 1

Definition at line 40 of file nek_comm.c.