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

*** empty log message ***

parent 8c5ddb69
No related branches found
No related tags found
No related merge requests found
...@@ -1096,6 +1096,7 @@ adaptiveData::adaptiveData(PViewData *data) ...@@ -1096,6 +1096,7 @@ adaptiveData::adaptiveData(PViewData *data)
void adaptiveData::initWithLowResolution(int step) void adaptiveData::initWithLowResolution(int step)
{ {
_outData->setDirty(true);
if(_lines) _lines->initWithLowResolution(_inData, step); if(_lines) _lines->initWithLowResolution(_inData, step);
if(_triangles) _triangles->initWithLowResolution(_inData, step); if(_triangles) _triangles->initWithLowResolution(_inData, step);
if(_quadrangles) _quadrangles->initWithLowResolution(_inData, step); if(_quadrangles) _quadrangles->initWithLowResolution(_inData, step);
...@@ -1106,6 +1107,7 @@ void adaptiveData::initWithLowResolution(int step) ...@@ -1106,6 +1107,7 @@ void adaptiveData::initWithLowResolution(int step)
void adaptiveData::changeResolution(int level, double tol, GMSH_Post_Plugin *plug) void adaptiveData::changeResolution(int level, double tol, GMSH_Post_Plugin *plug)
{ {
_outData->setDirty(true);
if(_lines) _lines->changeResolution(level, tol, plug); if(_lines) _lines->changeResolution(level, tol, plug);
if(_triangles) _triangles->changeResolution(level, tol, plug); if(_triangles) _triangles->changeResolution(level, tol, plug);
if(_quadrangles) _quadrangles->changeResolution(level, tol, plug); if(_quadrangles) _quadrangles->changeResolution(level, tol, plug);
......
View "enriched" {
VQ(0.1,1,0,0,1,0,0,0.8,0,0.1,0.8,0){0,0,0, 0,0,0, 1,0,0, 0,0,0};
INTERPOLATION_SCHEME
{
{.25,-.25,.25,-.25},
{.25,.25,-.25,-.25},
{.25,.25,.25,.25},
{.25,-.25,-.25,.25},
{.25,-.25,.25,-.25},
{.25,.25,-.25,-.25},
{.25,.25,.25,.25},
{.25,-.25,-.25,.25},
{.25,-.25,.25,-.25},
{.25,.25,-.25,-.25},
{.25,.25,.25,.25},
{.25,-.25,-.25,.25}
}
{
{0,0,0},
{1,0,0},
{0,1,0},
{1,1,0},
{0,0,0},
{1,0,0},
{0,1,0},
{1,1,0},
{0,0,0},
{1,0,0},
{0,1,0},
{1,1,0}
};
};
...@@ -6,7 +6,7 @@ To compile Gmsh with Microsoft Visual C++ ...@@ -6,7 +6,7 @@ To compile Gmsh with Microsoft Visual C++
3) set PATH=%PATH%;C:\cygwin\bin (or wherever the make tools are installed) 3) set PATH=%PATH%;C:\cygwin\bin (or wherever the make tools are installed)
4) go to the gmsh directory and rename "variables.msvc" to "variables" 4) go to the gmsh directory and rename "utils/misc/variables.msvc" to "variables"
5) edit "variables" to match your local installation of Visual C++ 5) edit "variables" to match your local installation of Visual C++
......
# This is a pre-filled variables file for building a blackbox version
# of Gmsh with Microsoft Visual C++ (MSVC).
#
# This has been tested with MSVC 2003 and MSVC 2008. See
# doc/README.msvc for building instructions.
# OS and host
UNAME=WIN32MSVC
HOSTNAME=localhost
# The names of the C and C++ compilers
CC=cl
CXX=cl /EHsc /nologo /GR /MT
# Use /MLd for single-thread debug mode
# /MTd for multi-thread debug mode
# /MT for multi-thread release mode
# increase stack size to 16Mb to avoid stack overflows in recursive
# tet classification for large 3D Delaunay grids
LINKER=cl /F16777216
# All compiler flags except optimization flags
FLAGS=/DWIN32 /D_USE_MATH_DEFINES /DHAVE_NO_DLL /DHAVE_NO_VSNPRINTF /DHAVE_NO_SNPRINTF /DHAVE_NO_SOCKLEN_T /DHAVE_NO_POST
# Additional system includes ($INCLUDE is automatically defined by MSVC when
# you launch the MSVC command prompt)
SYSINCLUDE=/I"${INCLUDE}"
# Compiler optimization flags
OPTIM=/O2
# Gmsh subdirectories
GMSH_DIRS=Common DataStr Geo Mesh Numeric Parser contrib/NR
# Gmsh libraries
GMSH_LIBS=Common/Main.obj lib/*.lib
# How you create a static library on this machine
AR=LIB
ARFLAGS=/OUT:
RANLIB=true
# The symbol used in front of compiler flags
DASH=/
# The extension to use for object files, libraries and executables
OBJEXT=.obj
LIBEXT=.lib
EXEEXT=.exe
# Installation directories
prefix="S:\Lib\gmsh"
exec_prefix=${prefix}
bindir=${exec_prefix}/bin
datadir=${datarootdir}
datarootdir=${prefix}/share
includedir=${prefix}/include
libdir=${exec_prefix}/lib
mandir=${datarootdir}/man
infodir=${datarootdir}/info
...@@ -38,7 +38,7 @@ SYSINCLUDE=/I"${INCLUDE}" ...@@ -38,7 +38,7 @@ SYSINCLUDE=/I"${INCLUDE}"
OPTIM=/O2 OPTIM=/O2
# Gmsh subdirectories # Gmsh subdirectories
GMSH_DIRS=Common DataStr Geo Mesh Post Numeric Parallel Parser Plugin contrib/ANN contrib/MathEval contrib/NR contrib/Tetgen GMSH_DIRS=Common DataStr Geo Mesh Post Numeric Parser Plugin contrib/ANN contrib/MathEval contrib/NR contrib/Tetgen
# Gmsh libraries # Gmsh libraries
GMSH_LIBS=Common/Main.obj lib/*.lib GMSH_LIBS=Common/Main.obj lib/*.lib
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment