Commit 5857c87f authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Cosmetic changes

parent 721bfb8e
Loading
Loading
Loading
Loading
+25 −22
Original line number Diff line number Diff line
@@ -37,24 +37,27 @@ class Mesh
      using StorageBaseType = MeshStorageLayers< MeshConfig >;

   public:
      using Config          = MeshConfig;
      using MeshTraitsType  = MeshTraits< MeshConfig >;
      using DeviceType      = typename MeshTraitsType::DeviceType;
      using GlobalIndexType = typename MeshTraitsType::GlobalIndexType;
      using LocalIndexType  = typename MeshTraitsType::LocalIndexType;
      using CellType        = typename MeshTraitsType::CellType;
      using VertexType      = typename MeshTraitsType::VertexType;
      using PointType       = typename MeshTraitsType::PointType;
      static constexpr int dimensions = MeshTraitsType::meshDimensions;

      typedef MeshConfig                                        Config;
      typedef MeshTraits< MeshConfig >                          MeshTraitsType;
      typedef typename MeshTraitsType::DeviceType               DeviceType;
      typedef typename MeshTraitsType::GlobalIndexType          GlobalIndexType;
      typedef typename MeshTraitsType::LocalIndexType           LocalIndexType;
      typedef typename MeshTraitsType::CellType                 CellType;
      typedef typename MeshTraitsType::VertexType               VertexType;
      typedef typename MeshTraitsType::PointType                PointType;
      static const int dimension = MeshTraitsType::meshDimension;
      template< int Dimension > using EntityTraits = typename MeshTraitsType::template EntityTraits< Dimension >;
      template< int Dimension > using EntityType = typename EntityTraits< Dimension >::EntityType;
      template< int Dimensions >
      using EntityTraits = typename MeshTraitsType::template EntityTraits< Dimensions >;

      template< int Dimensions >
      using EntityType = typename EntityTraits< Dimensions >::EntityType;

      static String getType();

      virtual String getTypeVirtual() const;

      static constexpr int getMeshDimension();
      static constexpr int getDimensions();

      template< int Dimensions >
      static constexpr bool entitiesAvailable();
@@ -72,8 +75,8 @@ class Mesh
      template< int Dimensions >
      EntityType< Dimensions >& getEntity( const GlobalIndexType entityIndex );

      template< int Dimension >
      const EntityType< Dimension >& getEntity( const GlobalIndexType entityIndex ) const;
      template< int Dimensions >
      const EntityType< Dimensions >& getEntity( const GlobalIndexType entityIndex ) const;

      bool save( File& file ) const;

+1 −1
Original line number Diff line number Diff line
@@ -66,7 +66,7 @@ getNumberOfEntities() const
template< typename MeshConfig >
typename Mesh< MeshConfig >::GlobalIndexType
Mesh< MeshConfig >::
template getNumberOfCells() const
getNumberOfCells() const
{
   return StorageBaseType::getNumberOfEntities( MeshDimensionsTag< dimensions >() );
}
+0 −2
Original line number Diff line number Diff line
@@ -68,8 +68,6 @@ class MeshEntityInitializer
   using InitializerType  = MeshInitializer< MeshConfig >;
   using SeedType         = MeshEntitySeed< MeshConfig, EntityTopology >;

   template< typename > class SubentitiesCreator;

public:
   static String getType() { return "MeshEntityInitializer"; };

+131 −133

File changed.

Preview size limit exceeded, changes collapsed.

+23 −24

File changed.

Preview size limit exceeded, changes collapsed.