Loading examples/inviscid-flow/1d/EulerPressureGetter.h +1 −0 Original line number Diff line number Diff line Loading @@ -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; Loading examples/inviscid-flow/1d/EulerVelGetter.h +1 −0 Original line number Diff line number Diff line Loading @@ -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; Loading examples/inviscid-flow/1d/eulerRhs.h +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading examples/inviscid-flow/2d/EulerVelGetter.h +7 −3 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ #include <TNL/Containers/Vector.h> #include <TNL/Meshes/Grid.h> #include <TNL/Functions/Domain.h> namespace TNL { Loading @@ -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; Loading Loading @@ -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; Loading Loading @@ -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; Loading examples/inviscid-flow/2d/eulerRhs.h +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading Loading
examples/inviscid-flow/1d/EulerPressureGetter.h +1 −0 Original line number Diff line number Diff line Loading @@ -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; Loading
examples/inviscid-flow/1d/EulerVelGetter.h +1 −0 Original line number Diff line number Diff line Loading @@ -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; Loading
examples/inviscid-flow/1d/eulerRhs.h +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading
examples/inviscid-flow/2d/EulerVelGetter.h +7 −3 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ #include <TNL/Containers/Vector.h> #include <TNL/Meshes/Grid.h> #include <TNL/Functions/Domain.h> namespace TNL { Loading @@ -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; Loading Loading @@ -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; Loading Loading @@ -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; Loading
examples/inviscid-flow/2d/eulerRhs.h +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading