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
Backofen, Rainer
amdis
Commits
7c8fd6c5
Commit
7c8fd6c5
authored
May 22, 2012
by
Praetorius, Simon
Browse files
getComponentName() added
parent
deed69a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
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
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