vtf-logo

interp_extrap.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00008 #if !defined(__numerical_grid_interp_extrap_interp_extrap_h__)
00009 #define __numerical_grid_interp_extrap_interp_extrap_h__
00010 
00011 #include "../defs.h"
00012 
00013 #include "../../ads/array/Array.h"
00014 #include "../../geom/grid/RegularGrid.h"
00015 
00016 BEGIN_NAMESPACE_NUMERICAL
00017 
00019 
00156 template<int N, int M, typename T>
00157 void
00158 grid_interp_extrap(const int num_points, 
00159                    T values[],
00160                    const T positions[],
00161                    const T default_values[M],
00162                    const int extents[N],
00163                    const T domain[2 * N],
00164                    const T* distance,
00165                    const T* fields[M]);
00166 
00167 
00169 
00251 template<int N, int M, typename T>
00252 void
00253 grid_interp_extrap(const int num_points, 
00254                    T values[],
00255                    const T positions[],
00256                    const T default_values[M],
00257                    const int extents[N],
00258                    const T domain[2 * N],
00259                    const T* distance,
00260                    const T* fields);
00261 
00262 END_NAMESPACE_NUMERICAL
00263 
00264 #define __numerical_interp_extrap_ipp__
00265 #include "interp_extrap.ipp"
00266 #undef __numerical_interp_extrap_ipp__
00267 
00268 #endif

Generated on Fri Aug 24 12:56:05 2007 for Numerical Algorithms Package by  doxygen 1.4.7