Commit 3073ff8b authored by Benjamin Faigle's avatar Benjamin Faigle
Browse files

Fix definition of boundary condition (produced uninitialized value leading to simulation failure)

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@10179 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 20e899a6
......@@ -253,14 +253,14 @@ void dirichletAtPos(PrimaryVariables &bcValues, const GlobalPosition& globalPos)
*/
void neumannAtPos(PrimaryVariables &neumannValues, const GlobalPosition& globalPos) const
{
this->setZero(neumannValues, Indices::contiWEqIdx);
this->setZero(neumannValues);
}
/*!
* \copydoc Dumux::IMPETProblem::source()
*/
void source(PrimaryVariables &values, const Element &element)
{
this->setZero(values, Indices::contiWEqIdx);
this->setZero(values);
ElementPointer father(element);
// access level 1 entity
while (father->level() != this->gridAdapt().getMinLevel())
......
Supports Markdown
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