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 | do_rigid0 (const char *rflag, const char *rdata, double *fm) |
static int | do_modal0 (const char *mflag, const char *mdata, int modes, 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) |
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_modalext_edge.c.
Definition at line 87 of file test_modalext_edge.c.
References buf, c, cmd2str(), mbsleep(), and mbt.
Referenced by do_modal(), 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 359 of file test_modalext_edge.c.
References buf, check_flag(), put_flag(), and put_mdata().
Referenced by main().
Definition at line 285 of file test_modalext_edge.c.
References put_flag(), and put_mdata().
Referenced by main().
int do_rigid | ( | const char * | rflag, |
const char * | rdata, | ||
int | niters, | ||
int * | iterp, | ||
int | cmd, | ||
double * | fm | ||
) |
Definition at line 319 of file test_modalext_edge.c.
References buf, check_flag(), put_flag(), and put_rdata().
Referenced by main().
|
static |
Definition at line 252 of file test_modalext_edge.c.
References put_flag(), and put_rdata().
Referenced by main().
Definition at line 415 of file test_modalext_edge.c.
References do_modal(), do_modal0(), do_rigid(), do_rigid0(), getopt(), iters, iters_random, mbsleep_init(), mbt, MR, optarg, order, put_flag(), RM, sh(), steps, and usage().
Definition at line 147 of file test_modalext_edge.c.
References mbsleep(), and mbt.
Referenced by do_modal(), do_modal0(), do_rigid(), do_rigid0(), and main().
|
static |
|
static |
void usage | ( | void | ) |
int do_rename |
Definition at line 44 of file test_modalext_edge.c.
volatile sig_atomic_t keep_going = 1 |
Definition at line 42 of file test_modalext_edge.c.
mbsleep_t mbt |
Definition at line 46 of file test_modalext_edge.c.
Referenced by check_flag(), main(), and put_flag().
enum { ... } order |
int sleeptime = 1 |
Definition at line 45 of file test_modalext_edge.c.
Referenced by main().
int verbose |
Definition at line 47 of file test_modalext_edge.c.