FrontISTR 5.2.0
Large-scale structural analysis program with finit element method
Loading...
Searching...
No Matches
hecmw_result_io.h
Go to the documentation of this file.
1/*****************************************************************************
2 * Copyright (c) 2019 FrontISTR Commons
3 * This software is released under the MIT License, see LICENSE.txt
4 *****************************************************************************/
5
6#ifndef HECMW_RESULT_IO_INCLUDED
7#define HECMW_RESULT_IO_INCLUDED
8
9#include "hecmw_config.h"
10
11#define COL_INT 10
12#define COL_DOUBLE 5
13#define LINEBUF_SIZE 1023
14
16 char *label;
17 double *ptr;
18 int n_dof;
20};
21
22extern int istep;
23extern int nnode;
24extern int nelem;
25extern int filever_major;
26extern int filever_minor;
27extern char head[HECMW_HEADER_LEN + 1];
28extern char comment_line[HECMW_MSG_LEN + 1];
29extern char line_buf[LINEBUF_SIZE + 1];
30
31extern struct result_list *global_list;
32extern struct result_list *node_list;
33extern struct result_list *elem_list;
34
35extern int *node_global_ID;
36extern int *elem_global_ID;
37
38
39extern void HECMW_result_clear();
40extern int HECMW_result_init_body(int n_node, int n_elem, int *nodeID,
41 int *elemID, int i_step,
42 char *header, char *comment);
43extern int HECMW_result_add(int dtype, int n_dof, char *label,
44 double *ptr);
45
46extern int HECMW_result_count_ng_comp(void);
47extern int HECMW_result_count_nn_comp(void);
48extern int HECMW_result_count_ne_comp(void);
49
50#endif
#define HECMW_MSG_LEN
Definition: hecmw_config.h:74
#define HECMW_HEADER_LEN
Definition: hecmw_config.h:68
int HECMW_result_init_body(int n_node, int n_elem, int *nodeID, int *elemID, int i_step, char *header, char *comment)
#define LINEBUF_SIZE
struct result_list * node_list
int filever_major
struct result_list * elem_list
char line_buf[LINEBUF_SIZE+1]
int * node_global_ID
int filever_minor
int HECMW_result_count_ne_comp(void)
int HECMW_result_count_ng_comp(void)
struct result_list * global_list
int HECMW_result_add(int dtype, int n_dof, char *label, double *ptr)
int * elem_global_ID
int nelem
int istep
void HECMW_result_clear()
int nnode
char comment_line[HECMW_MSG_LEN+1]
int HECMW_result_count_nn_comp(void)
char head[HECMW_HEADER_LEN+1]
double * ptr
struct result_list * next