[Transport] Remove unused hydrodynamic dispersion interface

parent 61a3ecf6
......@@ -4,7 +4,6 @@
#include <dune/dorie/common/logging.hh>
#include <dune/dorie/common/parameterization_factory.hh>
#include <dune/dorie/model/transport/parameterization/interface.hh>
#include <dune/dorie/model/transport/parameterization/hydrodynamic_dispersion/interface.hh>
#include <dune/dorie/model/transport/parameterization/hydrodynamic_dispersion/const.hh>
#include <dune/dorie/model/transport/parameterization/hydrodynamic_dispersion/power_law.hh>
#include <dune/dorie/model/transport/parameterization/hydrodynamic_dispersion/eff_hydromechanic_dispersion/interface.hh>
......
......@@ -5,7 +5,7 @@
#include <string>
#include <map>
#include <dune/dorie/model/transport/parameterization/hydrodynamic_dispersion/interface.hh>
#include <dune/dorie/model/transport/parameterization/interface.hh>
namespace Dune {
namespace Dorie {
......
......@@ -5,7 +5,6 @@
#include <functional>
#include <string>
#include <dune/dorie/model/transport/parameterization/hydrodynamic_dispersion/interface.hh>
#include <dune/dorie/model/transport/parameterization/hydrodynamic_dispersion/eff_hydromechanic_dispersion/interface.hh>
#include <dune/dorie/model/transport/parameterization/hydrodynamic_dispersion/eff_hydromechanic_dispersion/longitudinal/interface.hh>
#include <dune/dorie/model/transport/parameterization/hydrodynamic_dispersion/eff_hydromechanic_dispersion/transverse/interface.hh>
......
#ifndef DUNE_DORIE_PARAM_HYDRODYNAMIC_DISPERSION_INTERFACE_HH
#define DUNE_DORIE_PARAM_HYDRODYNAMIC_DISPERSION_INTERFACE_HH
#include <functional>
#include <string>
#include <map>
#include <dune/dorie/model/transport/parameterization/interface.hh>
namespace Dune {
namespace Dorie {
namespace Parameterization {
template <class Traits>
class HydrodynamicDispersion
{
private:
using BaseP = Transport<Traits>;
public:
HydrodynamicDispersion (const std::string name)
: _name(name)
{ }
virtual ~HydrodynamicDispersion () = default;
const std::string& get_name() const { return _name; }
using HydrodynamicDispersionType = typename BaseP::HydrodynamicDispersionType;
using WaterFluxType = typename BaseP::WaterFluxType;
using WaterContentType = typename BaseP::WaterContentType;
virtual std::function<
HydrodynamicDispersionType(const WaterFluxType, const WaterContentType)>
hydrodynamic_dispersion_f () const = 0;
virtual std::multimap<std::string, double&> parameters () = 0;
virtual std::multimap<std::string, const double&> parameters () const = 0;
/// Return a clone of this object
/** \return a unique pointer with a copy of this object.
*/
virtual std::unique_ptr<HydrodynamicDispersion<Traits>> clone () const = 0;
private:
const std::string _name;
};
} // namespace Parameterization
} // namespace Dune
} // namespace Dorie
#endif // DUNE_DORIE_PARAM_HYDRODYNAMIC_DISPERSION_INTERFACE_HH
\ No newline at end of file
......@@ -5,7 +5,7 @@
#include <functional>
#include <string>
#include <dune/dorie/model/transport/parameterization/hydrodynamic_dispersion/interface.hh>
#include <dune/dorie/model/transport/parameterization/interface.hh>
namespace Dune {
namespace Dorie {
......
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