Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
roccom_basic.h File Reference

This file contains some definitions of macros and constants for Roccoms. More...

#include "FC.h"
Include dependency graph for roccom_basic.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define COM_F_FUNC(x)   x
 Macro for renaming Fortran functions. More...
 
#define COM_F_FUNC2(lowcase, uppercase)   FC_GLOBAL(lowcase, uppercase)
 
#define COM_LOAD_MODULE_STATIC_DYNAMIC(moduleName, windowString)   COM_load_module(#moduleName,windowString)
 
#define COM_UNLOAD_MODULE_STATIC_DYNAMIC(moduleName, windowString)   COM_unload_module(#moduleName,windowString)
 
#define COM_EXTERN_MODULE(moduleName)
 
#define MAX_NAMELEN   128
 The maxinum length of name string passed by users. More...
 

Typedefs

typedef int COM_Type
 Indices for derived data types. More...
 
typedef void(* Func_ptr )()
 Pointer of functions. More...
 
typedef Func_ptr COM_Func_ptr
 

Enumerations

enum  {
  COM_CHAR, COM_UNSIGNED_CHAR, COM_BYTE, COM_SHORT,
  COM_UNSIGNED_SHORT, COM_INT, COM_UNSIGNED, COM_LONG,
  COM_UNSIGNED_LONG, COM_FLOAT, COM_DOUBLE, COM_LONG_DOUBLE,
  COM_BOOL, COM_CHARACTER =13, COM_LOGICAL, COM_INTEGER,
  COM_REAL, COM_DOUBLE_PRECISION, COM_COMPLEX, COM_DOUBLE_COMPLEX,
  COM_MPI_COMMC, COM_MPI_COMM =COM_MPI_COMMC, COM_MPI_COMMF, COM_MAX_TYPEID =COM_MPI_COMMF,
  COM_STRING = -1, COM_RAWDATA = -2, COM_METADATA = -3, COM_VOID = -4,
  COM_F90POINTER = -5, COM_OBJECT = -6, COM_MIN_TYPEID = -6
}
 Data types. More...
 

Detailed Description

This file contains some definitions of macros and constants for Roccoms.

See Also
roccom.h

Definition in file roccom_basic.h.

Macro Definition Documentation

#define COM_EXTERN_MODULE (   moduleName)

Definition at line 116 of file roccom_basic.h.

#define COM_F_FUNC (   x)    x

Macro for renaming Fortran functions.

Definition at line 83 of file roccom_basic.h.

#define MAX_NAMELEN   128

The maxinum length of name string passed by users.

Definition at line 120 of file roccom_basic.h.

Referenced by Roccom_base::call_function().

Typedef Documentation

Definition at line 124 of file roccom_basic.h.

typedef int COM_Type

Indices for derived data types.

Definition at line 122 of file roccom_basic.h.

typedef void(* Func_ptr)()

Pointer of functions.

Definition at line 123 of file roccom_basic.h.

Enumeration Type Documentation

anonymous enum

Data types.

Enumerator
COM_CHAR 

C/C++ Data types.

COM_UNSIGNED_CHAR 
COM_BYTE 
COM_SHORT 
COM_UNSIGNED_SHORT 
COM_INT 
COM_UNSIGNED 
COM_LONG 
COM_UNSIGNED_LONG 
COM_FLOAT 
COM_DOUBLE 
COM_LONG_DOUBLE 
COM_BOOL 
COM_CHARACTER 

Fortran Data types.

COM_LOGICAL 
COM_INTEGER 
COM_REAL 
COM_DOUBLE_PRECISION 
COM_COMPLEX 
COM_DOUBLE_COMPLEX 
COM_MPI_COMMC 

Other.

COM_MPI_COMM 
COM_MPI_COMMF 
COM_MAX_TYPEID 
COM_STRING 
COM_RAWDATA 
COM_METADATA 
COM_VOID 
COM_F90POINTER 
COM_OBJECT 
COM_MIN_TYPEID 

Definition at line 127 of file roccom_basic.h.

127  {
138  COM_STRING = -1, COM_RAWDATA = -2, COM_METADATA = -3, COM_VOID = -4,
139  COM_F90POINTER = -5, COM_OBJECT = -6, COM_MIN_TYPEID = -6 };
C/C++ Data types.
Definition: roccom_basic.h:129
Fortran Data types.
Definition: roccom_basic.h:133