mod_fem_viewer/include/IOManager.h File Reference

#include <stdio.h>
#include <stdlib.h>
#include "../utils/fv_dictstr.h"
Include dependency graph for IOManager.h:

Go to the source code of this file.

Defines

#define DLL_MAPPING
#define FV_API
#define IS_MESH(w)   ((w) & FV_MESH)
#define IS_FIELD(w)   ((w) & FV_FIELD)
#define IS_DG_FIELD(w)   ((w) & FV_FLD_DG)

Typedefs

typedef enum FV_Error_enum FV_Result
typedef enum FV_IO_Items IO_Type

Enumerations

enum  FV_Error_enum {
  FV_SUCCESS = 0, FV_FAILED = -1, FV_INVALID_TYPE = 1, FV_INVALID_FILE_PATH,
  FV_CANT_OPEN_FILE, FV_ERROR_FILE_NOT_FOUND
}
enum  FV_IO_Items {
  FV_NONE = 0x000, FV_MESH_PRISM = 0x001, FV_MESH_TETRA = 0x002, FV_MESH = FV_MESH_PRISM | FV_MESH_TETRA,
  FV_FLD_DG = 0x010, FV_FLD_STD = 0x020, FV_FIELD = FV_FLD_DG | FV_FLD_STD, FV_INIT_MESH = 0x100,
  FV_INIT_FIELD_DG = 0x200, FV_INIT_FIELD_STD = 0x400
}

Functions

DLL_MAPPING FV_Result FV_API IOMgr_Initialize (const int &argc, const char **argv)
DLL_MAPPING FV_Result FV_API IOMgr_Destroy ()
DLL_MAPPING FV_Result FV_API IOMgr_FileExists (const char *fname, const StrDict *map, const unsigned int size, IO_Type *type)
DLL_MAPPING FV_Result FV_API IOMgr_ReadFromFile (const char *fname, void *pItem, IO_Type type)

Define Documentation

#define DLL_MAPPING
#define FV_API
#define IS_DG_FIELD (  )     ((w) & FV_FLD_DG)
#define IS_FIELD (  )     ((w) & FV_FIELD)
#define IS_MESH (  )     ((w) & FV_MESH)

Typedef Documentation

typedef enum FV_Error_enum FV_Result
typedef enum FV_IO_Items IO_Type

Enumeration Type Documentation

Enumerator:
FV_SUCCESS 
FV_FAILED 
FV_INVALID_TYPE 
FV_INVALID_FILE_PATH 
FV_CANT_OPEN_FILE 
FV_ERROR_FILE_NOT_FOUND 
Enumerator:
FV_NONE 
FV_MESH_PRISM 
FV_MESH_TETRA 
FV_MESH 
FV_FLD_DG 
FV_FLD_STD 
FV_FIELD 
FV_INIT_MESH 
FV_INIT_FIELD_DG 
FV_INIT_FIELD_STD 

Function Documentation

DLL_MAPPING FV_Result FV_API IOMgr_Destroy (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

DLL_MAPPING FV_Result FV_API IOMgr_FileExists ( const char *  fname,
const StrDict map,
const unsigned int  size,
IO_Type type 
)

Here is the call graph for this function:

DLL_MAPPING FV_Result FV_API IOMgr_Initialize ( const int &  argc,
const char **  argv 
)

Here is the call graph for this function:

Here is the caller graph for this function:

DLL_MAPPING FV_Result FV_API IOMgr_ReadFromFile ( const char *  fname,
void pItem,
IO_Type  type 
)

Here is the call graph for this function:

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Jun 2020 for ModFEM by  doxygen 1.6.1