OpenFOAM logo
Open Source CFD Toolkit

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 makePatchFields type   ) 
 

Value:

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

Definition at line 540 of file fvPatchField.H.

#define makePatchFieldsTypeName type   ) 
 

Value:

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

Definition at line 510 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 518 of file fvPatchField.H.

#define makePatchTypeFieldTypedefs type   ) 
 

Value:

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

Definition at line 548 of file fvPatchField.H.

#define makePatchTypeFieldTypeName type   ) 
 

Value:

Definition at line 506 of file fvPatchField.H.


Function Documentation

Ostream& operator<< Ostream &  ,
const fvPatchField< Type > & 
 

For further information go to www.openfoam.org