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

Go to the source code of this file.

Functions

void HECMW_result_free (struct hecmwST_result_data *result)
 
int HECMW_result_init (struct hecmwST_local_mesh *hecMESH, int i_step, char *header, char *comment)
 
int HECMW_result_finalize (void)
 
int HECMW_result_write_by_name (char *name_ID)
 
int HECMW_result_write_ST_by_name (char *name_ID, struct hecmwST_result_data *result, int n_node, int n_elem, char *header, char *comment)
 
int HECMW_result_write_by_addfname (char *name_ID, char *addfname)
 
int HECMW_result_checkfile_by_name (char *name_ID, int i_step)
 
struct hecmwST_result_dataHECMW_result_read_by_fname (char *filename)
 
struct hecmwST_result_dataHECMW_result_read_by_name (char *name_ID, int i_step)
 
int HECMW_result_get_nnode (void)
 
int HECMW_result_get_nelem (void)
 
char * HECMW_result_get_header (char *buff, size_t buff_size)
 
char * HECMW_result_get_comment (char *buff, size_t buff_size)
 
int * HECMW_result_get_nodeID (int *buff)
 
int * HECMW_result_get_elemID (int *buff)
 
void HECMW_result_free_nodeID (void)
 
void HECMW_result_free_elemID (void)
 
void hecmw_result_init_if (int *n_node, int *n_elem, int *nodeID, int *elemID, int *n_elem_type, int *elem_type_index, int *elem_type_item, int *i_step, char *header, char *comment, int *err, int len)
 
void hecmw_result_init_if_ (int *n_node, int *n_elem, int *nodeID, int *elemID, int *n_elem_type, int *elem_type_index, int *elem_type_item, int *i_step, char *header, char *comment, int *err, int len)
 
void hecmw_result_init_if__ (int *n_node, int *n_elem, int *nodeID, int *elemID, int *n_elem_type, int *elem_type_index, int *elem_type_item, int *i_step, char *header, char *comment, int *err, int len)
 
void HECMW_RESULT_INIT_IF (int *n_node, int *n_elem, int *nodeID, int *elemID, int *n_elem_type, int *elem_type_index, int *elem_type_item, int *i_step, char *header, char *comment, int *err, int len)
 
void hecmw_result_finalize_if (int *err)
 
void hecmw_result_finalize_if_ (int *err)
 
void hecmw_result_finalize_if__ (int *err)
 
void HECMW_RESULT_FINALIZE_IF (int *err)
 
void hecmw_result_add_if (int *dtype, int *n_dof, char *label, double *ptr, int *err, int len)
 
void hecmw_result_add_if_ (int *dtype, int *n_dof, char *label, double *ptr, int *err, int len)
 
void hecmw_result_add_if__ (int *dtype, int *n_dof, char *label, double *ptr, int *err, int len)
 
void HECMW_RESULT_ADD_IF (int *dtype, int *n_dof, char *label, double *ptr, int *err, int len)
 
void hecmw_result_write_by_name_if (char *name_ID, int *err, int len)
 
void hecmw_result_write_by_name_if_ (char *name_ID, int *err, int len)
 
void hecmw_result_write_by_name_if__ (char *name_ID, int *err, int len)
 
void HECMW_RESULT_WRITE_BY_NAME_IF (char *name_ID, int *err, int len)
 
void hecmw_result_write_by_addfname_if (char *name_ID, char *addfname, int *err, int len1, int len2)
 
void hecmw_result_write_by_addfname_if_ (char *name_ID, char *addfname, int *err, int len1, int len2)
 
void hecmw_result_write_by_addfname_if__ (char *name_ID, char *addfname, int *err, int len1, int len2)
 
void HECMW_RESULT_WRITE_BY_ADDFNAME_IF (char *name_ID, char *addfname, int *err, int len1, int len2)
 
void hecmw_result_checkfile_by_name_if (char *name_ID, int *i_step, int *err, int len)
 
void hecmw_result_checkfile_by_name_if_ (char *name_ID, int *i_step, int *err, int len)
 
void hecmw_result_checkfile_by_name_if__ (char *name_ID, int *i_step, int *err, int len)
 
void HECMW_RESULT_CHECKFILE_BY_NAME_IF (char *name_ID, int *i_step, int *err, int len)
 

Function Documentation

◆ hecmw_result_add_if()

void hecmw_result_add_if ( int *  dtype,
int *  n_dof,
char *  label,
double *  ptr,
int *  err,
int  len 
)

Definition at line 321 of file hecmw_result.c.

Here is the caller graph for this function:

◆ HECMW_RESULT_ADD_IF()

