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

fvPatchField.H File Reference


Detailed Description

View fvPatchField.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
fvPatchField<Type> abstract base class.  This class gives a fat-interface
to all derived classes covering all possible ways in which they might be
used.  The first level of derivation is to basic patchFields which cover
zero-gradient, fixed-gradient, fixed-value and mixed conditions.  The next
level of derivation covers all the specialised typed with specific
evaluation proceedures, particularly with respect to specific fields.

Source files

Definition in file fvPatchField.H.

Go to the source code of this file.


Namespaces

namespace  Foam

Classes

class  fvPatchField

Defines

#define makePatchTypeFieldTypeName(type)
#define makePatchFieldsTypeName(type)
#define makePatchTypeField(PatchTypeField, typePatchTypeField)
#define makePatchFields(type)
#define makePatchTypeFieldTypedefs(type)

Functions

template<class Type>
Ostream & operator<< (Ostream &, const fvPatchField< Type > &)

Define Documentation

#define makePatchTypeFieldTypeName ( type   ) 

Value:

Definition at line 482 of file fvPatchField.H.

#define makePatchFieldsTypeName ( type   ) 

Value:

\
makePatchTypeFieldTypeName(type##FvPatchScalarField);                      \
makePatchTypeFieldTypeName(type##FvPatchVectorField);                      \
makePatchTypeFieldTypeName(type##FvPatchSphericalTensorField);             \
makePatchTypeFieldTypeName(type##FvPatchSymmTensorField);                  \
makePatchTypeFieldTypeName(type##FvPatchTensorField);

Definition at line 486 of file fvPatchField.H.

#define makePatchTypeField ( PatchTypeField,
typePatchTypeField   ) 

Value:

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

Definition at line 494 of file fvPatchField.H.

#define makePatchFields ( type   ) 

Value:

\
makePatchTypeField(fvPatchScalarField, type##FvPatchScalarField);          \
makePatchTypeField(fvPatchVectorField, type##FvPatchVectorField);          \
makePatchTypeField                                                         \
(                                                                          \
    fvPatchSphericalTensorField,                                           \
    type##FvPatchSphericalTensorField                                      \
);                                                                         \
makePatchTypeField(fvPatchSymmTensorField, type##FvPatchSymmTensorField);  \
makePatchTypeField(fvPatchTensorField, type##FvPatchTensorField);

Definition at line 516 of file fvPatchField.H.

#define makePatchTypeFieldTypedefs ( type   ) 

Value:

\
typedef type##FvPatchField<scalar> type##FvPatchScalarField;               \
typedef type##FvPatchField<vector> type##FvPatchVectorField;               \
typedef type##FvPatchField<sphericalTensor>                                \
    type##FvPatchSphericalTensorField;                                     \
typedef type##FvPatchField<symmTensor> type##FvPatchSymmTensorField;       \
typedef type##FvPatchField<tensor> type##FvPatchTensorField;

Definition at line 529 of file fvPatchField.H.

Copyright © 2000-2007 OpenCFD Ltd