FrontISTR  5.7.0
Large-scale structural analysis program with finit element method
hecmw_result_io_txt.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include "hecmw_util.h"
#include "hecmw_result.h"
#include "hecmw_result_io.h"
Include dependency graph for hecmw_result_io_txt.c:

Go to the source code of this file.

Macros

#define COL_INT   10
 
#define COL_DOUBLE   5
 
#define LINEBUF_SIZE   1023
 
#define DELIM   " \n"
 
#define DELIM   " \n"
 
#define DELIM   " \n"
 

Functions

int HECMW_result_io_txt_write_by_fname (char *filename)
 
int HECMW_result_io_txt_write_ST_by_fname (char *filename, struct hecmwST_result_data *result, int n_node, int n_elem, char *header, char *comment)
 
struct hecmwST_result_dataHECMW_result_io_txt_read_by_fname (char *filename)
 

Macro Definition Documentation

◆ COL_DOUBLE

#define COL_DOUBLE   5

Definition at line 15 of file hecmw_result_io_txt.c.

◆ COL_INT

#define COL_INT   10

Definition at line 14 of file hecmw_result_io_txt.c.

◆ DELIM [1/3]

#define DELIM   " \n"

◆ DELIM [2/3]

#define DELIM   " \n"

◆ DELIM [3/3]

#define DELIM   " \n"

◆ LINEBUF_SIZE

#define LINEBUF_SIZE   1023

Definition at line 17 of file hecmw_result_io_txt.c.

Function Documentation

◆ HECMW_result_io_txt_read_by_fname()

struct hecmwST_result_data* HECMW_result_io_txt_read_by_fname ( char *  filename)

Definition at line 1208 of file hecmw_result_io_txt.c.

◆ HECMW_result_io_txt_write_by_fname()

int HECMW_result_io_txt_write_by_fname ( char *  filename)

Definition at line 340 of file hecmw_result_io_txt.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ HECMW_result_io_txt_write_ST_by_fname()

int HECMW_result_io_txt_write_ST_by_fname ( char *  filename,
struct hecmwST_result_data result,
int  n_node,
int  n_elem,
char *  header,
char *  comment 
)

Definition at line 694 of file hecmw_result_io_txt.c.