Commit 7b9fb247 authored by Lukas Riedel's avatar Lukas Riedel

Simply re-use base constructor in Dirichlet BC

parent 7d0eef31
......@@ -18,22 +18,8 @@ protected:
using Time = typename Base::Time;
public:
/// Construct a static boundary condition
DirichletBoundaryCondition (const std::string_view name,
const TimeInterval<Time> interval,
const RF value)
:
Base(name, interval, value)
{ }
/// Construct an interpolated boundary condition
DirichletBoundaryCondition (const std::string_view name,
const TimeInterval<Time> interval,
const RF value_begin,
const std::optional<RF> value_end)
:
Base(name, interval, value_begin, value_end)
{ }
/// Re-use base constructor
using Base::Base;
/// Destroy this object
virtual ~DirichletBoundaryCondition () override = default;
......
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