mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: Function1 - propagated API change resulting from new objectRegistry access
This commit is contained in:
committed by
Mark Olesen
parent
c1a04abd96
commit
70b55be684
@ -65,10 +65,11 @@ template<class Type>
|
||||
Foam::Function1Types::Polynomial<Type>::Polynomial
|
||||
(
|
||||
const word& entryName,
|
||||
const dictionary& dict
|
||||
const dictionary& dict,
|
||||
const objectRegistry* obrPtr
|
||||
)
|
||||
:
|
||||
Function1<Type>(entryName, dict),
|
||||
Function1<Type>(entryName, dict, obrPtr),
|
||||
coeffs_(),
|
||||
canIntegrate_(true)
|
||||
{
|
||||
@ -104,10 +105,11 @@ template<class Type>
|
||||
Foam::Function1Types::Polynomial<Type>::Polynomial
|
||||
(
|
||||
const word& entryName,
|
||||
const List<Tuple2<Type, Type>>& coeffs
|
||||
const List<Tuple2<Type, Type>>& coeffs,
|
||||
const objectRegistry* obrPtr
|
||||
)
|
||||
:
|
||||
Function1<Type>(entryName),
|
||||
Function1<Type>(entryName, obrPtr),
|
||||
coeffs_(coeffs),
|
||||
canIntegrate_(true)
|
||||
{
|
||||
|
||||
@ -108,14 +108,20 @@ public:
|
||||
|
||||
// Constructors
|
||||
|
||||
//- Construct from entry name and dictionary
|
||||
Polynomial(const word& entryName, const dictionary& dict);
|
||||
//- Construct from entry name, dictionary and optional registry
|
||||
Polynomial
|
||||
(
|
||||
const word& entryName,
|
||||
const dictionary& dict,
|
||||
const objectRegistry* obrPtr = nullptr
|
||||
);
|
||||
|
||||
//- Construct from components
|
||||
Polynomial
|
||||
(
|
||||
const word& entryName,
|
||||
const List<Tuple2<Type, Type>>& coeffs
|
||||
const List<Tuple2<Type, Type>>& coeffs,
|
||||
const objectRegistry* obrPtr = nullptr
|
||||
);
|
||||
|
||||
//- Copy constructor
|
||||
|
||||
Reference in New Issue
Block a user