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

fvsPatchField.H File Reference


Detailed Description

View fvsPatchField.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
fvsPatchField<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 fvsPatchField.H.

Go to the source code of this file.


Namespaces

namespace  Foam

Classes

class  fvsPatchField

Defines

#define makeFvsPatchTypeFieldTypeName(type)
#define makeFvsPatchFieldsTypeName(type)
#define makeFvsPatchTypeField(PatchTypeField, typePatchTypeField)
#define makeFvsPatchFields(type)
#define makeFvsPatchTypeFieldTypedefs(type)

Functions

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

Define Documentation

#define makeFvsPatchTypeFieldTypeName ( type   ) 

Value:

Definition at line 386 of file fvsPatchField.H.

#define makeFvsPatchFieldsTypeName ( type   ) 

Value:

\
makeFvsPatchTypeFieldTypeName(type##FvsPatchScalarField);                  \
makeFvsPatchTypeFieldTypeName(type##FvsPatchVectorField);                  \
makeFvsPatchTypeFieldTypeName(type##FvsPatchSphericalTensorField);         \
makeFvsPatchTypeFieldTypeName(type##FvsPatchSymmTensorField);              \
makeFvsPatchTypeFieldTypeName(type##FvsPatchTensorField);

Definition at line 390 of file fvsPatchField.H.

#define makeFvsPatchTypeField ( PatchTypeField,
typePatchTypeField   ) 

Value:

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

Definition at line 398 of file fvsPatchField.H.

#define makeFvsPatchFields ( type   ) 

Value:

\
makeFvsPatchTypeField(fvsPatchScalarField, type##FvsPatchScalarField);     \
makeFvsPatchTypeField(fvsPatchVectorField, type##FvsPatchVectorField);     \
makeFvsPatchTypeField                                                      \
(                                                                          \
    fvsPatchSphericalTensorField,                                          \
    type##FvsPatchSphericalTensorField                                     \
);                                                                         \
makeFvsPatchTypeField(fvsPatchSymmTensorField, type##FvsPatchSymmTensorField); \
makeFvsPatchTypeField(fvsPatchTensorField, type##FvsPatchTensorField);

Definition at line 420 of file fvsPatchField.H.

#define makeFvsPatchTypeFieldTypedefs ( type   ) 

Value:

\
typedef type##FvsPatchField<scalar> type##FvsPatchScalarField;             \
typedef type##FvsPatchField<vector> type##FvsPatchVectorField;             \
typedef type##FvsPatchField<sphericalTensor>                               \
    type##FvsPatchSphericalTensorField;                                    \
typedef type##FvsPatchField<symmTensor> type##FvsPatchSymmTensorField;     \
typedef type##FvsPatchField<tensor> type##FvsPatchTensorField;

Definition at line 433 of file fvsPatchField.H.

Copyright © 2000-2007 OpenCFD Ltd