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
b8fa3637
Commit
b8fa3637
authored
14 years ago
by
Emilie Marchandise
Browse files
Options
Downloads
Patches
Plain Diff
No commit message
No commit message
parent
d8fedbbb
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
CMakeLists.txt
+1
-0
1 addition, 0 deletions
CMakeLists.txt
Common/gmshpy.i
+3
-0
3 additions, 0 deletions
Common/gmshpy.i
Geo/GModel.cpp
+1
-1
1 addition, 1 deletion
Geo/GModel.cpp
benchmarks/2d/square.geo
+1
-1
1 addition, 1 deletion
benchmarks/2d/square.geo
with
6 additions
and
2 deletions
CMakeLists.txt
+
1
−
0
View file @
b8fa3637
...
@@ -1183,3 +1183,4 @@ message("")
...
@@ -1183,3 +1183,4 @@ message("")
mark_as_advanced
(
BISON FLEX GMP_LIB GMSH_EXTRA_VERSION HDF5_LIB MAKEINFO
mark_as_advanced
(
BISON FLEX GMP_LIB GMSH_EXTRA_VERSION HDF5_LIB MAKEINFO
MED_LIB OCC_INC SZ_LIB TAUCS_LIB ACIS_LIB TEXI2PDF
)
MED_LIB OCC_INC SZ_LIB TAUCS_LIB ACIS_LIB TEXI2PDF
)
This diff is collapsed.
Click to expand it.
Common/gmshpy.i
+
3
−
0
View file @
b8fa3637
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
%
include
std_string
.
i
%
include
std_string
.
i
%
include
std_vector
.
i
%
include
std_vector
.
i
%
include
std_list
.
i
%
include
std_list
.
i
%
include
cpointer
.
i
%
{
%
{
#include "GmshConfig.h"
#include "GmshConfig.h"
...
@@ -72,6 +73,8 @@
...
@@ -72,6 +73,8 @@
GmshInitialize();
GmshInitialize();
%}
%}
%
pointer_functions
(
double
,
doublep
)
%
pointer_functions
(
int
,
intp
)
namespace
std
{
namespace
std
{
%template(IntVector) vector<int>;
%template(IntVector) vector<int>;
%template(DoubleVector) vector<double, std::allocator<double> >;
%template(DoubleVector) vector<double, std::allocator<double> >;
...
...
This diff is collapsed.
Click to expand it.
Geo/GModel.cpp
+
1
−
1
View file @
b8fa3637
...
@@ -266,7 +266,7 @@ std::vector<int> GModel::getEdgesByStringTag(const std::string tag)
...
@@ -266,7 +266,7 @@ std::vector<int> GModel::getEdgesByStringTag(const std::string tag)
nums
.
push_back
(
ge
->
tag
());
nums
.
push_back
(
ge
->
tag
());
}
}
printf
(
"edges size = %d
\n
"
,
nums
.
size
())
;
return
nums
;
}
}
void
GModel
::
remove
(
GRegion
*
r
)
void
GModel
::
remove
(
GRegion
*
r
)
...
...
This diff is collapsed.
Click to expand it.
benchmarks/2d/square.geo
+
1
−
1
View file @
b8fa3637
...
@@ -28,7 +28,7 @@ Plane Surface(10) = {5};
...
@@ -28,7 +28,7 @@ Plane Surface(10) = {5};
//Compound Surface(100)={10};
//Compound Surface(100)={10};
Physical
Surface
(
100
)
=
{
10
};
Physical
Surface
(
100
)
=
{
10
};
//
Physical Line(200)={1
0
};
Physical
Line
(
200
)
=
{
1
,
2
,
3
,
4
};
...
...
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