void HECMW_RESULT_ADD_IF ( int *  dtype,
int *  n_dof,
char *  label,
double *  ptr,
int *  err,
int  len 
)

Definition at line 345 of file hecmw_result.c.

◆ hecmw_result_add_if_()

void hecmw_result_add_if_ ( int *  dtype,
int *  n_dof,
char *  label,
double *  ptr,
int *  err,
int  len 
)

Definition at line 335 of file hecmw_result.c.

◆ hecmw_result_add_if__()

void hecmw_result_add_if__ ( int *  dtype,
int *  n_dof,
char *  label,
double *  ptr,
int *  err,
int  len 
)

Definition at line 340 of file hecmw_result.c.

◆ HECMW_result_checkfile_by_name()

int HECMW_result_checkfile_by_name ( char *  name_ID,
int  i_step 
)

Definition at line 160 of file hecmw_result.c.

Here is the call graph for this function:

◆ hecmw_result_checkfile_by_name_if()

void hecmw_result_checkfile_by_name_if ( char *  name_ID,
int *  i_step,
int *  err,
int  len 
)

Definition at line 416 of file hecmw_result.c.

Here is the caller graph for this function:

◆ HECMW_RESULT_CHECKFILE_BY_NAME_IF()

void HECMW_RESULT_CHECKFILE_BY_NAME_IF ( char *  name_ID,
int *  i_step,
int *  err,
int  len 
)

Definition at line 438 of file hecmw_result.c.

◆ hecmw_result_checkfile_by_name_if_()

void hecmw_result_checkfile_by_name_if_ ( char *  name_ID,
int *  i_step,
int *  err,
int  len 
)

Definition at line 430 of file hecmw_result.c.

◆ hecmw_result_checkfile_by_name_if__()

void hecmw_result_checkfile_by_name_if__ ( char *  name_ID,
int *  i_step,
int *  err,
int  len 
)

Definition at line 434 of file hecmw_result.c.

◆ HECMW_result_finalize()

int HECMW_result_finalize ( void  )

Definition at line 64 of file hecmw_result.c.

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

◆ hecmw_result_finalize_if()

void hecmw_result_finalize_if ( int *  err)

Definition at line 307 of file hecmw_result.c.

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

◆ HECMW_RESULT_FINALIZE_IF()

void HECMW_RESULT_FINALIZE_IF ( int *  err)

Definition at line 317 of file hecmw_result.c.

Here is the call graph for this function:

◆ hecmw_result_finalize_if_()

void hecmw_result_finalize_if_ ( int *  err)

Definition at line 313 of file hecmw_result.c.

Here is the call graph for this function:

◆ hecmw_result_finalize_if__()

void hecmw_result_finalize_if__ ( int *  err)

Definition at line 315 of file hecmw_result.c.

Here is the call graph for this function:

◆ HECMW_result_free()

void HECMW_result_free ( struct hecmwST_result_data result)

Definition at line 21 of file hecmw_result.c.

Here is the caller graph for this function:

◆ HECMW_result_free_elemID()

void HECMW_result_free_elemID ( void  )

Definition at line 250 of file hecmw_result.c.

Here is the caller graph for this function:

◆ HECMW_result_free_nodeID()

void HECMW_result_free_nodeID ( void  )

Definition at line 245 of file hecmw_result.c.

Here is the caller graph for this function:

◆ HECMW_result_get_comment()

char* HECMW_result_get_comment ( char *  buff,
size_t  buff_size 
)

Definition at line 224 of file hecmw_result.c.

◆ HECMW_result_get_elemID()

int* HECMW_result_get_elemID ( int *  buff)

Definition at line 237 of file hecmw_result.c.

◆ HECMW_result_get_header()

char* HECMW_result_get_header ( char *  buff,
size_t  buff_size 
)

Definition at line 219 of file hecmw_result.c.

◆ HECMW_result_get_nelem()

int HECMW_result_get_nelem ( void  )

Definition at line 217 of file hecmw_result.c.

◆ HECMW_result_get_nnode()

int HECMW_result_get_nnode ( void  )

Definition at line 215 of file hecmw_result.c.

◆ HECMW_result_get_nodeID()

int* HECMW_result_get_nodeID ( int *  buff)

Definition at line 229 of file hecmw_result.c.

◆ HECMW_result_init()

int HECMW_result_init ( struct hecmwST_local_mesh hecMESH,
int  i_step,
char *  header,
char *  comment 
)

Definition at line 56 of file hecmw_result.c.

Here is the call graph for this function:

◆ hecmw_result_init_if()

