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

*** empty log message ***

parent 5dc8e82c
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment