Skip to content
Snippets Groups Projects
Commit 7c8fd6c5 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

getComponentName() added

parent deed69a8
No related branches found
No related tags found
No related merge requests found
......@@ -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()
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment