Commits

Garth Wells committed da7d6fb

Add include guards to parallel refinement code.

Guards were missing.

  • Participants
  • Parent commits 2d1a700

Comments (0)

Files changed (5)

File dolfin/refinement/ParallelRefinement.h

 // First Added: 2013-01-02
 // Last Changed: 2013-01-17
 
+#ifndef __PARALLEL_REFINEMENT_H
+#define __PARALLEL_REFINEMENT_H
+
 #include <unordered_map>
 #include <vector>
 
   };
 
 }
+
+#endif

File dolfin/refinement/ParallelRefinement2D.cpp

 // First Added: 2012-12-19
 // Last Changed: 2013-05-12
 
-#include <vector>
+
 #include <map>
-#include <boost/unordered_map.hpp>
+#include <unordered_map>
+#include <vector>
 #include <boost/multi_array.hpp>
 
 #include <dolfin/common/types.h>

File dolfin/refinement/ParallelRefinement2D.h

 // First Added: 2012-12-19
 // Last Changed: 2013-01-03
 
+#ifndef __PARALLEL_REFINEMENT2D_H
+#define __PARALLEL_REFINEMENT2D_H
+
+#include <utility>
+#include <vector>
+
 namespace dolfin
 {
   class Mesh;
+  template<typename T> class MeshFunction;
 
   class ParallelRefinement2D
   {
   };
 
 }
+
+#endif

File dolfin/refinement/ParallelRefinement3D.cpp

 // First Added: 2012-12-19
 // Last Changed: 2013-01-23
 
-#include <vector>
 #include <map>
-#include <boost/unordered_map.hpp>
+#include <unordered_map>
+#include <vector>
 #include <boost/multi_array.hpp>
 
 #include <dolfin/common/types.h>

File dolfin/refinement/ParallelRefinement3D.h

 // First Added: 2013-01-02
 // Last Changed: 2013-01-17
 
+#ifndef __PARALLEL_REFINEMENT3D_H
+#define __PARALLEL_REFINEMENT3D_H
+
+#include <utility>
+#include <vector>
 
 namespace dolfin
 {
-  class Mesh;
-  class Edge;
   class Cell;
+  class Edge;
+  class Mesh;
   class ParallelRefinement;
+  template<typename T> class MeshFunction;
 
   /// Simple class to perform uniform refinement in 3D in parallel
 
    };
 
 }
+
+#endif