FrontISTR  5.7.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)
 
char * HECMW_result_get_comment (char *buff)
 
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 306 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 330 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 320 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 325 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 145 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 401 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 423 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 415 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 419 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 292 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 302 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 298 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 300 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 235 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 230 of file hecmw_result.c.

Here is the caller graph for this function:

◆ HECMW_result_get_comment()

char* HECMW_result_get_comment ( char *  buff)

Definition at line 209 of file hecmw_result.c.

◆ HECMW_result_get_elemID()

int* HECMW_result_get_elemID ( int *  buff)

Definition at line 222 of file hecmw_result.c.

◆ HECMW_result_get_header()

char* HECMW_result_get_header ( char *  buff)

Definition at line 204 of file hecmw_result.c.

◆ HECMW_result_get_nelem()

int HECMW_result_get_nelem ( void  )

Definition at line 202 of file hecmw_result.c.

◆ HECMW_result_get_nnode()

int HECMW_result_get_nnode ( void  )

Definition at line 200 of file hecmw_result.c.

◆ HECMW_result_get_nodeID()

int* HECMW_result_get_nodeID ( int *  buff)

Definition at line 214 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 244 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 281 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 263 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 272 of file hecmw_result.c.

◆ HECMW_result_read_by_fname()

struct hecmwST_result_data* HECMW_result_read_by_fname ( char *  filename)

Definition at line 165 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 177 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 365 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 394 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 384 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 389 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 337 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 359 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 351 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 355 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.