Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop

This commit is contained in:
Andrew Heather
2017-06-29 19:49:55 +01:00
3 changed files with 2 additions and 8 deletions

View File

@ -45,7 +45,7 @@ Foam::Ostream& Foam::operator<<(Ostream& os, const bool b)
{ {
// we could also write as text string without any difficulty // we could also write as text string without any difficulty
// os << (b ? "true" : "false"); // os << (b ? "true" : "false");
os.write(int(b)); os.write(label(b));
os.check(FUNCTION_NAME); os.check(FUNCTION_NAME);
return os; return os;
} }

View File

@ -68,7 +68,7 @@ Foam::Istream& Foam::operator>>(Istream& is, direction& d)
Foam::Ostream& Foam::operator<<(Ostream& os, const direction d) Foam::Ostream& Foam::operator<<(Ostream& os, const direction d)
{ {
os.write(int(d)); os.write(label(d));
os.check(FUNCTION_NAME); os.check(FUNCTION_NAME);
return os; return os;
} }

View File

@ -46,12 +46,6 @@ namespace Foam
{ {
typedef CollidingParcel<KinematicParcel<particle>> typedef CollidingParcel<KinematicParcel<particle>>
basicKinematicCollidingParcel; basicKinematicCollidingParcel;
template<>
inline bool contiguous<basicKinematicCollidingParcel>()
{
return true;
}
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //