diff --git a/doc/README.occ b/doc/README.occ index 076fb3bdce4ab0a53a70f7d328da064dff6d5390..b4f51f1941c33b84f66f6a7c90b7becd4d7b80af 100644 --- a/doc/README.occ +++ b/doc/README.occ @@ -7,30 +7,10 @@ How to build OpenCascade 6.3 (OCC) for Gmsh: - OS/compiler specific stuff: - * On Windows/MinGW define - - export CC="gcc -DWNT=1 -DWIN32 -DHAVE_NO_DLL" - export CXX="g++ -DWNT=1 -DWIN32 -DHAVE_NO_DLL" - - (With cygwin add "-mno-cygwin") - - You'll also need to fix a few things in the source code as you - go, depending on the version MinGW and of the bundled g++: - - - remove all pthread tests in ./configure - - replace all refs to #include <limits> with #include <limits.h> in - <OpenCascade dir>/ros/inc/Standard_values.h - - fix "delete RefToCurrentTMSKrnl;" & co calls in OSD_Chronometer.cxx - - remove STATUS_FLOAT_MULTIPLE_TRAPS & co switch cases in - OSD_Signal_Wnt.cxx - - add explicit (void*) cast in Standard_MMgrOpt.cxx - - * With new versions of gcc, you might have to add - "-ffriend-injection -fpermissive" to the compiler options (this - prevents the "Standard_Transient_Type_ not declared" error), - i.e., define - - export CXXFLAGS="${CXXFLAGS} -ffriend-injection -fpermissive" + * On Windows, use Visual C++ to compile the libraries, or use the + precompiled DLLs directly. (The MinGW compiler used to work with + OCC 6.2 but do not anymore with 6.3.) See README.msvc for + instructions on how to compile Gmsh with Visual C++. * on Mac OS X unfortunately you cannot build universal libs simply by using "-arch i386 -arch ppc" (the code depends on diff --git a/tutorial/view5.msh b/tutorial/view5.msh index fa1c90297679de6b1caec54671c6ac3d6fb4d229..7ab339a7f8c53c150047a48cdacadf91ca101f2a 100644 --- a/tutorial/view5.msh +++ b/tutorial/view5.msh @@ -4,36 +4,68 @@ $EndMeshFormat $Nodes 6 1 0 0 0 -2 1 0 0 -3 1 1 0 -4 0 1 0 +2 0 1 0 +3 1 0 0 +4 1 1 0 5 2 0 0 6 2 1 0 $EndNodes $Elements 2 -1 3 0 1 2 3 4 -2 3 0 2 5 6 3 +1 3 0 1 3 4 2 +2 3 0 3 5 6 4 $EndElements $NodeData 1 -"A scalar view" +"A 3-step scalar view" 1 -0.0 +1000.0 3 0 1 6 -1 0.0 -2 0.1 -3 0.2 -4 0.0 -5 0.2 -6 0.4 +1 0 +2 0 +3 0.1 +4 0.1 +5 0.5 +6 0.5 $EndNodeData $NodeData 1 -"A multi-step vector view on element 1" +"A 3-step scalar view" +1 +2000.0 +3 +1 +1 +6 +1 0 +2 0 +3 0.3 +4 0.3 +5 0.5 +6 0.5 +$EndNodeData +$NodeData +1 +"A 3-step scalar view" +1 +3000.0 +3 +2 +1 +6 +1 0 +2 0 +3 0.3 +4 0.3 +5 0 +6 0 +$EndNodeData +$NodeData +1 +"A 2-step vector view on element 1" 1 0.0001 3 @@ -47,7 +79,7 @@ $NodeData $EndNodeData $NodeData 1 -"A multi-step vector view on element 1" +"A 2-step vector view on element 1" 1 0.0002 3