Commit 12f6f918 authored by Kilian Weishaupt's avatar Kilian Weishaupt Committed by Timo Koch
Browse files

[StaggeredGrid][test] Minor changes

* Do not write drs files
* Pressure Dirichlet BC only on right side
parent a8cda6ff
......@@ -160,6 +160,11 @@ public:
return name_;
}
bool shouldWriteRestartFile()
{
return false;
}
/*!
* \brief Return the temperature within the domain in [K].
*
......@@ -196,7 +201,7 @@ public:
BoundaryTypes values;
Scalar eps = 1.0e-6;
if (globalPos[dimWorld-1] < eps || globalPos[dimWorld-1] > this->bBoxMax()[dimWorld-1] - eps)
if (globalPos[0] > this->bBoxMax()[0] - eps)
values.setAllDirichlet();
else
values.setAllNeumann();
......
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