Skip to content
Snippets Groups Projects
Commit ac529c76 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

better default val

parent 9a6591a1
Branches
Tags
No related merge requests found
// $Id: Extract.cpp,v 1.20 2006-01-06 00:34:33 geuzaine Exp $ // $Id: Extract.cpp,v 1.21 2006-03-17 15:12:14 geuzaine Exp $
// //
// Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle
// //
...@@ -38,7 +38,11 @@ StringXNumber ExtractOptions_Number[] = { ...@@ -38,7 +38,11 @@ StringXNumber ExtractOptions_Number[] = {
}; };
StringXString ExtractOptions_String[] = { StringXString ExtractOptions_String[] = {
#if defined(HAVE_MATH_EVAL)
{GMSH_FULLRC, "Expression0", NULL, "Sqrt(v0^2+v1^2+v2^2)"},
#else
{GMSH_FULLRC, "Expression0", NULL, "v0"}, {GMSH_FULLRC, "Expression0", NULL, "v0"},
#endif
{GMSH_FULLRC, "Expression1", NULL, ""}, {GMSH_FULLRC, "Expression1", NULL, ""},
{GMSH_FULLRC, "Expression2", NULL, ""}, {GMSH_FULLRC, "Expression2", NULL, ""},
{GMSH_FULLRC, "Expression3", NULL, ""}, {GMSH_FULLRC, "Expression3", NULL, ""},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment