Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
6072595c
Commit
6072595c
authored
16 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
*** empty log message ***
parent
5dc8e82c
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/README.occ
+4
-24
4 additions, 24 deletions
doc/README.occ
tutorial/view5.msh
+47
-15
47 additions, 15 deletions
tutorial/view5.msh
with
51 additions
and
39 deletions
doc/README.occ
+
4
−
24
View file @
6072595c
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
tutorial/view5.msh
+
47
−
15
View file @
6072595c
...
...
@@ -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
100
0.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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment