Commit f24162a9 authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Removing the constant function specialization from the function adapter.

It does not work and it needs to be fixed soon.
parent 8a767fac
Loading
Loading
Loading
Loading
+1 −36
Original line number Diff line number Diff line

# /
/build
/missing
/Makefile.in
/ltmain.sh
/install-sh
/depcomp
/configure
/config.*
/aclocal.m4
/m4
/autom4te.cache
/Debug
/Release
.settings
nbproject/

.settings

# /src/
/src/Makefile.in

# /src/core/
/src/core/Makefile.in

# /src/debug/
/src/debug/Makefile.in

# /src/diff/
/src/diff/Makefile.in

# /src/matrix/
/src/matrix/*.in

# /tools/
/tools/Makefile.in

# /tools/share/
/tools/share/Makefile.in

# /tools/src/
/tools/src/Makefile.in
/Testing
/CMakeLists.txt.user
+3 −2
Original line number Diff line number Diff line
@@ -221,11 +221,12 @@ class tnlFunctionAdapter< tnlGrid< Dimensions, Real, Device, Index >, Function,
      }
};

// TODO: Fix the specializations for the constant function.
#ifdef UNDEF
/****
 * Specialization for constant function
 *  - it does not ask the mesh for the mesh entity center
 */

template< typename Mesh,
          int FunctionDimensions,
          typename Real >
@@ -288,6 +289,6 @@ class tnlFunctionAdapter< tnlGrid< Dimensions, Real, Device, Index >,
      }
};


#endif /* UNDEF */

#endif /* TNLFUNCTIONADAPTER_H_ */