Skip to content
Snippets Groups Projects
Commit b1109225 authored by Stefen Guzik's avatar Stefen Guzik
Browse files

*** empty log message ***

parent 3900a7b6
No related branches found
No related tags found
No related merge requests found
......@@ -108,12 +108,13 @@ ${LIB}: ${OBJ} ${OBJX}
clean:
rm -f */*.o */*.obj
depend:
(sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \
${CXX} -MM ${CFLAGS} ${SRC} \
) >Makefile.new
cp Makefile Makefile.bak
cp Makefile.new Makefile
rm -f Makefile.new
# Doesn't quite work
# depend:
# (sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \
# ${CXX} -MM ${CFLAGS} ${SRC} \
# ) >Makefile.new
# cp Makefile Makefile.bak
# cp Makefile.new Makefile
# rm -f Makefile.new
# DO NOT DELETE THIS LINE
// Gmsh - Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle
//
// See the LICENSE.txt file for license information. Please report all
// bugs and problems to <gmsh@geuz.org>.
// Overload the printf statements in Chaco to write using Msg::Direct gmsh
/* Gmsh - Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle
*
* See the LICENSE.txt file for license information. Please report all
* bugs and problems to <gmsh@geuz.org>.
*/
#ifndef _GMSH_EXIT_H_
#define _GMSH_EXIT_H_
/* Throw instead of exit */
int Gmsh_exit();
#endif
// Gmsh - Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle
//
// See the LICENSE.txt file for license information. Please report all
// bugs and problems to <gmsh@geuz.org>.
// Overload the printf statements in Chaco to write using Msg::Direct gmsh
/* Gmsh - Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle
*
* See the LICENSE.txt file for license information. Please report all
* bugs and problems to <gmsh@geuz.org>.
*/
#ifndef _GMSH_PRINTF_H_
#define _GMSH_PRINTF_H_
#define printf Gmsh_printf
/* Overload the printf statements in Chaco to write using Msg::Direct gmsh */
#define printf(fmt, ...) Gmsh_printf(fmt, ##__VA_ARGS__)
/* #define fprintf(file, fmt, ...) Gmsh_printf(fmt, ##__VA_ARGS__) */
int Gmsh_printf(const char *fmt, ...);
#endif
......@@ -49,6 +49,9 @@ int terminal_propogation;
/* Gmsh - end */
{
extern char *PARAMS_FILENAME; /* name of file with parameter updates */
extern int ECHO; /* copy input to screen? results to file? */
extern int OUTPUT_METRICS; /* controls displaying of results (-2..2) */
extern int OUTPUT_TIME; /* at what level to display timings (0..2) */
extern int MAKE_VWGTS; /* make vertex weights equal to degrees? */
extern int MATCH_TYPE; /* matching routine to use */
extern int FREE_GRAPH; /* free graph data structure after reformat? */
......@@ -87,6 +90,12 @@ int terminal_propogation;
graph = NULL;
coords = NULL;
/* Gmsh - change to default parameters (these can be overridden by a parameters
* file */
ECHO = 0;
OUTPUT_METRICS = 1;
OUTPUT_TIME = 0;
/* Gmsh - end */
/* Gmsh - disable this for now. It would be interesting to let someone include
* it though */
/* if (!Using_Main) { /\* If not using main, need to read parameters file. *\/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment