Commit 192a42d5 authored by Lukas Riedel's avatar Lukas Riedel

Match cases for LOP BC type enums

parent a8a230c4
...@@ -60,7 +60,7 @@ struct RichardsDGWeights ...@@ -60,7 +60,7 @@ struct RichardsDGWeights
struct BCType struct BCType
{ {
enum Type { Neumann, //!< Fixed flux at boundary enum Type { Neumann, //!< Fixed flux at boundary
dirichlet, //!< Fixed matric head at boundary Dirichlet, //!< Fixed matric head at boundary
none //!< No BC specified none //!< No BC specified
}; };
}; };
...@@ -583,7 +583,7 @@ public: ...@@ -583,7 +583,7 @@ public:
else if (BoundaryCondition::isDirichlet(bc)) else if (BoundaryCondition::isDirichlet(bc))
{ {
bcType = BCType::dirichlet; bcType = BCType::Dirichlet;
} }
else if (BoundaryCondition::isOther(bc)) else if (BoundaryCondition::isOther(bc))
...@@ -603,7 +603,7 @@ public: ...@@ -603,7 +603,7 @@ public:
continue; continue;
} }
else if (bcType == BCType::dirichlet) else if (bcType == BCType::Dirichlet)
{ {
// evaluate gradient of basis functions (we assume Galerkin method lfsu = lfsv) // evaluate gradient of basis functions (we assume Galerkin method lfsu = lfsv)
const auto& gradphi_s = cache[order_s].evaluateJacobian(p_local_s,lfsu_s.finiteElement().localBasis()); const auto& gradphi_s = cache[order_s].evaluateJacobian(p_local_s,lfsu_s.finiteElement().localBasis());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment