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
c95e59d6
Commit
c95e59d6
authored
15 years ago
by
Abelin Kameni
Browse files
Options
Downloads
Patches
Plain Diff
fix compile without metis
parent
180aa6f9
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
Mesh/meshPartition.cpp
+1
-0
1 addition, 0 deletions
Mesh/meshPartition.cpp
Mesh/multiscalePartition.cpp
+3
-4
3 additions, 4 deletions
Mesh/multiscalePartition.cpp
with
4 additions
and
4 deletions
Mesh/meshPartition.cpp
+
1
−
0
View file @
c95e59d6
...
@@ -1146,4 +1146,5 @@ template void MakeGraphDIM<3, GModel::riter, GModel::fiter>
...
@@ -1146,4 +1146,5 @@ template void MakeGraphDIM<3, GModel::riter, GModel::fiter>
const
GModel
::
fiter
beginBE
,
const
GModel
::
fiter
endBE
,
const
GModel
::
fiter
beginBE
,
const
GModel
::
fiter
endBE
,
Graph
&
graph
,
BoElemGrVec
*
const
boElemGrVec
);
Graph
&
graph
,
BoElemGrVec
*
const
boElemGrVec
);
#endif
#endif
This diff is collapsed.
Click to expand it.
Mesh/multiscalePartition.cpp
+
3
−
4
View file @
c95e59d6
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
#include
"GmshConfig.h"
#include
"GmshConfig.h"
#include
"GmshDefines.h"
#include
"GmshDefines.h"
#include
"meshPartition.h"
#include
"meshPartition.h"
#include
"MElement.h"
static
bool
zeroGenus
(
std
::
vector
<
MElement
*>
&
elements
){
static
bool
zeroGenus
(
std
::
vector
<
MElement
*>
&
elements
){
...
@@ -73,8 +73,7 @@ multiscalePartition::multiscalePartition (std::vector<MElement *> &elements,
...
@@ -73,8 +73,7 @@ multiscalePartition::multiscalePartition (std::vector<MElement *> &elements,
}
}
void
multiscalePartition
::
partition
(
partitionLevel
&
level
){
void
multiscalePartition
::
partition
(
partitionLevel
&
level
){
#if defined(HAVE_METIS) || defined(HAVE_CHACO)
PartitionMeshElements
(
level
.
elements
,
options
);
PartitionMeshElements
(
level
.
elements
,
options
);
std
::
vector
<
std
::
vector
<
MElement
*>
>
regions
(
options
.
num_partitions
);
std
::
vector
<
std
::
vector
<
MElement
*>
>
regions
(
options
.
num_partitions
);
...
@@ -102,7 +101,7 @@ void multiscalePartition::partition(partitionLevel & level){
...
@@ -102,7 +101,7 @@ void multiscalePartition::partition(partitionLevel & level){
}
}
#endif
}
}
int
multiscalePartition
::
assembleAllPartitions
(){
int
multiscalePartition
::
assembleAllPartitions
(){
...
...
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