Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Aland, Sebastian
amdis
Commits
c7be95ea
Commit
c7be95ea
authored
Aug 13, 2008
by
Thomas Witkowski
Browse files
* Added AdaptInfo to debug server for parallel problem debugging
parent
91718fb9
Changes
7
Show whitespace changes
Inline
Side-by-side
AMDiS/src/AdaptBase.h
View file @
c7be95ea
AMDiS/src/AdaptInstationary.cc
View file @
c7be95ea
AMDiS/src/AdaptInstationary.h
View file @
c7be95ea
AMDiS/src/BiCGStab.hh
View file @
c7be95ea
...
...
@@ -6,7 +6,12 @@ namespace AMDiS
template
<
typename
VectorType
>
BiCGStab
<
VectorType
>::
BiCGStab
(
::
std
::
string
name
)
:
OEMSolver
<
VectorType
>
(
name
),
r
(
NULL
),
rstar
(
NULL
),
p
(
NULL
),
v
(
NULL
),
t
(
NULL
),
xmin
(
NULL
)
r
(
NULL
),
rstar
(
NULL
),
p
(
NULL
),
v
(
NULL
),
t
(
NULL
),
xmin
(
NULL
)
{}
template
<
typename
VectorType
>
...
...
AMDiS/src/OEMSolver.h
View file @
c7be95ea
...
...
@@ -299,7 +299,9 @@ namespace AMDiS {
/** \brief
* Sets \ref problem
*/
void
setName
(
::
std
::
string
name_
)
{
name
=
name_
;
};
void
setName
(
::
std
::
string
name_
)
{
name
=
name_
;
};
protected:
/** \brief
...
...
AMDiS/src/ParallelProblem.cc
View file @
c7be95ea
#include
"ParallelProblem.h"
"ParallelProblem.h"
#include
"ProblemScal.h"
#include
"ProblemVec.h"
#include
"ProblemInstat.h"
...
...
@@ -75,7 +75,8 @@ namespace AMDiS {
ProblemTimeInterface
*
timeIF
)
:
iterationIF_
(
iterationIF
),
timeIF_
(
timeIF
),
debugMode
(
0
)
debugMode
(
0
),
debugServerProcess
(
false
)
{
mpiRank
=
MPI
::
COMM_WORLD
.
Get_rank
();
mpiSize
=
MPI
::
COMM_WORLD
.
Get_size
();
...
...
@@ -1727,7 +1728,7 @@ namespace AMDiS {
}
}
void
ParallelProblemVec
::
startDebugServer
()
void
ParallelProblemVec
::
startDebugServer
(
AdaptInfo
*
adaptInfo
)
{
FUNCNAME
(
"ParallelProblemVec::startDebugServer()"
);
...
...
@@ -1842,7 +1843,7 @@ namespace AMDiS {
/* ====== Finally, call debug function ====== */
debugFunction
();
debugFunction
(
adaptInfo
);
}
FREE_MEMORY
(
elDOFs
,
DegreeOfFreedom
,
numFcts
);
...
...
AMDiS/src/ParallelProblem.h
View file @
c7be95ea
...
...
@@ -553,9 +553,9 @@ namespace AMDiS {
return
name_
;
};
virtual
void
startDebugServer
();
virtual
void
startDebugServer
(
AdaptInfo
*
adaptInfo
);
virtual
void
debugFunction
()
{};
virtual
void
debugFunction
(
AdaptInfo
*
adaptInfo
)
{};
protected:
ProblemVec
*
problem
;
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment