OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

pointPatchField.H File Reference


Detailed Description

View pointPatchField.H
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 2 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, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Description
Abstract base class for point-mesh patch fields.

The base-field does not store values as they are part of the 
"internal field".  There are derived classes to store constraint values
e.g. fixedValuePointPatchField derived from the generic
valuePointPatchField which ensures the values in the "internal field"
are reset to the fixed-values by applying the stored values.

Source files

Definition in file pointPatchField.H.

Go to the source code of this file.


Namespaces

namespace  Foam

Classes

class  pointPatchField

Defines

#define makePointPatchTypeFieldTypeName(type)
#define makePointPatchFieldsTypeName(type)
#define makePointPatchTypeField(PatchTypeField, typePatchTypeField)
#define makePointPatchFields(type)
#define makePointPatchFieldTypedefs(type)

Functions

template<class Type>
Ostream & operator<< (Ostream &, const pointPatchField< Type > &)
template<class Type>
const pointPatchField< Type > & operator+ (const pointPatchField< Type > &ppf, const Type &)

Define Documentation

#define makePointPatchTypeFieldTypeName ( type   ) 

Value:

Definition at line 461 of file pointPatchField.H.

#define makePointPatchFieldsTypeName ( type   ) 

Value:

\
makePointPatchTypeFieldTypeName(type##PointPatchScalarField);                 \
makePointPatchTypeFieldTypeName(type##PointPatchVectorField);                 \
makePointPatchTypeFieldTypeName(type##PointPatchSphericalTensorField);        \
makePointPatchTypeFieldTypeName(type##PointPatchSymmTensorField);             \
makePointPatchTypeFieldTypeName(type##PointPatchTensorField);

Definition at line 465 of file pointPatchField.H.

#define makePointPatchTypeField ( PatchTypeField,
typePatchTypeField   ) 

Value:

\
defineNamedTemplateTypeNameAndDebug(typePatchTypeField, 0);                   \
                                                                              \
addToRunTimeSelectionTable                                                    \
(                                                                             \
    PatchTypeField, typePatchTypeField, pointPatch                            \
);                                                                            \
                                                                              \
addToRunTimeSelectionTable                                                    \
(                                                                             \
    PatchTypeField,                                                           \
    typePatchTypeField,                                                       \
    patchMapper                                                               \
);                                                                            \
                                                                              \
addToRunTimeSelectionTable                                                    \
(                                                                             \
    PatchTypeField, typePatchTypeField, dictionary                            \
);

Definition at line 473 of file pointPatchField.H.

#define makePointPatchFields ( type   ) 

Value:

\
makePointPatchTypeField                                                       \
(                                                                             \
    pointPatchScalarField,                                                    \
    type##PointPatchScalarField                                               \
);                                                                            \
                                                                              \
makePointPatchTypeField                                                       \
(                                                                             \
    pointPatchVectorField,                                                    \
    type##PointPatchVectorField                                               \
);                                                                            \
                                                                              \
makePointPatchTypeField                                                       \
(                                                                             \
    pointPatchSphericalTensorField,                                           \
    type##PointPatchSphericalTensorField                                      \
);                                                                            \
                                                                              \
makePointPatchTypeField                                                       \
(                                                                             \
    pointPatchSymmTensorField,                                                \
    type##PointPatchSymmTensorField                                           \
);                                                                            \
                                                                              \
makePointPatchTypeField                                                       \
(                                                                             \
    pointPatchTensorField,                                                    \
    type##PointPatchTensorField                                               \
);

Definition at line 495 of file pointPatchField.H.

#define makePointPatchFieldTypedefs ( type   ) 

Value:

\
typedef type##PointPatchField<scalar> type##PointPatchScalarField;            \
typedef type##PointPatchField<vector> type##PointPatchVectorField;            \
typedef type##PointPatchField<sphericalTensor>                                \
    type##PointPatchSphericalTensorField;                                     \
typedef type##PointPatchField<symmTensor> type##PointPatchSymmTensorField;    \
typedef type##PointPatchField<tensor> type##PointPatchTensorField;

Definition at line 528 of file pointPatchField.H.

Copyright © 2000-2007 OpenCFD Ltd