![]() |
FrontISTR
5.7.0
Large-scale structural analysis program with finit element method
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <ctype.h>
#include <dirent.h>
#include <sys/stat.h>
#include <sys/types.h>
#include "hecmw_util.h"
#include "hecmw_control.h"
#include "hecmw_ctrllex.h"
#include "hecmw_path.h"
Go to the source code of this file.
Data Structures | |
struct | mesh_entry |
struct | mesh_grp_entry |
struct | restart_entry |
struct | result_entry |
struct | ctrl_entry |
struct | read_func_table |
Macros | |
#define | N_READ_FUNC (sizeof(read_func_table) / sizeof(read_func_table[0])) |
Typedefs | |
typedef int(* | ReadFunc) (void) |
Functions | |
int | HECMW_ctrl_init_ex (const char *ctrlfile) |
int | HECMW_ctrl_init (void) |
int | HECMW_ctrl_finalize (void) |
void | HECMW_ctrl_free_meshfiles (struct hecmw_ctrl_meshfiles *meshfiles) |
struct hecmw_ctrl_meshfiles * | HECMW_ctrl_get_meshfiles (char *name_ID) |
struct hecmw_ctrl_meshfiles * | HECMW_ctrl_get_meshfiles_header (char *name_ID) |
struct hecmw_ctrl_meshfiles * | HECMW_ctrl_get_meshfiles_sub (char *name_ID, int n_rank, int i_rank) |
struct hecmw_ctrl_meshfiles * | HECMW_ctrl_get_meshfiles_header_sub (char *name_ID, int n_rank, int i_rank) |
char * | HECMW_ctrl_get_result_file (char *name_ID, int istep, int *fg_text) |
char * | HECMW_ctrl_get_result_fileheader (char *name_ID, int istep, int *fg_text) |
char * | HECMW_ctrl_get_result_file_sub (char *name_ID, int istep, int n_rank, int i_rank, int *fg_text) |
char * | HECMW_ctrl_get_result_fileheader_sub (char *name_ID, int istep, int n_rank, int i_rank, int *fg_text) |
char * | HECMW_ctrl_get_result_filebody (char *name_ID) |
char * | HECMW_ctrl_get_restart_file (char *name_ID) |
char * | HECMW_ctrl_get_restart_file_by_io (int io) |
char * | HECMW_ctrl_get_control_file (char *name_ID) |
int | HECMW_ctrl_is_exists_control (char *name_ID) |
int | HECMW_ctrl_make_subdir (char *filename) |
int | HECMW_ctrl_is_subdir (void) |
void | hecmw_ctrl_init_if (int *err) |
void | hecmw_ctrl_init_if_ (int *err) |
void | hecmw_ctrl_init_if__ (int *err) |
void | HECMW_CTRL_INIT_IF (int *err) |
void | hecmw_ctrl_init_ex_if (char *ctrlfile, int *err, int len) |
void | hecmw_ctrl_init_ex_if_ (char *ctrlfile, int *err, int len) |
void | hecmw_ctrl_init_ex_if__ (char *ctrlfile, int *err, int len) |
void | HECMW_CTRL_INIT_EX_IF (char *ctrlfile, int *err, int len) |
void | hecmw_ctrl_finalize_if (void) |
void | hecmw_ctrl_finalize_if_ (void) |
void | hecmw_ctrl_finalize_if__ (void) |
void | HECMW_CTRL_FINALIZE_IF (void) |
void | hecmw_ctrl_get_control_file_if (char *name_ID, char *buf, int *err, int name_len, int buf_len) |
void | hecmw_ctrl_get_control_file_if_ (char *name_ID, char *buf, int *err, int name_len, int buf_len) |
void | hecmw_ctrl_get_control_file_if__ (char *name_ID, char *buf, int *err, int name_len, int buf_len) |
void | HECMW_CTRL_GET_CONTROL_FILE_IF (char *name_ID, char *buf, int *err, int name_len, int buf_len) |
void | hecmw_ctrl_make_subdir (char *filename, int *err, int len) |
void | hecmw_ctrl_make_subdir_ (char *filename, int *err, int len) |
void | hecmw_ctrl_make_subdir__ (char *filename, int *err, int len) |
void | HECMW_CTRL_MAKE_SUBDIR (char *filename, int *err, int len) |
void | hecmw_ctrl_is_subdir (int *flag, int *limit) |
void | hecmw_ctrl_is_subdir_ (int *flag, int *limit) |
void | hecmw_ctrl_is_subdir__ (int *flag, int *limit) |
void | HECMW_CTRL_IS_SUBDIR (int *flag, int *limit) |
#define N_READ_FUNC (sizeof(read_func_table) / sizeof(read_func_table[0])) |
Definition at line 1974 of file hecmw_control.c.
typedef int(* ReadFunc) (void) |
Definition at line 1960 of file hecmw_control.c.
int HECMW_ctrl_finalize | ( | void | ) |
Definition at line 2056 of file hecmw_control.c.
void hecmw_ctrl_finalize_if | ( | void | ) |
Definition at line 2546 of file hecmw_control.c.
void HECMW_CTRL_FINALIZE_IF | ( | void | ) |
void hecmw_ctrl_finalize_if_ | ( | void | ) |
void hecmw_ctrl_finalize_if__ | ( | void | ) |
void HECMW_ctrl_free_meshfiles | ( | struct hecmw_ctrl_meshfiles * | meshfiles | ) |
Definition at line 2066 of file hecmw_control.c.
char* HECMW_ctrl_get_control_file | ( | char * | name_ID | ) |
void hecmw_ctrl_get_control_file_if | ( | char * | name_ID, |
char * | buf, | ||
int * | err, | ||
int | name_len, | ||
int | buf_len | ||
) |
Definition at line 2556 of file hecmw_control.c.
void HECMW_CTRL_GET_CONTROL_FILE_IF | ( | char * | name_ID, |
char * | buf, | ||
int * | err, | ||
int | name_len, | ||
int | buf_len | ||
) |
void hecmw_ctrl_get_control_file_if_ | ( | char * | name_ID, |
char * | buf, | ||
int * | err, | ||
int | name_len, | ||
int | buf_len | ||
) |
void hecmw_ctrl_get_control_file_if__ | ( | char * | name_ID, |
char * | buf, | ||
int * | err, | ||
int | name_len, | ||
int | buf_len | ||
) |
struct hecmw_ctrl_meshfiles* HECMW_ctrl_get_meshfiles | ( | char * | name_ID | ) |
Definition at line 2205 of file hecmw_control.c.
struct hecmw_ctrl_meshfiles* HECMW_ctrl_get_meshfiles_header | ( | char * | name_ID | ) |
Definition at line 2209 of file hecmw_control.c.
struct hecmw_ctrl_meshfiles* HECMW_ctrl_get_meshfiles_header_sub | ( | char * | name_ID, |
int | n_rank, | ||
int | i_rank | ||
) |
Definition at line 2219 of file hecmw_control.c.
struct hecmw_ctrl_meshfiles* HECMW_ctrl_get_meshfiles_sub | ( | char * | name_ID, |
int | n_rank, | ||
int | i_rank | ||
) |
Definition at line 2213 of file hecmw_control.c.
char* HECMW_ctrl_get_restart_file | ( | char * | name_ID | ) |
char* HECMW_ctrl_get_restart_file_by_io | ( | int | io | ) |
char* HECMW_ctrl_get_result_file | ( | char * | name_ID, |
int | istep, | ||
int * | fg_text | ||
) |
char* HECMW_ctrl_get_result_file_sub | ( | char * | name_ID, |
int | istep, | ||
int | n_rank, | ||
int | i_rank, | ||
int * | fg_text | ||
) |
Definition at line 2326 of file hecmw_control.c.
char* HECMW_ctrl_get_result_filebody | ( | char * | name_ID | ) |
Definition at line 2337 of file hecmw_control.c.
char* HECMW_ctrl_get_result_fileheader | ( | char * | name_ID, |
int | istep, | ||
int * | fg_text | ||
) |
char* HECMW_ctrl_get_result_fileheader_sub | ( | char * | name_ID, |
int | istep, | ||
int | n_rank, | ||
int | i_rank, | ||
int * | fg_text | ||
) |
int HECMW_ctrl_init | ( | void | ) |
Definition at line 2054 of file hecmw_control.c.
int HECMW_ctrl_init_ex | ( | const char * | ctrlfile | ) |
Definition at line 2021 of file hecmw_control.c.
void hecmw_ctrl_init_ex_if | ( | char * | ctrlfile, |
int * | err, | ||
int | len | ||
) |
void HECMW_CTRL_INIT_EX_IF | ( | char * | ctrlfile, |
int * | err, | ||
int | len | ||
) |
Definition at line 2540 of file hecmw_control.c.
void hecmw_ctrl_init_ex_if_ | ( | char * | ctrlfile, |
int * | err, | ||
int | len | ||
) |
Definition at line 2532 of file hecmw_control.c.
void hecmw_ctrl_init_ex_if__ | ( | char * | ctrlfile, |
int * | err, | ||
int | len | ||
) |
Definition at line 2536 of file hecmw_control.c.
void hecmw_ctrl_init_if | ( | int * | err | ) |
Definition at line 2504 of file hecmw_control.c.
void HECMW_CTRL_INIT_IF | ( | int * | err | ) |
void hecmw_ctrl_init_if_ | ( | int * | err | ) |
void hecmw_ctrl_init_if__ | ( | int * | err | ) |
int HECMW_ctrl_is_exists_control | ( | char * | name_ID | ) |
Definition at line 2443 of file hecmw_control.c.
void hecmw_ctrl_is_subdir | ( | int * | flag, |
int * | limit | ||
) |
void HECMW_CTRL_IS_SUBDIR | ( | int * | flag, |
int * | limit | ||
) |
int HECMW_ctrl_is_subdir | ( | void | ) |
void hecmw_ctrl_is_subdir_ | ( | int * | flag, |
int * | limit | ||
) |
void hecmw_ctrl_is_subdir__ | ( | int * | flag, |
int * | limit | ||
) |
int HECMW_ctrl_make_subdir | ( | char * | filename | ) |
Definition at line 2447 of file hecmw_control.c.
void hecmw_ctrl_make_subdir | ( | char * | filename, |
int * | err, | ||
int | len | ||
) |
void HECMW_CTRL_MAKE_SUBDIR | ( | char * | filename, |
int * | err, | ||
int | len | ||
) |
Definition at line 2613 of file hecmw_control.c.
void hecmw_ctrl_make_subdir_ | ( | char * | filename, |
int * | err, | ||
int | len | ||
) |
Definition at line 2605 of file hecmw_control.c.
void hecmw_ctrl_make_subdir__ | ( | char * | filename, |
int * | err, | ||
int | len | ||
) |
Definition at line 2609 of file hecmw_control.c.