mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: TableBase: repeat not handled
This commit is contained in:
@ -363,7 +363,7 @@ Type Foam::TableBase<Type>::value(const scalar x) const
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Use interpolator
|
// Use interpolator
|
||||||
interpolator().valueWeights(x, currentIndices_, currentWeights_);
|
interpolator().valueWeights(xDash, currentIndices_, currentWeights_);
|
||||||
|
|
||||||
Type t = currentWeights_[0]*table_[currentIndices_[0]].second();
|
Type t = currentWeights_[0]*table_[currentIndices_[0]].second();
|
||||||
for (label i = 1; i < currentIndices_.size(); i++)
|
for (label i = 1; i < currentIndices_.size(); i++)
|
||||||
|
|||||||
Reference in New Issue
Block a user