From cbe181b40ccb693d78c8f80a468fa462dbd1535c Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 18 Jan 2011 10:49:35 +0000 Subject: [PATCH] untabify --- src/SMDS/Makefile.am | 3 ++- src/SMDS/SMDS_MeshEdge.cxx | 2 +- src/SMDS/SMDS_MeshEdge.hxx | 2 +- src/SMDS/SMDS_MeshIDFactory.cxx | 14 +++++++------- src/SMDS/SMDS_UnstructuredGrid.cxx | 10 +++++----- src/SMDS/SMDS_UnstructuredGrid.hxx | 4 ++-- 6 files changed, 18 insertions(+), 17 deletions(-) diff --git a/src/SMDS/Makefile.am b/src/SMDS/Makefile.am index c4dd2bf11..8f84e1cd6 100644 --- a/src/SMDS/Makefile.am +++ b/src/SMDS/Makefile.am @@ -73,7 +73,8 @@ salomeinclude_HEADERS = \ SMDS_MeshInfo.hxx \ SMDS_UnstructuredGrid.hxx \ SMDS_Downward.hxx \ - SMDS_StdIterator.hxx + SMDS_StdIterator.hxx \ + SMDS_IteratorOnIterators.hxx # Libraries targets diff --git a/src/SMDS/SMDS_MeshEdge.cxx b/src/SMDS/SMDS_MeshEdge.cxx index fc1e3c55a..dda1199bb 100644 --- a/src/SMDS/SMDS_MeshEdge.cxx +++ b/src/SMDS/SMDS_MeshEdge.cxx @@ -2,7 +2,7 @@ SMDSAbs_ElementType SMDS_MeshEdge::GetType() const { - return SMDSAbs_Edge; + return SMDSAbs_Edge; } vtkIdType SMDS_MeshEdge::GetVtkType() const diff --git a/src/SMDS/SMDS_MeshEdge.hxx b/src/SMDS/SMDS_MeshEdge.hxx index 3f5b089d6..fa266923b 100644 --- a/src/SMDS/SMDS_MeshEdge.hxx +++ b/src/SMDS/SMDS_MeshEdge.hxx @@ -33,7 +33,7 @@ class SMDS_EXPORT SMDS_MeshEdge:public SMDS_MeshCell { - + public: SMDSAbs_ElementType GetType() const; virtual vtkIdType GetVtkType() const; diff --git a/src/SMDS/SMDS_MeshIDFactory.cxx b/src/SMDS/SMDS_MeshIDFactory.cxx index f254c7003..a5dd391b4 100644 --- a/src/SMDS/SMDS_MeshIDFactory.cxx +++ b/src/SMDS/SMDS_MeshIDFactory.cxx @@ -91,24 +91,24 @@ void SMDS_MeshIDFactory::ReleaseID(int ID, int vtkId) void SMDS_MeshIDFactory::Clear() { - myMaxID = 0; - myPoolOfID.clear(); + myMaxID = 0; + myPoolOfID.clear(); } void SMDS_MeshIDFactory::SetMesh(SMDS_Mesh *mesh) { - myMesh = mesh; + myMesh = mesh; } SMDS_Mesh* SMDS_MeshIDFactory::GetMesh() { - return myMesh; + return myMesh; } void SMDS_MeshIDFactory::emptyPool(int maxId) { - MESSAGE("SMDS_MeshIDFactory::emptyPool " << myMaxID << " --> " << maxId); - myMaxID = maxId; - myPoolOfID.clear(); + MESSAGE("SMDS_MeshIDFactory::emptyPool " << myMaxID << " --> " << maxId); + myMaxID = maxId; + myPoolOfID.clear(); } diff --git a/src/SMDS/SMDS_UnstructuredGrid.cxx b/src/SMDS/SMDS_UnstructuredGrid.cxx index ec30d5b64..6ff8f517c 100644 --- a/src/SMDS/SMDS_UnstructuredGrid.cxx +++ b/src/SMDS/SMDS_UnstructuredGrid.cxx @@ -147,11 +147,11 @@ void SMDS_UnstructuredGrid::compactGrid(std::vector& idNodesOldToNew, int n } enumState; enumState compactState = lookHoleStart; - // if (this->Links) - // { - // this->Links->UnRegister(this); - // this->Links = 0; - // } + // if (this->Links) + // { + // this->Links->UnRegister(this); + // this->Links = 0; + // } // --- if newNodeSize, create a new compacted vtkPoints diff --git a/src/SMDS/SMDS_UnstructuredGrid.hxx b/src/SMDS/SMDS_UnstructuredGrid.hxx index f69012f02..017b8eae1 100644 --- a/src/SMDS/SMDS_UnstructuredGrid.hxx +++ b/src/SMDS/SMDS_UnstructuredGrid.hxx @@ -6,7 +6,7 @@ */ #ifndef _SMDS_UNSTRUCTUREDGRID_HXX -#define _SMDS_UNSTRUCTUREDGRID_HXX +#define _SMDS_UNSTRUCTUREDGRID_HXX #include #include @@ -89,5 +89,5 @@ protected: std::vector _downArray; }; -#endif /* _SMDS_UNSTRUCTUREDGRID_HXX */ +#endif /* _SMDS_UNSTRUCTUREDGRID_HXX */ -- 2.39.2