MBDyn-1.7.3
|
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <strings.h>
#include <signal.h>
#include <errno.h>
#include "mbsleep.h"
Go to the source code of this file.
Enumerations | |
enum | { RM, MR } |
Functions | |
static void | sh (int signum) |
static const char * | cmd2str (int cmd) |
static int | check_flag (const char *flag, int sleeptime) |
static int | put_flag (const char *flag, int cmd) |
static int | put_rdata (const char *rdata, double fm[6]) |
static int | put_mdata (const char *mdata, int modes, double *fg) |
static int | put_ndata (const char *ndata, int nodes, unsigned *ul, double *fg) |
static int | do_rigid0 (const char *rflag, const char *rdata, double *fm) |
static int | do_modal0 (const char *mflag, const char *mdata, int modes, double **fgp) |
static int | do_nodal0 (const char *nflag, const char *ndata, int nodes, unsigned **ulp, double **fgp) |
int | do_rigid (const char *rflag, const char *rdata, int niters, int *iterp, int cmd, double *fm) |
int | do_modal (const char *mflag, const char *mdata, int niters, int *iterp, int cmd, int modes, double *fg) |
int | do_nodal (const char *nflag, const char *ndata, int niters, int *iterp, int cmd, int nodes, unsigned *ul, double *fg) |
void | usage (void) |
int | main (int argc, char *argv[]) |
Variables | |
volatile sig_atomic_t | keep_going = 1 |
int | do_rename |
int | sleeptime = 1 |
mbsleep_t | mbt |
int | verbose |
enum { ... } | order = RM |
anonymous enum |
Enumerator | |
---|---|
RM | |
MR |
Definition at line 48 of file test_strext_edge.c.
Definition at line 87 of file test_strext_edge.c.
References buf, c, cmd2str(), mbsleep(), and mbt.
Referenced by do_modal(), do_nodal(), and do_rigid().
|
static |
int do_modal | ( | const char * | mflag, |
const char * | mdata, | ||
int | niters, | ||
int * | iterp, | ||
int | cmd, | ||
int | modes, | ||
double * | fg | ||
) |
Definition at line 460 of file test_strext_edge.c.
References buf, check_flag(), put_flag(), and put_mdata().
Referenced by main().
Definition at line 343 of file test_strext_edge.c.
References put_flag(), and put_mdata().
Referenced by main().
int do_nodal | ( | const char * | nflag, |
const char * | ndata, | ||
int | niters, | ||
int * | iterp, | ||
int | cmd, | ||
int | nodes, | ||
unsigned * | ul, | ||
double * | fg | ||
) |
Definition at line 500 of file test_strext_edge.c.
References buf, check_flag(), put_flag(), and put_ndata().
Referenced by main().
|
static |
Definition at line 377 of file test_strext_edge.c.
References nodes, put_flag(), and put_ndata().
Referenced by main().
int do_rigid | ( | const char * | rflag, |
const char * | rdata, | ||
int | niters, | ||
int * | iterp, | ||
int | cmd, | ||
double * | fm | ||
) |
Definition at line 420 of file test_strext_edge.c.
References buf, check_flag(), put_flag(), and put_rdata().
Referenced by main().
|
static |
Definition at line 310 of file test_strext_edge.c.
References put_flag(), and put_rdata().
Referenced by main().
Definition at line 559 of file test_strext_edge.c.
References do_modal(), do_modal0(), do_nodal(), do_nodal0(), do_rigid(), do_rigid0(), getopt(), iters, iters_random, mbsleep_init(), mbt, MR, nodes, optarg, order, put_flag(), RM, sh(), steps, and usage().
Definition at line 158 of file test_strext_edge.c.
References mbsleep(), and mbt.
Referenced by do_modal(), do_modal0(), do_nodal(), do_nodal0(), do_rigid(), do_rigid0(), and main().
Definition at line 263 of file test_strext_edge.c.
References nodes.
Referenced by do_nodal(), and do_nodal0().
|
static |
|
static |
void usage | ( | void | ) |
int do_rename |
Definition at line 44 of file test_strext_edge.c.
volatile sig_atomic_t keep_going = 1 |
Definition at line 42 of file test_strext_edge.c.
mbsleep_t mbt |
Definition at line 46 of file test_strext_edge.c.
Referenced by check_flag(), main(), and put_flag().
enum { ... } order |
Referenced by main().
int sleeptime = 1 |
Definition at line 45 of file test_strext_edge.c.
int verbose |
Definition at line 47 of file test_strext_edge.c.