mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
intel compiler from Ayad
This commit is contained in:
@ -102,15 +102,6 @@ private:
|
|||||||
baseType base_;
|
baseType base_;
|
||||||
|
|
||||||
|
|
||||||
// Private Member Functions
|
|
||||||
|
|
||||||
//- Disallow default bitwise copy construct
|
|
||||||
// fieldAverageItem(const fieldAverageItem&);
|
|
||||||
|
|
||||||
//- Disallow default bitwise assignment
|
|
||||||
// void operator=(const fieldAverageItem&);
|
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
@ -175,6 +166,29 @@ public:
|
|||||||
|
|
||||||
void operator=(const fieldAverageItem&);
|
void operator=(const fieldAverageItem&);
|
||||||
|
|
||||||
|
// Friend Operators
|
||||||
|
|
||||||
|
friend bool operator==
|
||||||
|
(
|
||||||
|
const fieldAverageItem& a,
|
||||||
|
const fieldAverageItem& b
|
||||||
|
)
|
||||||
|
{
|
||||||
|
return
|
||||||
|
a.fieldName_ == b.fieldName_
|
||||||
|
&& a.mean_ == b.mean_
|
||||||
|
&& a.prime2Mean_ == b.prime2Mean_
|
||||||
|
&& a.base_ == b.base_;
|
||||||
|
}
|
||||||
|
|
||||||
|
friend bool operator!=
|
||||||
|
(
|
||||||
|
const fieldAverageItem& a,
|
||||||
|
const fieldAverageItem& b
|
||||||
|
)
|
||||||
|
{
|
||||||
|
return !(a == b);
|
||||||
|
}
|
||||||
|
|
||||||
// IOstream Operators
|
// IOstream Operators
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user