diff --git a/src/implementation/functions/tnlExpBumpFunction_impl.h b/src/implementation/functions/tnlExpBumpFunction_impl.h index e9c4b3424aa072d1e2f11c64c1e02674c7806106..753762d0b8e9d197c96c4c1d10f7309a5f75d4e9 100644 --- a/src/implementation/functions/tnlExpBumpFunction_impl.h +++ b/src/implementation/functions/tnlExpBumpFunction_impl.h @@ -63,7 +63,7 @@ tnlExpBumpFunction< 1, Real >::tnlExpBumpFunction() template< typename Real > template< int XDiffOrder, int YDiffOrder, int ZDiffOrder > - Real tnlExpBumpFunction< 1, Real >::getF( const Vertex& v ) const + Real tnlExpBumpFunction< 1, Real >::getF( const VertexType& v ) const { const RealType& x = v.x(); if( YDiffOrder != 0 || ZDiffOrder != 0 ) @@ -90,7 +90,7 @@ template< typename Real > template< int XDiffOrder, int YDiffOrder, int ZDiffOrder > Real tnlExpBumpFunction< 2, Real >:: -getF( const Vertex& v ) const +getF( const VertexType& v ) const { const RealType& x = v.x(); const RealType& y = v.y(); @@ -118,11 +118,11 @@ tnlExpBumpFunction< 3, Real >::tnlExpBumpFunction() { } -template< typename Vertex, typename Device > +template< typename Real > template< int XDiffOrder, int YDiffOrder, int ZDiffOrder > Real tnlExpBumpFunction< 3, Real >:: -getF( const Vertex& v ) const +getF( const VertexType& v ) const { const RealType& x = v.x(); const RealType& y = v.y(); diff --git a/tools/src/tnl-init.h b/tools/src/tnl-init.h index 6efe4e65d9437aec3207c116ac6e51ab23e07de2..4d9ff48798d5ec3c8f2e83e3634cca02e9e1f5c9 100644 --- a/tools/src/tnl-init.h +++ b/tools/src/tnl-init.h @@ -176,7 +176,7 @@ bool resolveFunction( const tnlParameterContainer& parameters ) } if( functionName == "exp-bump" ) { - typedef tnlExpBumpFunction< MeshType::Dimensions, typename MeshType::VertexType, typename MeshType::DeviceType > FunctionType; + typedef tnlExpBumpFunction< MeshType::Dimensions, typename MeshType::RealType > FunctionType; return resolveDerivatives< MeshType, FunctionType >( parameters ); } cerr << "Unknown function " << functionName << "." << endl;