Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
amdis
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
Container registry
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
iwr
amdis
Commits
71835d76
Commit
71835d76
authored
14 years ago
by
Thomas Witkowski
Browse files
Options
Downloads
Patches
Plain Diff
Fixed bug in intialization procedure of parallel mesh distribution.
parent
d896e9c9
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
AMDiS/src/parallel/ParallelDomainBase.cc
+6
-2
6 additions, 2 deletions
AMDiS/src/parallel/ParallelDomainBase.cc
with
6 additions
and
2 deletions
AMDiS/src/parallel/ParallelDomainBase.cc
+
6
−
2
View file @
71835d76
...
...
@@ -71,12 +71,14 @@ namespace AMDiS {
// If the problem has been already read from a file, we do not need to do anything.
if
(
deserialized
)
return
;
// Test, if the mesh is the macro mesh only! Paritioning of the mesh is supported
// only for macro meshes, so it will not work yet if the mesh is already refined
// in some way.
testForMacroMesh
();
// create an initial partitioning of the mesh
partitioner
->
createPartitionData
();
// set the element weights, which are 1 at the very first begin
...
...
@@ -84,6 +86,7 @@ namespace AMDiS {
// and now partition the mesh
partitionMesh
(
adaptInfo
);
#if (DEBUG != 0)
debug
::
ElementIdxToDofs
elMap
;
debug
::
createSortedDofs
(
mesh
,
elMap
);
...
...
@@ -100,6 +103,7 @@ namespace AMDiS {
ParallelDomainDbg
::
testAllElements
(
*
this
);
#endif
// === Create interior boundary information. ===
createInteriorBoundaryInfo
();
...
...
@@ -108,6 +112,7 @@ namespace AMDiS {
ParallelDomainDbg
::
printBoundaryInfo
(
*
this
);
#endif
// === Create new global and local DOF numbering. ===
createLocalGlobalNumbering
();
...
...
@@ -172,7 +177,6 @@ namespace AMDiS {
}
}
// === Remove periodic boundary conditions in sequential problem definition. ===
// Remove periodic boundaries in boundary manager on matrices and vectors.
...
...
@@ -189,7 +193,7 @@ namespace AMDiS {
if
(
probStat
[
i
]
->
getSolution
()
->
getDOFVector
(
j
)
->
getBoundaryManager
())
removeBoundaryCondition
(
const_cast
<
BoundaryIndexMap
&>
(
probStat
[
i
]
->
getSolution
()
->
getDOFVector
(
j
)
->
getBoundaryManager
()
->
getBoundaryConditionMap
()));
if
(
probStat
[
i
]
->
getRhs
()
->
getDOFVector
(
i
)
->
getBoundaryManager
())
if
(
probStat
[
i
]
->
getRhs
()
->
getDOFVector
(
j
)
->
getBoundaryManager
())
removeBoundaryCondition
(
const_cast
<
BoundaryIndexMap
&>
(
probStat
[
i
]
->
getRhs
()
->
getDOFVector
(
j
)
->
getBoundaryManager
()
->
getBoundaryConditionMap
()));
}
}
...
...
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