Skip to content
Snippets Groups Projects
Commit 4f9e45fb authored by Andrew Heather's avatar Andrew Heather
Browse files

COMP: corrected read* changes from commit 8eddcc07

parent 19d60047
No related branches found
No related tags found
No related merge requests found
...@@ -158,19 +158,19 @@ void Foam::interpolationLookUpTable<Type>::dimensionTable() ...@@ -158,19 +158,19 @@ void Foam::interpolationLookUpTable<Type>::dimensionTable()
forAll(entries_,i) forAll(entries_,i)
{ {
dim_[i] = entries_[i].get<label>("N"); dim_[i] = entries_[i].template get<label>("N");
max_[i] = entries_[i].get<scalar>("max"); max_[i] = entries_[i].template get<scalar>("max");
min_[i] = entries_[i].get<scalar>("min"); min_[i] = entries_[i].template get<scalar>("min");
delta_[i] = (max_[i] - min_[i])/dim_[i]; delta_[i] = (max_[i] - min_[i])/dim_[i];
tableDim *= dim_[i] + 1; tableDim *= dim_[i] + 1;
fieldIndices_.insert(entries_[i].get<word>("name"), index); fieldIndices_.insert(entries_[i].template get<word>("name"), index);
entryIndices_[i] = index; entryIndices_[i] = index;
index++; index++;
} }
forAll(output_,i) forAll(output_,i)
{ {
fieldIndices_.insert(output_[i].get<word>("name"), index); fieldIndices_.insert(output_[i].template get<word>("name"), index);
outputIndices_[i] = index; outputIndices_[i] = index;
index++; index++;
} }
...@@ -284,7 +284,7 @@ Foam::interpolationLookUpTable<Type>::interpolationLookUpTable ...@@ -284,7 +284,7 @@ Foam::interpolationLookUpTable<Type>::interpolationLookUpTable
) )
: :
List<scalarField>(), List<scalarField>(),
fileName_(dict.get<fileName>("file").expand()), fileName_(dict.template get<fileName>("file").expand()),
dim_(0), dim_(0),
min_(0.0), min_(0.0),
delta_(0.0), delta_(0.0),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment