mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Add constructor from FixedList
This commit is contained in:
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -69,6 +69,12 @@ public:
|
|||||||
second() = s;
|
second() = s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//- Construct from FixedList
|
||||||
|
inline Pair(const FixedList<Type, 2>& fl)
|
||||||
|
:
|
||||||
|
FixedList<Type, 2>(fl)
|
||||||
|
{}
|
||||||
|
|
||||||
//- Construct from Istream
|
//- Construct from Istream
|
||||||
inline Pair(Istream& is)
|
inline Pair(Istream& is)
|
||||||
:
|
:
|
||||||
|
|||||||
Reference in New Issue
Block a user