Merge pull request #3457 from totto82/addThermalBC
add THERMAL option to BC
This commit is contained in:
@@ -36,7 +36,8 @@ class DeckRecord;
|
||||
enum class BCType {
|
||||
RATE,
|
||||
FREE,
|
||||
DIRICHLET
|
||||
DIRICHLET,
|
||||
THERMAL
|
||||
};
|
||||
|
||||
enum class BCComponent {
|
||||
|
||||
@@ -38,6 +38,9 @@ BCType bctype(const std::string& s) {
|
||||
if (s == "DIRICHLET")
|
||||
return BCType::DIRICHLET;
|
||||
|
||||
if (s == "THERMAL")
|
||||
return BCType::THERMAL;
|
||||
|
||||
throw std::invalid_argument("Not recognized boundary condition type: " + s);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user