mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: corrected read* changes from commit 8eddcc072a
This commit is contained in:
@ -158,19 +158,19 @@ void Foam::interpolationLookUpTable<Type>::dimensionTable()
|
||||
|
||||
forAll(entries_,i)
|
||||
{
|
||||
dim_[i] = entries_[i].get<label>("N");
|
||||
max_[i] = entries_[i].get<scalar>("max");
|
||||
min_[i] = entries_[i].get<scalar>("min");
|
||||
dim_[i] = entries_[i].template get<label>("N");
|
||||
max_[i] = entries_[i].template get<scalar>("max");
|
||||
min_[i] = entries_[i].template get<scalar>("min");
|
||||
delta_[i] = (max_[i] - min_[i])/dim_[i];
|
||||
tableDim *= dim_[i] + 1;
|
||||
fieldIndices_.insert(entries_[i].get<word>("name"), index);
|
||||
fieldIndices_.insert(entries_[i].template get<word>("name"), index);
|
||||
entryIndices_[i] = index;
|
||||
index++;
|
||||
}
|
||||
|
||||
forAll(output_,i)
|
||||
{
|
||||
fieldIndices_.insert(output_[i].get<word>("name"), index);
|
||||
fieldIndices_.insert(output_[i].template get<word>("name"), index);
|
||||
outputIndices_[i] = index;
|
||||
index++;
|
||||
}
|
||||
@ -284,7 +284,7 @@ Foam::interpolationLookUpTable<Type>::interpolationLookUpTable
|
||||
)
|
||||
:
|
||||
List<scalarField>(),
|
||||
fileName_(dict.get<fileName>("file").expand()),
|
||||
fileName_(dict.template get<fileName>("file").expand()),
|
||||
dim_(0),
|
||||
min_(0.0),
|
||||
delta_(0.0),
|
||||
|
||||
Reference in New Issue
Block a user