32 int fd_out = dup(fileno(stdout));
39 int fd_err = dup(fileno(stderr));
48 sprintf(cmd,
"%s %s", solver, options_string);
51 fprintf (stdout,
"\n");
52 fflush(stdout); fflush(stderr);
59 t3d_main (NULL, (
char *)options_string);
66 _errorr(
"T3d binary is given as \"-\", however the module __T3D_MODULE is not linked. Activate the module in Makefile please.");
73 dup2(fd_out, fileno(stdout));
80 dup2(fd_err, fileno(stderr));
85 if (status)
_errorr(
"T3d ma problemy Houstone");
95 fprintf (stream,
"%s", buffer);
char * strdupl(const char *src)
standard strdup - Memory for the new string is obtained with malloc(3), and can be freed with free(3)...
void exit_termination(int exit_code)
#define CHANGE_CONSOLE_COLOUR(_1, _2)
Interface to library T3D.
const char * give_name(void) const
void process_exit(int exit_code)
const FiLe * give_OUT_moFILE(void) const
void print_message(FILE *stream, char *buffer)
void mesh_generate_T3d(const Problem *pd, const char *solver, const char *options_string)