COMP: backport of updates for gcc-92 compilation

STYLE: add typedefs for interpolation tables
This commit is contained in:
Mark Olesen
2020-01-28 12:46:27 +01:00
parent fce7948915
commit c278b93d7a
116 changed files with 511 additions and 733 deletions

View File

@ -104,6 +104,15 @@ class interpolationTable
public:
// Public Data Types
//- The element data type
typedef Tuple2<scalar, Type> value_type;
//- The mapped data type
typedef Type mapped_type;
// Constructors
//- Construct null
@ -125,8 +134,8 @@ public:
// This is a specialised constructor used by patchFields
interpolationTable(const dictionary& dict);
//- Construct copy
interpolationTable(const interpolationTable& interpTable);
//- Copy construct
interpolationTable(const interpolationTable& tbl);
// Member Functions
@ -145,6 +154,9 @@ public:
// Member Operators
//- Copy assignment
void operator=(const interpolationTable<Type>& rhs);
//- Return an element of constant Tuple2<scalar, Type>
const Tuple2<scalar, Type>& operator[](const label) const;