mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
bugfix - incorrect matrix type for d_p
This commit is contained in:
@ -29,8 +29,8 @@ Description
|
|||||||
Foam::SIBS
|
Foam::SIBS
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
SIBSCK.C
|
SIMPR.C
|
||||||
SIBSQS.C
|
polyExtrapolate.C
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
@ -61,7 +61,7 @@ class SIBS
|
|||||||
|
|
||||||
mutable scalarField a_;
|
mutable scalarField a_;
|
||||||
mutable scalarSquareMatrix alpha_;
|
mutable scalarSquareMatrix alpha_;
|
||||||
mutable scalarSquareMatrix d_p_;
|
mutable scalarRectangularMatrix d_p_;
|
||||||
mutable scalarField x_p_;
|
mutable scalarField x_p_;
|
||||||
mutable scalarField err_;
|
mutable scalarField err_;
|
||||||
|
|
||||||
@ -75,30 +75,31 @@ class SIBS
|
|||||||
mutable scalar epsOld_, xNew_;
|
mutable scalar epsOld_, xNew_;
|
||||||
|
|
||||||
|
|
||||||
void SIMPR
|
// Private member functions
|
||||||
(
|
|
||||||
const ODE& ode,
|
|
||||||
const scalar xStart,
|
|
||||||
const scalarField& y,
|
|
||||||
const scalarField& dydx,
|
|
||||||
const scalarField& dfdx,
|
|
||||||
const scalarSquareMatrix& dfdy,
|
|
||||||
const scalar deltaX,
|
|
||||||
const label nSteps,
|
|
||||||
scalarField& yEnd
|
|
||||||
) const;
|
|
||||||
|
|
||||||
|
void SIMPR
|
||||||
|
(
|
||||||
|
const ODE& ode,
|
||||||
|
const scalar xStart,
|
||||||
|
const scalarField& y,
|
||||||
|
const scalarField& dydx,
|
||||||
|
const scalarField& dfdx,
|
||||||
|
const scalarSquareMatrix& dfdy,
|
||||||
|
const scalar deltaX,
|
||||||
|
const label nSteps,
|
||||||
|
scalarField& yEnd
|
||||||
|
) const;
|
||||||
|
|
||||||
void polyExtrapolate
|
void polyExtrapolate
|
||||||
(
|
(
|
||||||
const label iest,
|
const label iest,
|
||||||
const scalar xest,
|
const scalar xest,
|
||||||
const scalarField& yest,
|
const scalarField& yest,
|
||||||
scalarField& yz,
|
scalarField& yz,
|
||||||
scalarField& dy,
|
scalarField& dy,
|
||||||
scalarField& x_p,
|
scalarField& x_p,
|
||||||
scalarSquareMatrix& d_p
|
scalarRectangularMatrix& d_p
|
||||||
) const;
|
) const;
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
@ -36,7 +36,7 @@ void Foam::SIBS::polyExtrapolate
|
|||||||
scalarField& yz,
|
scalarField& yz,
|
||||||
scalarField& dy,
|
scalarField& dy,
|
||||||
scalarField& x,
|
scalarField& x,
|
||||||
scalarSquareMatrix& d
|
scalarRectangularMatrix& d
|
||||||
) const
|
) const
|
||||||
{
|
{
|
||||||
label n = yz.size();
|
label n = yz.size();
|
||||||
|
|||||||
Reference in New Issue
Block a user