Skip to content
Snippets Groups Projects
Commit eee53f1a authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[AppL] Drop obsolete nonuniform ConditionTypes.

Together with the string to enum converters.
parent c62b83dd
No related branches found
No related tags found
No related merge requests found
...@@ -28,18 +28,10 @@ BoundaryCondition::ConditionType BoundaryCondition::convertStringToType( ...@@ -28,18 +28,10 @@ BoundaryCondition::ConditionType BoundaryCondition::convertStringToType(
{ {
return ConditionType::DIRICHLET; return ConditionType::DIRICHLET;
} }
if (str == "NonuniformDirichlet")
{
return ConditionType::NONUNIFORMDIRICHLET;
}
else if (str == "Neumann") else if (str == "Neumann")
{ {
return ConditionType::NEUMANN; return ConditionType::NEUMANN;
} }
else if (str == "NonuniformNeumann")
{
return ConditionType::NONUNIFORMNEUMANN;
}
else if (str == "Robin") else if (str == "Robin")
{ {
return ConditionType::ROBIN; return ConditionType::ROBIN;
...@@ -54,18 +46,10 @@ std::string BoundaryCondition::convertTypeToString(ConditionType type) ...@@ -54,18 +46,10 @@ std::string BoundaryCondition::convertTypeToString(ConditionType type)
{ {
return "Dirichlet"; return "Dirichlet";
} }
if (type == ConditionType::NONUNIFORMDIRICHLET)
{
return "NonuniformDirichlet";
}
else if (type == ConditionType::NEUMANN) else if (type == ConditionType::NEUMANN)
{ {
return "Neumann"; return "Neumann";
} }
else if (type == ConditionType::NONUNIFORMNEUMANN)
{
return "NonuniformNeumann";
}
else if (type == ConditionType::ROBIN) else if (type == ConditionType::ROBIN)
{ {
return "Robin"; return "Robin";
......
...@@ -21,9 +21,7 @@ public: ...@@ -21,9 +21,7 @@ public:
{ {
NONE, NONE,
DIRICHLET, DIRICHLET,
NONUNIFORMDIRICHLET,
NEUMANN, NEUMANN,
NONUNIFORMNEUMANN,
ROBIN ROBIN
}; };
......
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