OpenFOAM logo
Open Source CFD Toolkit

faPatchField.H File Reference


Detailed Description

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

Go to the source code of this file.

Namespaces

namespace  Foam

Classes

class  faPatchField

Defines

#define makeFaPatchTypeFieldTypeName(typePatchTypeField)
#define makeFaPatchFieldsTypeName(typePatchField)
#define makeFaPatchTypeField(PatchTypeField, typePatchTypeField)
#define makeFaPatchFields(typePatchField)

Functions

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


Define Documentation

#define makeFaPatchFields typePatchField   ) 
 

Value:

\
makeFaPatchTypeField(faPatchScalarField, typePatchField##FaPatchScalarField); \
makeFaPatchTypeField(faPatchVectorField, typePatchField##FaPatchVectorField); \
makeFaPatchTypeField(faPatchTensorField, typePatchField##FaPatchTensorField);

Definition at line 526 of file faPatchField.H.

#define makeFaPatchFieldsTypeName typePatchField   ) 
 

Value:

\
makeFaPatchTypeFieldTypeName(typePatchField##FaPatchScalarField);          \
makeFaPatchTypeFieldTypeName(typePatchField##FaPatchVectorField);          \
makeFaPatchTypeFieldTypeName(typePatchField##FaPatchTensorField);

Definition at line 497 of file faPatchField.H.

#define makeFaPatchTypeField PatchTypeField,
typePatchTypeField   ) 
 

Value:

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

Definition at line 504 of file faPatchField.H.

#define makeFaPatchTypeFieldTypeName typePatchTypeField   ) 
 

Value:

\
defineNamedTemplateTypeNameAndDebug(typePatchTypeField, 0);

Definition at line 493 of file faPatchField.H.


Function Documentation

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

For further information go to www.openfoam.org