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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Aland, Sebastian
amdis
Commits
29045c03
Commit
29045c03
authored
Apr 21, 2011
by
Thomas Witkowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Work on more general and faster parallelization.
parent
cf3fc63f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
8 deletions
+2
-8
AMDiS/src/RefinementManager3d.cc
AMDiS/src/RefinementManager3d.cc
+0
-4
AMDiS/src/parallel/MeshManipulation.cc
AMDiS/src/parallel/MeshManipulation.cc
+0
-1
AMDiS/src/parallel/PetscSolverGlobalMatrix.cc
AMDiS/src/parallel/PetscSolverGlobalMatrix.cc
+2
-3
No files found.
AMDiS/src/RefinementManager3d.cc
View file @
29045c03
...
@@ -675,8 +675,6 @@ namespace AMDiS {
...
@@ -675,8 +675,6 @@ namespace AMDiS {
bool
foundEdge
=
false
;
bool
foundEdge
=
false
;
while
(
elInfo2
)
{
while
(
elInfo2
)
{
MSG
(
"TRY TO FIND ON EL %d
\n
"
,
elInfo2
->
getElement
()
->
getIndex
());
for
(
int
i
=
0
;
i
<
6
;
i
++
)
{
for
(
int
i
=
0
;
i
<
6
;
i
++
)
{
DofEdge
edge2
=
elInfo2
->
getElement
()
->
getEdge
(
i
);
DofEdge
edge2
=
elInfo2
->
getElement
()
->
getEdge
(
i
);
if
(
edge2
.
first
==
*
(
edge
[
0
])
&&
if
(
edge2
.
first
==
*
(
edge
[
0
])
&&
...
@@ -690,8 +688,6 @@ namespace AMDiS {
...
@@ -690,8 +688,6 @@ namespace AMDiS {
// must be refined at least once to get a refinement edge.
// must be refined at least once to get a refinement edge.
if
(
i
==
0
)
{
if
(
i
==
0
)
{
MSG
(
"AND FOUND!
\n
"
);
// Edge is refinement edge, so add it to refine list.
// Edge is refinement edge, so add it to refine list.
refineList
.
setElType
(
n_neigh
,
elInfo2
->
getType
());
refineList
.
setElType
(
n_neigh
,
elInfo2
->
getType
());
...
...
AMDiS/src/parallel/MeshManipulation.cc
View file @
29045c03
...
@@ -396,7 +396,6 @@ namespace AMDiS {
...
@@ -396,7 +396,6 @@ namespace AMDiS {
// In this scenario, the element must be refined due to the structure
// In this scenario, the element must be refined due to the structure
// code, but the refinement does not introduce new DOFs on the face,
// code, but the refinement does not introduce new DOFs on the face,
// that should be adapted. Thus, we can ommit the refinement.
// that should be adapted. Thus, we can ommit the refinement.
if
(
subObj
==
FACE
)
{
if
(
subObj
==
FACE
)
{
if
(
s0
!=
-
1
&&
s1
==
-
1
||
s0
==
-
1
&&
s1
!=
-
1
)
{
if
(
s0
!=
-
1
&&
s1
==
-
1
||
s0
==
-
1
&&
s1
!=
-
1
)
{
if
(
ithObj
<=
1
&&
code
.
lookAhead
()
==
0
)
{
if
(
ithObj
<=
1
&&
code
.
lookAhead
()
==
0
)
{
...
...
AMDiS/src/parallel/PetscSolverGlobalMatrix.cc
View file @
29045c03
...
@@ -72,8 +72,8 @@ namespace AMDiS {
...
@@ -72,8 +72,8 @@ namespace AMDiS {
// === Create PETSc matrix with the computed nnz data structure. ===
// === Create PETSc matrix with the computed nnz data structure. ===
MatCreateMPIAIJ
(
PETSC_COMM_WORLD
,
nRankRows
,
nRankRows
,
nOverallRows
,
nOverallRows
,
MatCreateMPIAIJ
(
PETSC_COMM_WORLD
,
nRankRows
,
nRankRows
,
nOverallRows
,
nOverallRows
,
0
,
d_nnz
,
0
,
o_nnz
,
&
petscMatrix
);
0
,
d_nnz
,
0
,
o_nnz
,
&
petscMatrix
);
#if (DEBUG != 0)
#if (DEBUG != 0)
MSG
(
"Fill petsc matrix 1 needed %.5f seconds
\n
"
,
MPI
::
Wtime
()
-
wtime
);
MSG
(
"Fill petsc matrix 1 needed %.5f seconds
\n
"
,
MPI
::
Wtime
()
-
wtime
);
#endif
#endif
...
@@ -150,7 +150,6 @@ namespace AMDiS {
...
@@ -150,7 +150,6 @@ namespace AMDiS {
if
(
!
zeroStartVector
)
if
(
!
zeroStartVector
)
KSPSetInitialGuessNonzero
(
solver
,
PETSC_TRUE
);
KSPSetInitialGuessNonzero
(
solver
,
PETSC_TRUE
);
// PETSc.
// PETSc.
KSPSolve
(
solver
,
petscRhsVec
,
petscSolVec
);
KSPSolve
(
solver
,
petscRhsVec
,
petscSolVec
);
...
...
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