FrontISTR  5.7.0
Large-scale structural analysis program with finit element method
hecmw_io_dist.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <ctype.h>
#include "hecmw_struct.h"
#include "hecmw_util.h"
#include "hecmw_dist_alloc.h"
#include "hecmw_io_dist.h"
Include dependency graph for hecmw_io_dist.c:

Go to the source code of this file.

Macros

#define FSCANF_RTC_TOO_SHORT   (-10001)
 
#define FSCNAF_RTC_EOF   (-10002)
 
#define COLS_INT_DEF   10
 
#define COLS_DOUBLE_DEF   5
 
#define COLS_TWO   2
 
#define COLS_THREE   3
 
#define FILE_MAGIC   "!HECMW-DMD-ASCII"
 
#define FILE_MAGIC_LEN   (sizeof(FILE_MAGIC) - 1)
 
#define HEADER_STRING   "!HECMW-DMD-ASCII version="
 
#define LINEBUF_SIZE   8096
 

Functions

struct hecmwST_local_meshHECMW_get_dist_mesh (char *fname)
 
int HECMW_put_dist_mesh (const struct hecmwST_local_mesh *mesh, char *fname)
 

Macro Definition Documentation

◆ COLS_DOUBLE_DEF

#define COLS_DOUBLE_DEF   5

Definition at line 19 of file hecmw_io_dist.c.

◆ COLS_INT_DEF

#define COLS_INT_DEF   10

Definition at line 18 of file hecmw_io_dist.c.

◆ COLS_THREE

#define COLS_THREE   3

Definition at line 21 of file hecmw_io_dist.c.

◆ COLS_TWO

#define COLS_TWO   2

Definition at line 20 of file hecmw_io_dist.c.

◆ FILE_MAGIC

#define FILE_MAGIC   "!HECMW-DMD-ASCII"

Definition at line 23 of file hecmw_io_dist.c.

◆ FILE_MAGIC_LEN

#define FILE_MAGIC_LEN   (sizeof(FILE_MAGIC) - 1)

Definition at line 24 of file hecmw_io_dist.c.

◆ FSCANF_RTC_TOO_SHORT

#define FSCANF_RTC_TOO_SHORT   (-10001)

Definition at line 15 of file hecmw_io_dist.c.

◆ FSCNAF_RTC_EOF

#define FSCNAF_RTC_EOF   (-10002)

Definition at line 16 of file hecmw_io_dist.c.

◆ HEADER_STRING

#define HEADER_STRING   "!HECMW-DMD-ASCII version="

Definition at line 25 of file hecmw_io_dist.c.

◆ LINEBUF_SIZE

#define LINEBUF_SIZE   8096

Function Documentation

◆ HECMW_get_dist_mesh()

struct hecmwST_local_mesh* HECMW_get_dist_mesh ( char *  fname)

Definition at line 1662 of file hecmw_io_dist.c.

◆ HECMW_put_dist_mesh()

int HECMW_put_dist_mesh ( const struct hecmwST_local_mesh mesh,
char *  fname 
)

Definition at line 2767 of file hecmw_io_dist.c.