void hecmw_result_init_if ( int *  n_node,
int *  n_elem,
int *  nodeID,
int *  elemID,
int *  n_elem_type,
int *  elem_type_index,
int *  elem_type_item,
int *  i_step,
char *  header,
char *  comment,
int *  err,
int  len 
)

Definition at line 259 of file hecmw_result.c.

Here is the caller graph for this function:

◆ HECMW_RESULT_INIT_IF()

void HECMW_RESULT_INIT_IF ( int *  n_node,
int *  n_elem,
int *  nodeID,
int *  elemID,
int *  n_elem_type,
int *  elem_type_index,
int *  elem_type_item,
int *  i_step,
char *  header,
char *  comment,
int *  err,
int  len 
)

Definition at line 296 of file hecmw_result.c.

◆ hecmw_result_init_if_()

void hecmw_result_init_if_ ( int *  n_node,
int *  n_elem,
int *  nodeID,
int *  elemID,
int *  n_elem_type,
int *  elem_type_index,
int *  elem_type_item,
int *  i_step,
char *  header,
char *  comment,
int *  err,
int  len 
)

Definition at line 278 of file hecmw_result.c.

◆ hecmw_result_init_if__()

void hecmw_result_init_if__ ( int *  n_node,
int *  n_elem,
int *  nodeID,
int *  elemID,
int *  n_elem_type,
int *  elem_type_index,
int *  elem_type_item,
int *  i_step,
char *  header,
char *  comment,
int *  err,
int  len 
)

Definition at line 287 of file hecmw_result.c.

◆ HECMW_result_read_by_fname()

struct hecmwST_result_data* HECMW_result_read_by_fname ( char *  filename)

Definition at line 180 of file hecmw_result.c.

Here is the caller graph for this function:

◆ HECMW_result_read_by_name()

struct hecmwST_result_data* HECMW_result_read_by_name ( char *  name_ID,
int  i_step 
)

Definition at line 192 of file hecmw_result.c.

◆ HECMW_result_write_by_addfname()

int HECMW_result_write_by_addfname ( char *  name_ID,
char *  addfname 
)

Definition at line 122 of file hecmw_result.c.

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

◆ hecmw_result_write_by_addfname_if()

void hecmw_result_write_by_addfname_if ( char *  name_ID,
char *  addfname,
int *  err,
int  len1,
int  len2 
)

Definition at line 380 of file hecmw_result.c.

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

◆ HECMW_RESULT_WRITE_BY_ADDFNAME_IF()

void HECMW_RESULT_WRITE_BY_ADDFNAME_IF ( char *  name_ID,
char *  addfname,
int *  err,
int  len1,
int  len2 
)

Definition at line 409 of file hecmw_result.c.

Here is the call graph for this function:

◆ hecmw_result_write_by_addfname_if_()

void hecmw_result_write_by_addfname_if_ ( char *  name_ID,
char *  addfname,
int *  err,
int  len1,
int  len2 
)

Definition at line 399 of file hecmw_result.c.

Here is the call graph for this function:

◆ hecmw_result_write_by_addfname_if__()

void hecmw_result_write_by_addfname_if__ ( char *  name_ID,
char *  addfname,
int *  err,
int  len1,
int  len2 
)

Definition at line 404 of file hecmw_result.c.

Here is the call graph for this function:

◆ HECMW_result_write_by_name()

int HECMW_result_write_by_name ( char *  name_ID)

Definition at line 74 of file hecmw_result.c.

Here is the call graph for this function:

◆ hecmw_result_write_by_name_if()

void hecmw_result_write_by_name_if ( char *  name_ID,
int *  err,
int  len 
)

Definition at line 352 of file hecmw_result.c.

Here is the caller graph for this function:

◆ HECMW_RESULT_WRITE_BY_NAME_IF()

void HECMW_RESULT_WRITE_BY_NAME_IF ( char *  name_ID,
int *  err,
int  len 
)

Definition at line 374 of file hecmw_result.c.

◆ hecmw_result_write_by_name_if_()

void hecmw_result_write_by_name_if_ ( char *  name_ID,
int *  err,
int  len 
)

Definition at line 366 of file hecmw_result.c.

◆ hecmw_result_write_by_name_if__()

void hecmw_result_write_by_name_if__ ( char *  name_ID,
int *  err,
int  len 
)

Definition at line 370 of file hecmw_result.c.

◆ HECMW_result_write_ST_by_name()

int HECMW_result_write_ST_by_name ( char *  name_ID,
struct hecmwST_result_data result,
int  n_node,
int  n_elem,
char *  header,
char *  comment 
)

Definition at line 95 of file hecmw_result.c.