Fixed unused variable error
This commit is contained in:
parent
74f32afe0e
commit
02dc1d6554
2 changed files with 12 additions and 9 deletions
|
@ -42,9 +42,12 @@ namespace Foam
|
||||||
const label SIBS::nSeq_[iMaxX_] = {2, 6, 10, 14, 22, 34, 50, 70};
|
const label SIBS::nSeq_[iMaxX_] = {2, 6, 10, 14, 22, 34, 50, 70};
|
||||||
|
|
||||||
const scalar
|
const scalar
|
||||||
SIBS::safe1 = 0.25, SIBS::safe2 = 0.7,
|
SIBS::safe1 = 0.25,
|
||||||
SIBS::redMax = 1.0e-5, SIBS::redMin = 0.0, SIBS::scaleMX = 0.1;
|
SIBS::safe2 = 0.7,
|
||||||
};
|
SIBS::redMax = 1.0e-5,
|
||||||
|
SIBS::redMin = 0.7,
|
||||||
|
SIBS::scaleMX = 0.1;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
@ -64,7 +67,8 @@ Foam::SIBS::SIBS(ODE& ode)
|
||||||
dfdx_(ode_.nEqns()),
|
dfdx_(ode_.nEqns()),
|
||||||
dfdy_(ode_.nEqns(), ode_.nEqns()),
|
dfdy_(ode_.nEqns(), ode_.nEqns()),
|
||||||
first_(1),
|
first_(1),
|
||||||
epsOld_(-1.0)
|
epsOld_(-1.0),
|
||||||
|
xNew_(0.0)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
@ -125,7 +129,7 @@ void Foam::SIBS::solve
|
||||||
kMax_ = kOpt_;
|
kMax_ = kOpt_;
|
||||||
}
|
}
|
||||||
|
|
||||||
label k=0;
|
label k = 0;
|
||||||
scalar h = hTry;
|
scalar h = hTry;
|
||||||
yTemp_ = y;
|
yTemp_ = y;
|
||||||
|
|
||||||
|
|
|
@ -115,10 +115,9 @@ public:
|
||||||
SIBS(ODE& ode);
|
SIBS(ODE& ode);
|
||||||
|
|
||||||
|
|
||||||
// Destructor
|
//- Destructor
|
||||||
|
virtual ~SIBS()
|
||||||
virtual ~SIBS()
|
{}
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
// Member Functions
|
// Member Functions
|
||||||
|
|
Reference in a new issue