Commit 0988c9de authored by Lukas Riedel's avatar Lukas Riedel 🎧
Browse files

Merge branch '116-vonneumann-neumann-in-boundary-condition-enum' into 'master'

Resolve "vonNeumann -> Neumann in boundary condition enum"

Closes #116

See merge request !117
parents 3a8cd2f7 dc475bf8
......@@ -59,7 +59,7 @@ struct RichardsDGWeights
//! Operator internal BC handling
struct BCType
{
enum Type { vonNeumann, //!< Fixed flux at boundary
enum Type { Neumann, //!< Fixed flux at boundary
dirichlet, //!< Fixed matric head at boundary
none //!< No BC specified
};
......@@ -573,7 +573,7 @@ public:
// evaluate flux boundary condition
normal_flux = boundary.j(ig.intersection(),it.position(),time);
bcType = BCType::vonNeumann;
bcType = BCType::Neumann;
}
else if (BoundaryCondition::isDirichlet(bc))
......@@ -587,7 +587,7 @@ public:
normal_flux = .0;
if(u_s < .0) normal_flux = boundary.j(ig.intersection(),it.position(),time);
bcType = BCType::vonNeumann;
bcType = BCType::Neumann;
}
else if (BoundaryCondition::isEvaporation(bc))
......@@ -653,7 +653,7 @@ public:
bc_type_cache.emplace(it_id,BoundaryCondition::Dirichlet);
}
else {
bcType = BCType::vonNeumann;
bcType = BCType::Neumann;
bc_type_cache.emplace(it_id,BoundaryCondition::Neumann);
}
}
......@@ -663,7 +663,7 @@ public:
// update residual according to byType flag
if (bcType == BCType::vonNeumann)
if (bcType == BCType::Neumann)
{
// flux is given parallel to gravity vector
normal_flux *= std::abs( ig.centerUnitOuterNormal() * param.gravity() );
......
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