Commit 4e5224f9 authored by Mark Olesen's avatar Mark Olesen
Browse files

COMP: interpolation lookup table had fvMesh, but only needed objectRegistry

parent 36509f04
......@@ -192,7 +192,7 @@ template<class Type>
void Foam::interpolationLookUpTable<Type>::readTable
(
const word& instance,
const fvMesh& mesh
const objectRegistry& obr
)
{
IOdictionary control
......@@ -201,7 +201,7 @@ void Foam::interpolationLookUpTable<Type>::readTable
(
fileName_,
instance,
mesh,
obr,
IOobject::MUST_READ_IF_MODIFIED,
IOobject::NO_WRITE
)
......@@ -240,7 +240,7 @@ Foam::interpolationLookUpTable<Type>::interpolationLookUpTable
(
const fileName& fn,
const word& instance,
const fvMesh& mesh
const objectRegistry& obr
)
:
List<scalarField>(),
......@@ -255,7 +255,7 @@ Foam::interpolationLookUpTable<Type>::interpolationLookUpTable
outputIndices_(0),
interpOutput_(0)
{
readTable(instance, mesh);
readTable(instance, obr);
}
......@@ -341,7 +341,7 @@ void Foam::interpolationLookUpTable<Type>::write
Ostream& os,
const fileName& fn,
const word& instance,
const fvMesh& mesh
const objectRegistry& obr
) const
{
IOdictionary control
......@@ -350,7 +350,7 @@ void Foam::interpolationLookUpTable<Type>::write
(
fn,
instance,
mesh,
obr,
IOobject::NO_READ,
IOobject::NO_WRITE
)
......
......@@ -104,7 +104,7 @@ private:
// Private Member Functions
//- Read the table of data from file
void readTable(const word& instance, const fvMesh&);
void readTable(const word& instance, const objectRegistry&);
//- Dimension table from dictionaries input and output
void dimensionTable();
......@@ -147,7 +147,7 @@ public:
(
const fileName&,
const word& instance,
const fvMesh&
const objectRegistry&
);
//- Construct from dictionary
......@@ -171,7 +171,7 @@ public:
Ostream&,
const fileName&,
const word& instance,
const fvMesh&
const objectRegistry&
) const;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment