Skip to content
Snippets Groups Projects
Commit c92dea63 authored by Dennis Gläser's avatar Dennis Gläser Committed by Timo Koch
Browse files

[shallowwater] cleanup to dumux style conventions

parent 662bc3e9
No related branches found
No related tags found
1 merge request!1525Feature: Implement a shallow water model
......@@ -103,6 +103,8 @@ std::array<Scalar,3> fixedDischargeBoundary(Scalar dischargeBoundary,
return cellStateRight;
}
} // end namespcae ShallowWater
} // end namespace ShallowWater
} // end namespace Dumux
#endif
......@@ -27,7 +27,6 @@
#include <dumux/common/properties.hh>
#include <dumux/flux/fluxvariablesbase.hh>
namespace Dumux{
/*!
......@@ -84,7 +83,6 @@ public:
* \brief Returns the diffusive flux (e.g. diffusion of tracer)
*
*/
NumEqVector diffusiveFlux() const
{
NumEqVector fluxVector(0.0);
......
......@@ -51,13 +51,12 @@ class ShallowWaterResidual : public GetPropType<TypeTag, Properties::BaseLocalRe
using Element = typename GridView::template Codim<0>::Entity;
using Indices = typename GetPropType<TypeTag, Properties::ModelTraits>::Indices;
using AdvectionType = GetPropType<TypeTag, Properties::AdvectionType>;
//using DiffusionType = GetPropType<TypeTag, Properties::DiffusionType>;
public:
using ParentType::ParentType;
/*!
/*!
* \brief Evaluate the rate of change of all conservation
* quantites (e.g. mass, momentum) within a sub-control
* volume of a finite volume element.
......
......@@ -60,7 +60,6 @@
* overall computation time drastically.
*
*/
#ifndef DUMUX_FREEFLOW_SHALLOW_WATER_MODEL_HH
#define DUMUX_FREEFLOW_SHALLOW_WATER_MODEL_HH
......@@ -83,7 +82,6 @@ namespace Dumux {
* \ingroup ShallowWaterModel
* \brief Specifies a number properties of shallow water models.
*/
template <class TypeTag>
struct ShallowWaterModelTraits
{
......
......@@ -33,8 +33,6 @@ namespace Dumux{
/*!
* \ingroup ShallowWaterModel
* \brief ShallowWater problem base class.
*
*
*/
template<class TypeTag>
class ShallowWaterProblem : public FVProblem<TypeTag>
......@@ -50,7 +48,7 @@ class ShallowWaterProblem : public FVProblem<TypeTag>
public:
using SpatialParams = GetPropType<TypeTag, Properties::SpatialParams>;
/*!
/*!
* \brief Constructor, passing the spatial parameters
*
* \param fvGridGeometry The finite volume grid geometry
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment