Skip to content
Snippets Groups Projects
Commit ab976a5a authored by Kutalmış Berçin's avatar Kutalmış Berçin Committed by Andrew Heather
Browse files

ENH: interpolateXY: enable UList parameters for wider applications

parent 7460fb25
1 merge request!531ENH: outletMappedUniformInlet: add multiple fraction, offset and time delays
......@@ -6,6 +6,7 @@
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2011 OpenFOAM Foundation
Copyright (C) 2022 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
......@@ -58,8 +59,8 @@ template<class Type>
Type interpolateXY
(
const scalar x,
const scalarField& xOld,
const Field<Type>& yOld
const UList<scalar>& xOld,
const UList<Type>& yOld
)
{
label n = xOld.size();
......
......@@ -6,6 +6,7 @@
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2011-2016 OpenFOAM Foundation
Copyright (C) 2022 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
......@@ -61,8 +62,8 @@ template<class Type>
Type interpolateXY
(
const scalar x,
const scalarField& xOld,
const Field<Type>& yOld
const UList<scalar>& xOld,
const UList<Type>& yOld
);
......
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