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
iwr
amdis
Commits
35c63e58
Commit
35c63e58
authored
Jun 24, 2008
by
Thomas Witkowski
Browse files
* Small bug, if not compiled with openmp
parent
68d44797
Changes
3
Hide whitespace changes
Inline
Side-by-side
AMDiS/src/CreatorMap.cc
View file @
35c63e58
...
...
@@ -225,8 +225,10 @@ namespace AMDiS {
creator
=
NEW
ResidualEstimator
::
Creator
;
addCreator
(
"residual"
,
creator
);
#ifdef _OPENMP
creator
=
NEW
ResidualParallelEstimator
::
Creator
;
addCreator
(
"residualparallel"
,
creator
);
#endif
creator
=
NEW
RecoveryEstimator
::
Creator
;
addCreator
(
"recovery"
,
creator
);
...
...
AMDiS/src/ResidualParallelEstimator.cc
View file @
35c63e58
...
...
@@ -4,6 +4,8 @@
#include
"Parameters.h"
#include
"OpenMP.h"
#ifdef _OPENMP
namespace
AMDiS
{
ResidualParallelEstimator
::
ResidualParallelEstimator
(
::
std
::
string
name
,
int
r
)
:
Estimator
(
name
,
r
),
...
...
@@ -106,3 +108,4 @@ namespace AMDiS {
}
#endif // _OPENMP
AMDiS/src/ResidualParallelEstimator.h
View file @
35c63e58
...
...
@@ -26,6 +26,8 @@
#ifndef AMDIS_RESIDUALPARALLELESTIMATOR_H
#define AMDIS_RESIDUALPARALLELESTIMATOR_H
#ifdef _OPENMP
#include
"ResidualEstimator.h"
#include
<vector>
...
...
@@ -106,4 +108,6 @@ namespace AMDiS {
}
#endif // _OPENMP
#endif // AMDIS_RESIDUALPARALLELESTIMATOR_H
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