From d9974de958e701240d16db59c2f3e19eec93769e Mon Sep 17 00:00:00 2001 From: mattijs <mattijs> Date: Wed, 8 Jan 2014 21:01:04 +0000 Subject: [PATCH] ENH: fvMeshDistribute: use generic IOstream --- src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.C | 6 +++--- src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.H | 8 ++++---- .../fvMeshDistribute/fvMeshDistributeTemplates.C | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.C b/src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.C index 61cc9986a8f..31619469d10 100644 --- a/src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.C +++ b/src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -1058,7 +1058,7 @@ void Foam::fvMeshDistribute::sendMesh const labelList& sourceProc, const labelList& sourcePatch, const labelList& sourceNewNbrProc, - UOPstream& toDomain + Ostream& toDomain ) { if (debug) @@ -1217,7 +1217,7 @@ Foam::autoPtr<Foam::fvMesh> Foam::fvMeshDistribute::receiveMesh labelList& domainSourceProc, labelList& domainSourcePatch, labelList& domainSourceNewNbrProc, - UIPstream& fromNbr + Istream& fromNbr ) { pointField domainPoints(fromNbr); diff --git a/src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.H b/src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.H index 4b2080fbf98..a469d99d13e 100644 --- a/src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.H +++ b/src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -255,7 +255,7 @@ class fvMeshDistribute const labelList& sourceProc, const labelList& sourcePatch, const labelList& sourceNewProc, - UOPstream& toDomain + Ostream& toDomain ); //- Send subset of fields template<class GeoField> @@ -264,7 +264,7 @@ class fvMeshDistribute const label domain, const wordList& fieldNames, const fvMeshSubset&, - UOPstream& toNbr + Ostream& toNbr ); //- Receive mesh. Opposite of sendMesh @@ -279,7 +279,7 @@ class fvMeshDistribute labelList& domainSourceProc, labelList& domainSourcePatch, labelList& domainSourceNewProc, - UIPstream& fromNbr + Istream& fromNbr ); //- Receive fields. Opposite of sendFields diff --git a/src/dynamicMesh/fvMeshDistribute/fvMeshDistributeTemplates.C b/src/dynamicMesh/fvMeshDistribute/fvMeshDistributeTemplates.C index fbc436ba410..c97df63b4ab 100644 --- a/src/dynamicMesh/fvMeshDistribute/fvMeshDistributeTemplates.C +++ b/src/dynamicMesh/fvMeshDistribute/fvMeshDistributeTemplates.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -216,7 +216,7 @@ void Foam::fvMeshDistribute::sendFields const label domain, const wordList& fieldNames, const fvMeshSubset& subsetter, - UOPstream& toNbr + Ostream& toNbr ) { toNbr << GeoField::typeName << token::NL << token::BEGIN_BLOCK << token::NL; -- GitLab