Commit 7c90af90 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Fixed compilation of examples/inviscid-flow

parent 74c58216
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@ class EulerPressureGetter
   public:
      
      typedef Mesh MeshType;
      typedef typename MeshType::DeviceType DeviceType;
      typedef Real RealType;
      typedef Index IndexType;
      typedef Functions::MeshFunction< MeshType > MeshFunctionType;
+1 −0
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@ class EulerVelGetter
   public:
      
      typedef Mesh MeshType;
      typedef typename MeshType::DeviceType DeviceType;
      typedef Real RealType;
      typedef Index IndexType;
      typedef Functions::MeshFunction< MeshType > MeshFunctionType;
+1 −1
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ template< typename Mesh, typename Real >class eulerRhs
         typedef typename MeshEntity::MeshType::VertexType VertexType;
         VertexType v = entity.getCenter();
         return 0.0;
      };
      }
};

} //namespace TNL
+7 −3
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@

#include <TNL/Containers/Vector.h>
#include <TNL/Meshes/Grid.h>
#include <TNL/Functions/Domain.h>

namespace TNL {

@@ -19,6 +20,7 @@ template< typename MeshReal,
          typename Real,
          typename Index >
class EulerVelGetter< Meshes::Grid< 1, MeshReal, Device, MeshIndex >, Real, Index >
    : public TNL::Functions::Domain< 1, TNL::Functions::MeshDomain >
{
   public:
      typedef Meshes::Grid< 1, MeshReal, Device, MeshIndex > MeshType;
@@ -73,6 +75,7 @@ template< typename MeshReal,
          typename Real,
          typename Index >
class EulerVelGetter< Meshes::Grid< 2, MeshReal, Device, MeshIndex >, Real, Index >
    : public TNL::Functions::Domain< 2, TNL::Functions::MeshDomain >
{
   public:
      typedef Meshes::Grid< 2, MeshReal, Device, MeshIndex > MeshType;
@@ -127,6 +130,7 @@ template< typename MeshReal,
          typename Real,
          typename Index >
class EulerVelGetter< Meshes::Grid< 3, MeshReal, Device, MeshIndex >, Real, Index >
    : public TNL::Functions::Domain< 3, TNL::Functions::MeshDomain >
{
   public:
      typedef Meshes::Grid< 3, MeshReal, Device, MeshIndex > MeshType;
+1 −1
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ template< typename Mesh, typename Real >class eulerRhs
         typedef typename MeshEntity::MeshType::VertexType VertexType;
         VertexType v = entity.getCenter();
         return 0.0;
      };
      }
};

} //namespace TNL