Commit 9338d954 authored by Ned Coltman's avatar Ned Coltman Committed by Timo Koch

[test][vtk][staggeredfreeflowpvnames] add realistic isOnWall function

parent 768b8703
......@@ -129,6 +129,8 @@ private:
using BoundaryTypes = Dumux::NavierStokesBoundaryTypes<GetPropType<TypeTag, Properties::ModelTraits>::numEq()>;
using Scalar = GetPropType<TTag, Properties::Scalar>;
using Traits = GetPropType<TTag, Properties::ModelTraits>;
Scalar eps_ = 1e-6;
public:
using ParentType::ParentType;
......@@ -159,8 +161,8 @@ private:
{ return ParentType::updateDynamicWallProperties(u); }
template<class Scvf>
bool isOnWall(const Scvf&) const
{ return true; }
bool isOnWall(const Scvf& scvf) const
{ return (scvf.center()[0] < eps_); }
};
public:
......
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