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
35909dda
Commit
35909dda
authored
15 years ago
by
Jean-François Remacle
Browse files
Options
Downloads
Patches
Plain Diff
*** empty log message ***
parent
45e55b2b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
Geo/GEntity.h
+8
-2
8 additions, 2 deletions
Geo/GEntity.h
Mesh/meshPartition.cpp
+3
-0
3 additions, 0 deletions
Mesh/meshPartition.cpp
Mesh/meshPartitionOptions.h
+3
-0
3 additions, 0 deletions
Mesh/meshPartitionOptions.h
Numeric/gmshLinearSystemGmm.h
+1
-0
1 addition, 0 deletions
Numeric/gmshLinearSystemGmm.h
with
15 additions
and
2 deletions
Geo/GEntity.h
+
8
−
2
View file @
35909dda
...
...
@@ -99,7 +99,10 @@ class GEntity {
CompoundSurface
,
Volume
,
DiscreteVolume
,
CompoundVolume
CompoundVolume
,
PartitionVertex
,
PartitionEdge
,
PartitionSurface
};
// return a string describing the entity type
...
...
@@ -140,7 +143,10 @@ class GEntity {
"Compound surface"
,
"Volume"
,
"Discrete volume"
,
"Compound Volume"
"Compound Volume"
,
"Partition Vertex"
,
"Partition Edge"
,
"Partition Surface"
};
unsigned
int
type
=
(
unsigned
int
)
geomType
();
if
(
type
>=
sizeof
(
name
)
/
sizeof
(
name
[
0
]))
...
...
This diff is collapsed.
Click to expand it.
Mesh/meshPartition.cpp
+
3
−
0
View file @
35909dda
...
...
@@ -128,6 +128,9 @@ int PartitionMesh(GModel *const model, meshPartitionOptions &options)
}
model
->
recomputeMeshPartitions
();
if
(
options
.
createPartitionBoundaries
)
CreatePartitionBoundaries
(
model
);
Msg
::
Info
(
"Partitioning complete"
);
Msg
::
StatusBar
(
1
,
false
,
"Mesh"
);
return
0
;
...
...
This diff is collapsed.
Click to expand it.
Mesh/meshPartitionOptions.h
+
3
−
0
View file @
35909dda
...
...
@@ -14,6 +14,8 @@ struct meshPartitionOptions
// 2 - METIS
int
num_partitions
;
bool
createPartitionBoundaries
;
//--Chaco
int
global_method
;
// 1 - Multilevel-KL
...
...
@@ -97,6 +99,7 @@ struct meshPartitionOptions
algorithm
=
1
;
edge_matching
=
3
;
refine_algorithm
=
3
;
createPartitionBoundaries
=
false
;
//true;
}
};
...
...
This diff is collapsed.
Click to expand it.
Numeric/gmshLinearSystemGmm.h
+
1
−
0
View file @
35909dda
...
...
@@ -111,6 +111,7 @@ public :
virtual
void
zeroRightHandSide
()
{}
virtual
int
systemSolve
()
{
return
0
;
}
void
setPrec
(
double
p
){}
virtual
void
clear
(){}
void
setNoisy
(
int
n
){}
void
setGmres
(
int
n
){}
};
...
...
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