mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ODESolvers::seulex: Corrected 'expo' and added 'table_' resize
This commit is contained in:
@ -215,6 +215,7 @@ bool Foam::seulex::resize()
|
||||
{
|
||||
if (ODESolver::resize())
|
||||
{
|
||||
table_.shallowResize(kMaxx_, n_);
|
||||
resizeField(dfdx_);
|
||||
resizeMatrix(dfdy_);
|
||||
resizeMatrix(a_);
|
||||
@ -330,7 +331,7 @@ void Foam::seulex::solve
|
||||
break;
|
||||
}
|
||||
errOld = min(4*err, 1);
|
||||
scalar expo = 1/(k + 1);
|
||||
scalar expo = 1.0/(k + 1);
|
||||
scalar facmin = pow(stepFactor3_, expo);
|
||||
scalar fac;
|
||||
if (err == 0)
|
||||
|
||||
Reference in New Issue
Block a user