mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
- for boundary meshes, zones etc. The behaviour with an empty matcher was either not properly documented, and looped through all names just to establish there was no match. STYLE: removed redundant typedefs for point fields
90 lines
2.9 KiB
C++
90 lines
2.9 KiB
C++
/*---------------------------------------------------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration |
|
|
\\ / A nd | www.openfoam.com
|
|
\\/ M anipulation |
|
|
-------------------------------------------------------------------------------
|
|
Copyright (C) 2011 OpenFOAM Foundation
|
|
Copyright (C) 2018 OpenCFD Ltd.
|
|
-------------------------------------------------------------------------------
|
|
License
|
|
This file is part of OpenFOAM.
|
|
|
|
OpenFOAM is free software: you can redistribute it and/or modify it
|
|
under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
|
|
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
InClass
|
|
Foam::pointFields
|
|
|
|
Description
|
|
Forwards and collection of common point field types
|
|
|
|
SourceFiles
|
|
pointFields.C
|
|
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
#ifndef pointFieldsFwd_H
|
|
#define pointFieldsFwd_H
|
|
|
|
#include "fieldTypes.H"
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
namespace Foam
|
|
{
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
// Forward Declarations
|
|
class pointMesh;
|
|
|
|
template<class Type> class pointPatchField;
|
|
|
|
template<class Type, template<class> class PatchField, class GeoMesh>
|
|
class GeometricField;
|
|
|
|
// Typedefs
|
|
|
|
typedef GeometricField<scalar, pointPatchField, pointMesh> pointScalarField;
|
|
typedef GeometricField<vector, pointPatchField, pointMesh> pointVectorField;
|
|
typedef GeometricField<sphericalTensor, pointPatchField, pointMesh>
|
|
pointSphericalTensorField;
|
|
typedef GeometricField<symmTensor, pointPatchField, pointMesh>
|
|
pointSymmTensorField;
|
|
typedef GeometricField<tensor, pointPatchField, pointMesh> pointTensorField;
|
|
|
|
|
|
/*---------------------------------------------------------------------------*\
|
|
Namespace fieldTypes Declaration
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
namespace fieldTypes
|
|
{
|
|
//- Standard point field types (scalar, vector, tensor, etc)
|
|
extern const wordList point;
|
|
|
|
} // End namespace fieldTypes
|
|
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
} // End namespace Foam
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
#endif
|
|
|
|
// ************************************************************************* //
|