mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Added Polynomial dictionary constructor
This commit is contained in:
@ -68,6 +68,15 @@ Foam::Polynomial<PolySize>::Polynomial(const word& name, Istream& is)
|
||||
}
|
||||
|
||||
|
||||
template<int PolySize>
|
||||
Foam::Polynomial<PolySize>::Polynomial(Istream& is)
|
||||
:
|
||||
VectorSpace<Polynomial<PolySize>, scalar, PolySize>(is),
|
||||
logActive_(false),
|
||||
logCoeff_(0.0)
|
||||
{}
|
||||
|
||||
|
||||
template<int PolySize>
|
||||
Foam::Polynomial<PolySize>::Polynomial
|
||||
(
|
||||
|
||||
@ -100,6 +100,9 @@ public:
|
||||
//- Construct null
|
||||
Polynomial();
|
||||
|
||||
//- Construct from Istream
|
||||
Polynomial(Istream& is);
|
||||
|
||||
//- Construct from name and Istream
|
||||
Polynomial(const word& name, Istream& is);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user