ENH: patchCloud: return pTraits<Type>::max for unfound points
[OpenFOAM-1.7.x.git] / applications / utilities / parallelProcessing / reconstructPar / reconstructLagrangian.H
bloba4f3e322ba947b8ef12c63141af9a9c375cae5eb
1 /*---------------------------------------------------------------------------*\
2   =========                 |
3   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
4    \\    /   O peration     |
5     \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
6      \\/     M anipulation  |
7 -------------------------------------------------------------------------------
8 License
9     This file is part of OpenFOAM.
11     OpenFOAM is free software: you can redistribute it and/or modify it
12     under the terms of the GNU General Public License as published by
13     the Free Software Foundation, either version 3 of the License, or
14     (at your option) any later version.
16     OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18     FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
19     for more details.
21     You should have received a copy of the GNU General Public License
22     along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
24 InClass
25     Foam::reconstructLagrangian
27 Description
29 SourceFiles
30     reconstructLagrangianPositions.C
31     reconstructLagrangianFields.C
33 \*---------------------------------------------------------------------------*/
35 #ifndef reconstructLagrangian_H
36 #define reconstructLagrangian_H
38 #include "cloud.H"
39 #include "polyMesh.H"
40 #include "IOobjectList.H"
41 #include "fvMesh.H"
43 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
45 namespace Foam
48 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
50 void reconstructLagrangianPositions
52     const polyMesh& mesh,
53     const word& cloudName,
54     const PtrList<fvMesh>& meshes,
55     const PtrList<labelIOList>& faceProcAddressing,
56     const PtrList<labelIOList>& cellProcAddressing
60 template<class Type>
61 tmp<IOField<Type> > reconstructLagrangianField
63     const word& cloudName,
64     const polyMesh& mesh,
65     const PtrList<fvMesh>& meshes,
66     const word& fieldName
70 template<class Type>
71 void reconstructLagrangianFields
73     const word& cloudName,
74     const polyMesh& mesh,
75     const PtrList<fvMesh>& meshes,
76     const IOobjectList& objects
80 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
82 } // End namespace Foam
84 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
86 #ifdef NoRepository
87 #   include "reconstructLagrangianFields.C"
88 #endif
90 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
92 #endif
94 // ************************************************************************* //