FrontISTR  5.2.0
Large-scale structural analysis program with finit element method
main.c File Reference
#include <stdio.h>
#include <time.h>
#include <stdlib.h>
#include <string.h>
#include <FrontISTRConfig.h>
#include "hecmw_log.h"
#include "mpi.h"
Include dependency graph for main.c:

Go to the source code of this file.

Data Structures

struct  option_rec
 struct of command-line option More...
 

Functions

void fstr_main ()
 Startup routine for FrontISTR. More...
 
int get_procs_num ()
 
void print_hostname ()
 
int get_threads_num ()
 
void help (char *arg)
 show available command line option More...
 
void version (char *arg)
 show version and revision of FrontISTR More...
 
void load_hecmw_ctrl (char *arg)
 load hecmw_ctrl.dat from specified place More...
 
void set_loglevel_debug (char *arg)
 set log level to HECMW_LOG_DEBUG More...
 
int main (int argc, char *argv[])
 main function More...
 

Variables

struct option_rec options []
 specify command line option name and executing function name. \attension list must be terminated with NULL value. More...
 

Function Documentation

◆ fstr_main()

void fstr_main ( )

Startup routine for FrontISTR.

◆ get_procs_num()

int get_procs_num ( )

Definition at line 34 of file main.c.

◆ get_threads_num()

int get_threads_num ( )

Definition at line 67 of file main.c.

◆ help()

void help ( char *  arg)

show available command line option

Definition at line 101 of file main.c.

◆ load_hecmw_ctrl()

void load_hecmw_ctrl ( char *  arg)

load hecmw_ctrl.dat from specified place

Definition at line 170 of file main.c.

◆ main()

int main ( int  argc,
char *  argv[] 
)

main function

Definition at line 205 of file main.c.

◆ print_hostname()

void print_hostname ( )

Definition at line 43 of file main.c.

◆ set_loglevel_debug()

void set_loglevel_debug ( char *  arg)

set log level to HECMW_LOG_DEBUG

Definition at line 179 of file main.c.

◆ version()

void version ( char *  arg)

show version and revision of FrontISTR

Definition at line 117 of file main.c.

Variable Documentation

◆ options

struct option_rec options[]
Initial value:
= {
{"-h", help},
{"-H", help},
{"-v", version},
{"-V", version},
{"-c", load_hecmw_ctrl},
{"-C", load_hecmw_ctrl},
{"--debug", set_loglevel_debug},
}
#define NULL
void help(char *arg)
show available command line option
Definition: main.c:101
void set_loglevel_debug(char *arg)
set log level to HECMW_LOG_DEBUG
Definition: main.c:179
void version(char *arg)
show version and revision of FrontISTR
Definition: main.c:117
void load_hecmw_ctrl(char *arg)
load hecmw_ctrl.dat from specified place
Definition: main.c:170

specify command line option name and executing function name. \attension list must be terminated with NULL value.

Definition at line 179 of file main.c.