diff --git a/MeshLib/IO/MPI_IO/NodePartitionedMeshReader.cpp b/MeshLib/IO/MPI_IO/NodePartitionedMeshReader.cpp index 81cc3a5d745a7e1b62053b475dbe6735af491446..785714776aba55ace772c3ae027c5abe27e8ff29 100644 --- a/MeshLib/IO/MPI_IO/NodePartitionedMeshReader.cpp +++ b/MeshLib/IO/MPI_IO/NodePartitionedMeshReader.cpp @@ -199,11 +199,12 @@ MeshLib::Properties NodePartitionedMeshReader::readPropertiesBinary( const std::string& file_name_base) const { MeshLib::Properties p; - readNodePropertiesBinary(file_name_base, MeshLib::MeshItemType::Node, p); + readPropertiesBinary(file_name_base, MeshLib::MeshItemType::Node, p); + readPropertiesBinary(file_name_base, MeshLib::MeshItemType::Cell, p); return p; } -void NodePartitionedMeshReader::readNodePropertiesBinary( +void NodePartitionedMeshReader::readPropertiesBinary( const std::string& file_name_base, MeshLib::MeshItemType t, MeshLib::Properties& p) const { diff --git a/MeshLib/IO/MPI_IO/NodePartitionedMeshReader.h b/MeshLib/IO/MPI_IO/NodePartitionedMeshReader.h index 221b19309d4e98416f7762a771ca293f35fe2322..9b1288ed20b1a1fb42bf0462b90aab67e5d5b105 100644 --- a/MeshLib/IO/MPI_IO/NodePartitionedMeshReader.h +++ b/MeshLib/IO/MPI_IO/NodePartitionedMeshReader.h @@ -168,9 +168,9 @@ private: MeshLib::Properties readPropertiesBinary( const std::string& file_name_base) const; - void readNodePropertiesBinary(const std::string& file_name_base, - MeshLib::MeshItemType t, - MeshLib::Properties& p) const; + void readPropertiesBinary(const std::string& file_name_base, + MeshLib::MeshItemType t, + MeshLib::Properties& p) const; void readDomainSpecificPartOfPropertyVectors( std::vector<boost::optional<MeshLib::IO::PropertyVectorMetaData>> const&