FrontISTR 5.2.0
Large-scale structural analysis program with finit element method
Loading...
Searching...
No Matches
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.
 
int get_procs_num ()
 
void print_hostname ()
 
int get_threads_num ()
 
void help (char *arg)
 show available command line option
 
void version (char *arg)
 show version and revision of FrontISTR
 
void load_hecmw_ctrl (char *arg)
 load hecmw_ctrl.dat from specified place
 
void set_loglevel_debug (char *arg)
 set log level to HECMW_LOG_DEBUG
 
int main (int argc, char *argv[])
 main function
 

Variables

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

Function Documentation

◆ fstr_main()

void fstr_main ( )

Startup routine for FrontISTR.

Here is the caller graph for this function:

◆ get_procs_num()

int get_procs_num ( )

Definition at line 34 of file main.c.

Here is the caller graph for this function:

◆ get_threads_num()

int get_threads_num ( )

Definition at line 67 of file main.c.

Here is the caller graph for this function:

◆ 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.

Here is the call graph for this function:

◆ print_hostname()

void print_hostname ( )

Definition at line 43 of file main.c.

Here is the caller graph for this function:

◆ set_loglevel_debug()

void set_loglevel_debug ( char *  arg)

set log level to HECMW_LOG_DEBUG

Definition at line 179 of file main.c.

Here is the call graph for this function:

◆ version()

void version ( char *  arg)

show version and revision of FrontISTR

Definition at line 117 of file main.c.

Here is the caller graph for this function:

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 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
void help()
Definition: neu2fstr.cpp:59

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

Definition at line 187 of file main.c.