OpenFOAM
dev
The OpenFOAM Foundation
loadOrCreateMesh.H
Go to the documentation of this file.
1
/*---------------------------------------------------------------------------*\
2
========= |
3
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4
\\ / O peration | Website: https://openfoam.org
5
\\ / A nd | Copyright (C) 2012-2018 OpenFOAM Foundation
6
\\/ M anipulation |
7
-------------------------------------------------------------------------------
8
License
9
This file is part of OpenFOAM.
10
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.
15
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.
20
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/>.
23
24
InNamespace
25
Foam
26
27
Description
28
Load or create (0 size) a mesh. Used in distributing meshes to a
29
larger number of processors
30
31
SourceFiles
32
loadOrCreateMesh.C
33
34
\*---------------------------------------------------------------------------*/
35
36
#ifndef loadOrCreateMesh_H
37
#define loadOrCreateMesh_H
38
39
#include "
fvMesh.H
"
40
41
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
42
43
namespace
Foam
44
{
45
46
//- Load (if it exists) or create zero cell mesh given an IOobject:
47
// name : regionName
48
// instance : exact directory where to find mesh (i.e. does not
49
// do a findInstance
50
autoPtr<fvMesh>
loadOrCreateMesh
(
const
IOobject
& io);
51
52
}
53
54
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
55
56
#endif
57
58
// ************************************************************************* //
Foam::IOobject
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
Definition:
IOobject.H:99
Foam::autoPtr
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Definition:
autoPtr.H:51
fvMesh.H
Foam
Namespace for OpenFOAM.
Definition:
atmBoundaryLayer.H:214
Foam::loadOrCreateMesh
autoPtr< fvMesh > loadOrCreateMesh(const IOobject &io)
Load (if it exists) or create zero cell mesh given an IOobject:
applications
utilities
parallelProcessing
redistributePar
loadOrCreateMesh.H
Generated by
1.9.1