MACSio  0.9
Multi-purpose, Application-Centric, Scalable I/O Proxy App
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
macsio_exodus.c File Reference
#include <assert.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <macsio_clargs.h>
#include <macsio_data.h>
#include <macsio_iface.h>
#include <macsio_log.h>
#include <macsio_main.h>
#include <macsio_mif.h>
#include <macsio_utils.h>
#include <exodusII.h>
#include <mpi.h>

Go to the source code of this file.

Data Structures

struct  _ex_global_init_params
 

Macros

#define MAX_STRING_LEN   128
 

Typedefs

typedef struct
_ex_global_init_params 
ex_global_init_params_t
 

Functions

static int process_args (int argi, int argc, char *argv[])
 
static void * CreateExodusFile (const char *fname, const char *nsname, void *userData)
 MIF Create callback. More...
 
static void * OpenExodusFile (const char *fname, const char *nsname, MACSIO_MIF_ioFlags_t ioFlags, void *userData)
 
static void CloseExodusFile (void *file, void *userData)
 
static void get_exodus_global_init_params (json_object *main_obj, int dumpn, double dumpt, ex_global_init_params_t *params)
 
static void write_rect_mesh_coords_all_parts (int exoid, ex_global_init_params_t const *params, json_object *parts, int **elem_block_coord_offsets)
 
static void write_mesh_coords_all_parts (int exoid, ex_global_init_params_t const *params, json_object *parts, int **elem_block_coord_offsets)
 
static void write_mesh_part_blocks_and_vars (int exoid, ex_global_init_params_t const *params, json_object *part, int coord_offset, int dumpn, double dumpt)
 
static void WriteNemesis (json_object *main_obj, int exoid, int dumpn, MACSIO_MIF_baton_t *bat)
 
static void WriteDecompMesh (json_object *main_obj, int exoid, int dumpn, MACSIO_MIF_baton_t *bat)
 
static void main_dump (int argi, int argc, char **argv, json_object *main_obj, int dumpn, double dumpt)
 
static int register_this_interface ()
 

Variables

static char const * iface_name = "exodus"
 
static char const * iface_ext = "exoII"
 
static char * cpu_word_size = "double"
 
static char io_word_size [32]
 
static int use_nemesis = 0
 
static char use_large_model [32]
 
static int dummy = register_this_interface()
 

Macro Definition Documentation

#define MAX_STRING_LEN   128

Definition at line 47 of file macsio_exodus.c.