Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
amdis
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Backofen, Rainer
amdis
Commits
90c1f562
Commit
90c1f562
authored
Jun 28, 2012
by
Thomas Witkowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed small bug related to NNZ computations in FETI-DP context.
parent
bcdca133
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
4 deletions
+18
-4
AMDiS/src/parallel/MatrixNnzStructure.cc
AMDiS/src/parallel/MatrixNnzStructure.cc
+2
-0
AMDiS/src/parallel/MeshDistributor.cc
AMDiS/src/parallel/MeshDistributor.cc
+7
-2
AMDiS/src/parallel/ParallelDofMapping.h
AMDiS/src/parallel/ParallelDofMapping.h
+4
-1
AMDiS/src/parallel/PetscSolverFeti.cc
AMDiS/src/parallel/PetscSolverFeti.cc
+3
-1
AMDiS/src/parallel/PetscSolverGlobalMatrix.cc
AMDiS/src/parallel/PetscSolverGlobalMatrix.cc
+2
-0
No files found.
AMDiS/src/parallel/MatrixNnzStructure.cc
View file @
90c1f562
...
...
@@ -77,6 +77,8 @@ namespace AMDiS {
if
((
*
mat
)[
i
][
j
])
feSpace
=
(
*
mat
)[
i
][
j
]
->
getRowFeSpace
();
TEST_EXIT_DBG
(
feSpace
)(
"No FE space found!
\n
"
);
for
(
DofComm
::
Iterator
it
(
rowDofMap
.
getDofComm
().
getRecvDofs
(),
feSpace
);
!
it
.
end
();
it
.
nextRank
())
{
sendMatrixEntry
[
it
.
getRank
()].
resize
(
0
);
...
...
AMDiS/src/parallel/MeshDistributor.cc
View file @
90c1f562
...
...
@@ -1721,8 +1721,13 @@ namespace AMDiS {
ParallelDebug
::
writeDebugFile
(
feSpaces
[
feSpaces
.
size
()
-
1
],
dofMap
,
debugOutputDir
+
"mpi-dbg"
,
"dat"
);
debug
::
testSortedDofs
(
mesh
,
elMap
);
int
test
=
0
;
Parameters
::
get
(
"parallel->remove periodic boundary"
,
test
);
if
(
test
==
0
)
{
ParallelDebug
::
testCommonDofs
(
*
this
,
true
);
ParallelDebug
::
testGlobalIndexByCoords
(
*
this
);
}
#else
for
(
unsigned
int
i
=
0
;
i
<
feSpaces
.
size
();
i
++
)
MSG
(
"FE space %d: nRankDofs = %d nOverallDofs = %d
\n
"
,
...
...
AMDiS/src/parallel/ParallelDofMapping.h
View file @
90c1f562
...
...
@@ -300,6 +300,7 @@ namespace AMDiS {
public:
ParallelDofMapping
()
:
levelData
(
NULL
),
dofComm
(
NULL
),
hasNonLocalDofs
(
false
),
needMatIndex
(
false
),
needMatIndexFromGlobal
(
false
),
...
...
@@ -346,7 +347,9 @@ namespace AMDiS {
/// Returns the DOF communicator.
DofComm
&
getDofComm
()
{
TEST_EXIT_DBG
(
dofComm
);
FUNCNAME
(
"ParallelDofMapping::getDofComm()"
);
TEST_EXIT_DBG
(
dofComm
)(
"No DOF communicator object defined!
\n
"
);
return
*
dofComm
;
}
...
...
AMDiS/src/parallel/PetscSolverFeti.cc
View file @
90c1f562
...
...
@@ -346,7 +346,9 @@ namespace AMDiS {
if
(
fetiPreconditioner
!=
FETI_NONE
)
interiorDofMap
.
setMpiComm
(
levelData
.
getMpiComm
(
meshLevel
),
meshLevel
);
if
(
meshLevel
>
0
)
if
(
meshLevel
==
0
)
localDofMap
.
setDofComm
(
meshDistributor
->
getDofComm
());
else
localDofMap
.
setDofComm
(
meshDistributor
->
getDofCommSd
());
for
(
unsigned
int
i
=
0
;
i
<
meshDistributor
->
getFeSpaces
().
size
();
i
++
)
{
...
...
AMDiS/src/parallel/PetscSolverGlobalMatrix.cc
View file @
90c1f562
...
...
@@ -124,6 +124,8 @@ namespace AMDiS {
{
FUNCNAME
(
"PetscSolverGlobalMatrix::fillPetscMatrixWithCoarseSpace()"
);
TEST_EXIT_DBG
(
interiorMap
)(
"Should not happen!
\n
"
);
vector
<
const
FiniteElemSpace
*>
feSpaces
=
getFeSpaces
(
mat
);
int
nRowsRankInterior
=
interiorMap
->
getRankDofs
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment