Changed: Initialize h to 0 - not 1 - like for NewmarkMats (consistency)

This commit is contained in:
Knut Morten Okstad 2021-10-14 08:25:27 +02:00
parent 31e288e62b
commit e3631fd746

View File

@ -27,8 +27,8 @@ class BDFMats : public ElmMats
{
public:
//! \brief The constructor initializes the time integration parameters.
//! param[in] bdfscheme BDF time discretization scheme
explicit BDFMats(const TimeIntegration::BDFD2& bdfscheme) : bdf(bdfscheme) { h = 1.0; }
//! param[in] scheme BDF time discretization scheme
explicit BDFMats(const TimeIntegration::BDFD2& scheme) : bdf(scheme), h(0.0) {}
//! \brief Empty destructor.
virtual ~BDFMats() {}