Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Backofen, Rainer
amdis
Commits
7c8fd6c5
Commit
7c8fd6c5
authored
May 22, 2012
by
Praetorius, Simon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
getComponentName() added
parent
deed69a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
AMDiS/src/ProblemStat.h
AMDiS/src/ProblemStat.h
+8
-0
No files found.
AMDiS/src/ProblemStat.h
View file @
7c8fd6c5
...
...
@@ -397,6 +397,14 @@ namespace AMDiS {
return
name
;
}
/// Returns the name of the problem
inline
string
getComponentName
(
int
comp
=
0
)
{
TEST_EXIT
(
comp
<
static_cast
<
int
>
(
componentNames
.
size
())
&&
comp
>=
0
)
(
"invalid component number
\n
"
);
return
componentNames
[
comp
];
}
/// Returns \ref useGetBound.
inline
bool
getBoundUsed
()
{
...
...
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