Loading src/TNL/Meshes/Readers/NetgenReader.h +0 −7 Original line number Diff line number Diff line Loading @@ -278,13 +278,6 @@ public: return "short int"; } String getIdType() const { // not stored in the Netgen file return "int"; } protected: String fileName; int meshDimension, worldDimension; Loading src/TNL/Meshes/Readers/TNLReader.h +2 −10 Original line number Diff line number Diff line Loading @@ -39,7 +39,7 @@ public: // save parts necessary to determine the mesh type meshDimension = worldDimension = std::atoi( parsedMeshType[ 1 ].getString() ); realType = parsedMeshType[ 2 ]; globalIndexType = localIndexType = idType = parsedMeshType[ 4 ]; globalIndexType = localIndexType = parsedMeshType[ 4 ]; // populate entity types (not necessary for GridTypeResolver, but while we're at it...) if( meshDimension == 1 ) cellShape = VTK::EntityShape::Line; Loading Loading @@ -69,7 +69,6 @@ public: realType = parsedMeshConfig[ 3 ]; globalIndexType = parsedMeshConfig[ 4 ]; localIndexType = parsedMeshConfig[ 5 ]; idType = parsedMeshConfig[ 6 ]; if( topology == "MeshEdgeTopology" ) cellShape = VTK::EntityShape::Line; Loading Loading @@ -144,12 +143,6 @@ public: return localIndexType; } String getIdType() const { return idType; } protected: String fileName; String meshType; Loading @@ -159,7 +152,6 @@ protected: String realType; String globalIndexType; String localIndexType; String idType; void reset() { Loading @@ -167,7 +159,7 @@ protected: meshType = ""; meshDimension = worldDimension = 0; cellShape = VTK::EntityShape::Vertex; realType = localIndexType = globalIndexType = idType = ""; realType = localIndexType = globalIndexType = ""; } }; Loading src/TNL/Meshes/Readers/VTKReader.h +0 −7 Original line number Diff line number Diff line Loading @@ -336,13 +336,6 @@ public: return "short int"; } String getIdType() const { // not stored in the VTK file return "int"; } protected: // output of parseHeader std::string dataType; Loading src/TNL/Meshes/Readers/VTKReader_libvtk.h +0 −7 Original line number Diff line number Diff line Loading @@ -175,13 +175,6 @@ public: return "short int"; } String getIdType() const { // not stored in the VTK file return "int"; } protected: int worldDimension = 0; int meshDimension = 0; Loading src/TNL/Meshes/Readers/VTUReader.h +0 −7 Original line number Diff line number Diff line Loading @@ -522,13 +522,6 @@ public: return "short int"; } std::string getIdType() const { // not stored in the VTK file return getGlobalIndexType(); } protected: std::string fileName; Loading Loading
src/TNL/Meshes/Readers/NetgenReader.h +0 −7 Original line number Diff line number Diff line Loading @@ -278,13 +278,6 @@ public: return "short int"; } String getIdType() const { // not stored in the Netgen file return "int"; } protected: String fileName; int meshDimension, worldDimension; Loading
src/TNL/Meshes/Readers/TNLReader.h +2 −10 Original line number Diff line number Diff line Loading @@ -39,7 +39,7 @@ public: // save parts necessary to determine the mesh type meshDimension = worldDimension = std::atoi( parsedMeshType[ 1 ].getString() ); realType = parsedMeshType[ 2 ]; globalIndexType = localIndexType = idType = parsedMeshType[ 4 ]; globalIndexType = localIndexType = parsedMeshType[ 4 ]; // populate entity types (not necessary for GridTypeResolver, but while we're at it...) if( meshDimension == 1 ) cellShape = VTK::EntityShape::Line; Loading Loading @@ -69,7 +69,6 @@ public: realType = parsedMeshConfig[ 3 ]; globalIndexType = parsedMeshConfig[ 4 ]; localIndexType = parsedMeshConfig[ 5 ]; idType = parsedMeshConfig[ 6 ]; if( topology == "MeshEdgeTopology" ) cellShape = VTK::EntityShape::Line; Loading Loading @@ -144,12 +143,6 @@ public: return localIndexType; } String getIdType() const { return idType; } protected: String fileName; String meshType; Loading @@ -159,7 +152,6 @@ protected: String realType; String globalIndexType; String localIndexType; String idType; void reset() { Loading @@ -167,7 +159,7 @@ protected: meshType = ""; meshDimension = worldDimension = 0; cellShape = VTK::EntityShape::Vertex; realType = localIndexType = globalIndexType = idType = ""; realType = localIndexType = globalIndexType = ""; } }; Loading
src/TNL/Meshes/Readers/VTKReader.h +0 −7 Original line number Diff line number Diff line Loading @@ -336,13 +336,6 @@ public: return "short int"; } String getIdType() const { // not stored in the VTK file return "int"; } protected: // output of parseHeader std::string dataType; Loading
src/TNL/Meshes/Readers/VTKReader_libvtk.h +0 −7 Original line number Diff line number Diff line Loading @@ -175,13 +175,6 @@ public: return "short int"; } String getIdType() const { // not stored in the VTK file return "int"; } protected: int worldDimension = 0; int meshDimension = 0; Loading
src/TNL/Meshes/Readers/VTUReader.h +0 −7 Original line number Diff line number Diff line Loading @@ -522,13 +522,6 @@ public: return "short int"; } std::string getIdType() const { // not stored in the VTK file return getGlobalIndexType(); } protected: std::string fileName; Loading