diff --git a/src/ODE/ODESolvers/SIBS/SIBS.C b/src/ODE/ODESolvers/SIBS/SIBS.C index c86cc89b5..5075d370e 100644 --- a/src/ODE/ODESolvers/SIBS/SIBS.C +++ b/src/ODE/ODESolvers/SIBS/SIBS.C @@ -42,9 +42,12 @@ namespace Foam const label SIBS::nSeq_[iMaxX_] = {2, 6, 10, 14, 22, 34, 50, 70}; const scalar - SIBS::safe1 = 0.25, SIBS::safe2 = 0.7, - SIBS::redMax = 1.0e-5, SIBS::redMin = 0.0, SIBS::scaleMX = 0.1; -}; + SIBS::safe1 = 0.25, + SIBS::safe2 = 0.7, + SIBS::redMax = 1.0e-5, + SIBS::redMin = 0.7, + SIBS::scaleMX = 0.1; +} // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // @@ -64,7 +67,8 @@ Foam::SIBS::SIBS(ODE& ode) dfdx_(ode_.nEqns()), dfdy_(ode_.nEqns(), ode_.nEqns()), first_(1), - epsOld_(-1.0) + epsOld_(-1.0), + xNew_(0.0) {} @@ -125,7 +129,7 @@ void Foam::SIBS::solve kMax_ = kOpt_; } - label k=0; + label k = 0; scalar h = hTry; yTemp_ = y; diff --git a/src/ODE/ODESolvers/SIBS/SIBS.H b/src/ODE/ODESolvers/SIBS/SIBS.H index 00ba29dda..2ce2968b8 100644 --- a/src/ODE/ODESolvers/SIBS/SIBS.H +++ b/src/ODE/ODESolvers/SIBS/SIBS.H @@ -115,10 +115,9 @@ public: SIBS(ODE& ode); - // Destructor - - virtual ~SIBS() - {} + //- Destructor + virtual ~SIBS() + {} // Member Functions