|
|
|
interpolationLookUpTableI.HGo to the documentation of this file.00001 /*---------------------------------------------------------------------------*\ 00002 ========= | 00003 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox 00004 \\ / O peration | 00005 \\ / A nd | Copyright (C) 2008-2009 OpenCFD Ltd. 00006 \\/ M anipulation | 00007 ------------------------------------------------------------------------------- 00008 License 00009 This file is part of OpenFOAM. 00010 00011 OpenFOAM is free software; you can redistribute it and/or modify it 00012 under the terms of the GNU General Public License as published by the 00013 Free Software Foundation; either version 2 of the License, or (at your 00014 option) any later version. 00015 00016 OpenFOAM is distributed in the hope that it will be useful, but WITHOUT 00017 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00018 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 00019 for more details. 00020 00021 You should have received a copy of the GNU General Public License 00022 along with OpenFOAM; if not, write to the Free Software Foundation, 00023 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00024 00025 \*---------------------------------------------------------------------------*/ 00026 00027 template<class Type> 00028 inline Foam::label 00029 Foam::interpolationLookUpTable<Type>::findFieldIndex 00030 ( 00031 const word& fieldName 00032 ) const 00033 { 00034 return fieldIndices_[fieldName]; 00035 } 00036 00037 00038 template<class Type> 00039 inline const Foam::List<Foam::dictionary>& 00040 Foam::interpolationLookUpTable<Type>::output() const 00041 { 00042 return output_; 00043 } 00044 00045 00046 template<class Type> 00047 inline const Foam::List<Foam::dictionary>& 00048 Foam::interpolationLookUpTable<Type>::entries() const 00049 { 00050 return entries_; 00051 } 00052 00053 00054 template<class Type> 00055 inline const Foam::List<Foam::scalar>& 00056 Foam::interpolationLookUpTable<Type>::min() const 00057 { 00058 return min_; 00059 } 00060 00061 00062 template<class Type> 00063 inline const Foam::List<Foam::label>& 00064 Foam::interpolationLookUpTable<Type>::dim() const 00065 { 00066 return dim_; 00067 } 00068 00069 00070 template<class Type> 00071 inline const Foam::List<Foam::scalar>& 00072 Foam::interpolationLookUpTable<Type>::delta() const 00073 { 00074 return delta_; 00075 } 00076 00077 00078 template<class Type> 00079 inline const Foam::List<Foam::scalar>& 00080 Foam::interpolationLookUpTable<Type>::max() const 00081 { 00082 return max_; 00083 } 00084 00085 00086 template<class Type> 00087 inline Foam::word Foam::interpolationLookUpTable<Type>::tableName() const 00088 { 00089 return fileName_.name(); 00090 } 00091 00092 00093 // ************************************************************************* // |