Commit d37885ab authored by Martin Utz's avatar Martin Utz
Browse files

[swe][frictionlaw] Small changes.

parent 8e37ca8b
......@@ -24,7 +24,7 @@
* The boundary conditions are given at the the outer face of the
* the boundary cells. In this form the boundary condition can't be
* processed by the riemann Solver, because it needs two cell states, one at
* each side of a face. Therefore they Riemann invariants are used to
* each side of a face. Therefore the Riemann invariants are used to
* calculate a virtual outer state.
*/
#ifndef DUMUX_SHALLOWWATER_BOUNDARYFLUXES_HH
......
......@@ -46,7 +46,7 @@ public:
* from contiuums mechanics, but a force projected on an area. Therefore it is a
* vector with two entries.
*
* \return shear stress. First entry is the x-component, the second the y-component.
* \return shear stress [N/m^2]. First entry is the x-component, the second the y-component.
*/
virtual Dune::FieldVector<Scalar, 2> computeShearStress(const VolumeVariables& VolVar) const = 0;
......
......@@ -58,7 +58,7 @@ public:
* from contiuums mechanics, but a force projected on an area. Therefore it is a
* vector with two entries.
*
* \return shear stress. First entry is the x-component, the second the y-component.
* \return shear stress [N/m^2]. First entry is the x-component, the second the y-component.
*/
Dune::FieldVector<Scalar, 2> computeShearStress(const VolumeVariables& volVars) const final
{
......
......@@ -57,7 +57,7 @@ public:
* from contiuums mechanics, but a force projected on an area. Therefore it is a
* vector with two entries.
*
* \return shear stress. First entry is the x-component, the second the y-component.
* \return shear stress [N/m^2]. First entry is the x-component, the second the y-component.
*/
Dune::FieldVector<Scalar, 2> computeShearStress(const VolumeVariables& volVars) const final
{
......
......@@ -76,10 +76,6 @@ struct EnableFVGridGeometryCache<TypeTag, TTag::RoughChannel>
template<class TypeTag>
struct EnableGridVolumeVariablesCache<TypeTag, TTag::RoughChannel>
{ static constexpr bool value = false; };
template<class TypeTag>
struct EnableGridFluxVariablesCache<TypeTag, TTag::RoughChannel>
{ static constexpr bool value = false; };
} // end namespace Properties
/*!
......@@ -318,7 +314,6 @@ public:
// no flow boundary
else
{
boundaryStateVariables = {0,0,0};
boundaryStateVariables[0] = insideVolVars.waterDepth();
boundaryStateVariables[1] = -insideVolVars.velocity(0);
boundaryStateVariables[2] = -insideVolVars.velocity(1);
......
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