Commit cd830047 authored by Kenneth Leiter's avatar Kenneth Leiter

ENH: Minor include changes to keep consistent style.

parent e058cc5b
......@@ -24,6 +24,7 @@ swig -v -c++ -python -o XdmfPython.cpp Xdmf.i
#include <XdmfInformation.hpp>
#include <XdmfItem.hpp>
#include <XdmfItemProperty.hpp>
#include <XdmfSharedPtr.hpp>
#include <XdmfSystemUtils.hpp>
#include <XdmfVisitor.hpp>
#include <XdmfWriter.hpp>
......
......@@ -22,6 +22,7 @@ swig -v -c++ -python -o XdmfCorePython.cpp XdmfCore.i
#include <XdmfInformation.hpp>
#include <XdmfItem.hpp>
#include <XdmfItemProperty.hpp>
#include <XdmfSharedPtr.hpp>
#include <XdmfSystemUtils.hpp>
#include <XdmfVersion.hpp>
#include <XdmfVisitor.hpp>
......
......@@ -31,7 +31,8 @@ public:
}
void
visit(XdmfArray & array, shared_ptr<Loki::BaseVisitor>)
visit(XdmfArray & array,
const shared_ptr<XdmfBaseVisitor>)
{
mCount += array.getSize();
}
......
......@@ -491,7 +491,7 @@ XdmfExodusReader::read(const std::string & fileName,
// Subtract all node ids by 1 since exodus indices start at 1
for(int j=0; j<num_nodes_in_set; ++j) {
setPointer[i]--;
setPointer[j]--;
}
toReturn->insert(set);
......
......@@ -29,8 +29,8 @@ class XdmfHeavyDataWriter;
class XdmfUnstructuredGrid;
// Includes
#include <boost/shared_ptr.hpp>
#include <string>
#include "XdmfSharedPtr.hpp"
/**
* @brief Reads an ExodusII file from disk into an Xdmf structure in
......
......@@ -28,8 +28,8 @@
class XdmfUnstructuredGrid;
// Includes
#include <boost/shared_ptr.hpp>
#include <string>
#include "XdmfSharedPtr.hpp"
/**
* @brief Writes an Xdmf structure in memory to an ExodusII file on
......
......@@ -621,4 +621,4 @@ int main(int argc, char* argv[])
std::cout << "Wrote: " << xmlFileName.str() << std::endl;
}
#endif //BUILD_EXE
#endif // BUILD_EXE
......@@ -31,8 +31,8 @@ class XdmfSet;
class XdmfUnstructuredGrid;
// Includes
#include <boost/shared_ptr.hpp>
#include <set>
#include "XdmfSharedPtr.hpp"
/**
* @brief XdmfPartitioner partitions an XdmfGrid using the metis
......
......@@ -30,7 +30,7 @@ class XdmfTopologyType;
class XdmfUnstructuredGrid;
// Includes
#include <boost/shared_ptr.hpp>
#include "XdmfSharedPtr.hpp"
/**
* @brief Converts an unstructured grid to different topology types.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment