OpenFOAM logo
Open Source CFD Toolkit

runTimeSelectionTables.H File Reference


Detailed Description

View runTimeSelectionTables.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

Definition in file runTimeSelectionTables.H.

Go to the source code of this file.

Namespaces

namespace  Foam

Defines

#define declareRunTimeSelectionTable(autoPtr, baseType, argNames, argList, parList)
#define defineRunTimeSelectionTableConstructor(baseType, argNames)
#define defineRunTimeSelectionTablePtr(baseType, argNames)
#define defineTemplateRunTimeSelectionTablePtr(baseType, argNames)
#define defineRunTimeSelectionTable(baseType, argNames)
#define defineTemplateRunTimeSelectionTable(baseType, argNames)


Define Documentation

#define declareRunTimeSelectionTable autoPtr,
baseType,
argNames,
argList,
parList   ) 
 

Definition at line 52 of file runTimeSelectionTables.H.

Referenced by multivariateSurfaceInterpolationScheme::fieldTable::add(), turbulenceModel::alpha(), polyPatch::initUpdateTopology(), and topoSetSource::toAction().

#define defineRunTimeSelectionTable baseType,
argNames   ) 
 

Value:

Definition at line 116 of file runTimeSelectionTables.H.

#define defineRunTimeSelectionTableConstructor baseType,
argNames   ) 
 

Value:

\
    /* Table Constructor called from the table add function */          \
    void baseType::construct##argNames##ConstructorTables()             \
    {                                                                   \
        static bool constructed = false;                                \
                                                                        \
        if (!constructed)                                               \
        {                                                               \
            baseType::argNames##ConstructorTablePtr_                    \
                = new baseType::argNames##ConstructorTable;             \
                                                                        \
            constructed = true;                                         \
        }                                                               \
    }

Definition at line 88 of file runTimeSelectionTables.H.

#define defineRunTimeSelectionTablePtr baseType,
argNames   ) 
 

Value:

\
    /* Define the constructor function table */                         \
    baseType::argNames##ConstructorTable*                               \
        baseType::argNames##ConstructorTablePtr_ = NULL

Definition at line 104 of file runTimeSelectionTables.H.

#define defineTemplateRunTimeSelectionTable baseType,
argNames   ) 
 

Value:

\
    template<>                                                          \
    defineRunTimeSelectionTablePtr(baseType,argNames);                  \
    template<>                                                          \
    defineRunTimeSelectionTableConstructor(baseType,argNames)

Definition at line 121 of file runTimeSelectionTables.H.

#define defineTemplateRunTimeSelectionTablePtr baseType,
argNames   ) 
 

Value:

\
    /* Define the constructor function table */                         \
    typename baseType::argNames##ConstructorTable*                      \
        baseType::argNames##ConstructorTablePtr_ = NULL

Definition at line 110 of file runTimeSelectionTables.H.

For further information go to www.openfoam.org