Commit 804e3f9b authored by Vít Hanousek's avatar Vít Hanousek
Browse files

Fix Bug in DistributedGirdBase - wrong dimension was returned

parent 3c0cedcc
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -42,8 +42,6 @@ class DistributedMesh<Grid< 3, RealType, Device, Index >> : public DistributedGr
      typedef typename DistributedGrid_Base<3, RealType, Device, Index >::GridType GridType;
      typedef typename DistributedGrid_Base<3, RealType, Device, Index >::PointType PointType;
    
      static constexpr int getMeshDimension() { return 3; };    
    
      static void configSetup( Config::ConfigDescription& config );
      
      bool setup( const Config::ParameterContainer& parameters,
+1 −1
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@ class DistributedGrid_Base
      typedef typename GridType::PointType PointType;
      typedef Containers::StaticVector< dim, IndexType > CoordinatesType;

      static constexpr int getMeshDimension() { return 1; };    
      static constexpr int getMeshDimension() { return dim; };    

      DistributedGrid_Base();