diff --git a/source/adios2/ADIOS.cpp b/source/adios2/ADIOS.cpp index 15676f532bc4be63476049daf0b816bb0ac68b11..3a5b4bf6f76b30867da2663a765f06cb04e21e20 100644 --- a/source/adios2/ADIOS.cpp +++ b/source/adios2/ADIOS.cpp @@ -8,6 +8,8 @@ * Author: William F Godoy */ +#include <adios_read_v2.h> + #include "ADIOS.h" #include "ADIOS.tcc" diff --git a/source/adios2/core/Selection.h b/source/adios2/core/Selection.h index 17091c91d8356dc33dcbe793a459d18309e8dcde..b5e7e01280f8f4971c4391a78473e568193561c9 100644 --- a/source/adios2/core/Selection.h +++ b/source/adios2/core/Selection.h @@ -30,8 +30,9 @@ * the application does not need to retrieve the selection to work on the read * data. */ -#ifndef __ADIOS_SELECTION_H__ -#define __ADIOS_SELECTION_H__ + +#ifndef ADIOS2_CORE_SELECTION_H_ +#define ADIOS2_CORE_SELECTION_H_ #include "adios2/ADIOSConfig.h" @@ -64,4 +65,4 @@ public: } // namespace adios -#endif /*__ADIOS_SELECTION_H__*/ +#endif /* ADIOS2_CORE_SELECTION_H_ */ diff --git a/source/adios2/core/SelectionBoundingBox.h b/source/adios2/core/SelectionBoundingBox.h index 4e0f2fdcf2f1621647c38f0d3491e9018268293a..6e8cdd1cc0547a0537f02499d745d7820f4cfdf9 100644 --- a/source/adios2/core/SelectionBoundingBox.h +++ b/source/adios2/core/SelectionBoundingBox.h @@ -3,12 +3,10 @@ * accompanying file Copyright.txt for details. */ -#ifndef __ADIOS_SELECTION_BOUNDINGBOX_H__ -#define __ADIOS_SELECTION_BOUNDINGBOX_H__ +#ifndef ADIOS2_CORE_SELECTIONBOUNDINGBOX_H_ +#define ADIOS2_CORE_SELECTIONBOUNDINGBOX_H_ -/// \cond EXCLUDE_FROM_DOXYGEN #include <cstdint> -/// \endcond #include <vector> @@ -31,12 +29,10 @@ public: { } - ~SelectionBoundingBox() = default; - std::vector<std::uint64_t> m_Start; std::vector<std::uint64_t> m_Count; }; } // namespace adios -#endif /*__ADIOS_SELECTION_BOUNDINGBOX_H__*/ +#endif /* ADIOS2_CORE_SELECTIONBOUNDINGBOX_H_ */ diff --git a/source/adios2/core/SelectionPoints.h b/source/adios2/core/SelectionPoints.h index 463c4d9ce5e8c5726dd3bfb19b67268422ca1fef..75dfec84d9054766971b70120d3fdb83afa87fa4 100644 --- a/source/adios2/core/SelectionPoints.h +++ b/source/adios2/core/SelectionPoints.h @@ -3,8 +3,8 @@ * accompanying file Copyright.txt for details. */ -#ifndef __ADIOS_SELECTION_POINTS_H__ -#define __ADIOS_SELECTION_POINTS_H__ +#ifndef ADIOS2_CORE_SELECTIONPOINTS_H_ +#define ADIOS2_CORE_SELECTIONPOINTS_H_ /// \cond EXCLUDE_FROM_DOXYGEN #include <cstdint> @@ -54,4 +54,4 @@ public: } // namespace adios -#endif /*__ADIOS_SELECTION_POINTS_H__*/ +#endif /* ADIOS2_CORE_SELECTIONPOINTS_H_ */ diff --git a/source/adios2/engine/adios1/ADIOS1Reader.h b/source/adios2/engine/adios1/ADIOS1Reader.h index 584ddf778d69e55e993ded28f85818032a14bead..f85025f1f70549602eac28ac217ebb78c94ec3be 100644 --- a/source/adios2/engine/adios1/ADIOS1Reader.h +++ b/source/adios2/engine/adios1/ADIOS1Reader.h @@ -15,12 +15,12 @@ #include <iostream> //this must go away +#include <adios_read_v2.h> + #include "adios2/ADIOSConfig.h" #include "adios2/capsule/heap/STLVector.h" #include "adios2/core/Engine.h" -#include <adios_read_v2.h> - namespace adios { diff --git a/source/adios2/engine/adios1/ADIOS1Writer.h b/source/adios2/engine/adios1/ADIOS1Writer.h index 759a5d102a954e278c8be981f689b66580512949..3e0d6b68ea5277d650b092470db95bc0a42086d9 100644 --- a/source/adios2/engine/adios1/ADIOS1Writer.h +++ b/source/adios2/engine/adios1/ADIOS1Writer.h @@ -13,14 +13,14 @@ #ifndef ADIOS1WRITER_H_ #define ADIOS1WRITER_H_ +#include <adios.h> + #include "adios2/ADIOSConfig.h" #include "adios2/core/Engine.h" namespace adios { -#include <adios.h> // this is adios 1.x header file - class ADIOS1Writer : public Engine { diff --git a/source/adios2/mpidummy.h b/source/adios2/mpidummy.h index 3025f38ef4f14da2e97e5eda4185ff3b04a355e1..ed2b120584d2a334de31a43edfe6811cbce58dbb 100644 --- a/source/adios2/mpidummy.h +++ b/source/adios2/mpidummy.h @@ -3,8 +3,8 @@ * accompanying file Copyright.txt for details. */ -#ifndef __MPI_DUMMY_H__ -#define __MPI_DUMMY_H__ +#ifndef ADIOS2_MPIDUMMY_H_ +#define ADIOS2_MPIDUMMY_H_ /* A dummy MPI 'implementation' for the BP READ API, to have an MPI-free version @@ -119,6 +119,6 @@ int MPI_Get_processor_name(char *name, int *resultlen); double MPI_Wtime(); -} // end namespace +} // end namespace adios -#endif +#endif /* ADIOS2_MPIDUMMY_H_ */