From 73cbbfe18c7f1b2d08824ff39fed59410c51f574 Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Tue, 25 Feb 2020 21:09:07 -0800 Subject: Includes: Clean Up (#743) - Use `""` for WarpX-local includes - Order: WarpX `""`, AMReX `<>`, other third party includes `<>` - Add dir prefixes for WarpX Add order to includes by including from `Source/` onward and keeping directory prefixes of non-local includes for clarity. --- Source/Python/WarpXWrappers.cpp | 11 ++++++----- Source/Python/WarpX_py.H | 3 ++- Source/Python/WarpX_py.cpp | 3 ++- 3 files changed, 10 insertions(+), 7 deletions(-) (limited to 'Source/Python') diff --git a/Source/Python/WarpXWrappers.cpp b/Source/Python/WarpXWrappers.cpp index 2bddd3b31..201af45c0 100644 --- a/Source/Python/WarpXWrappers.cpp +++ b/Source/Python/WarpXWrappers.cpp @@ -6,15 +6,16 @@ * * License: BSD-3-Clause-LBNL */ -#include -#include -#include -#include -#include +#include "WarpXWrappers.h" +#include "Particles/WarpXParticleContainer.H" +#include "WarpX.H" +#include "Utils/WarpXUtil.H" +#include "WarpX_py.H" #include #include + namespace { amrex::Real** getMultiFabPointers(const amrex::MultiFab& mf, int *num_boxes, int *ncomps, int *ngrow, int **shapes) diff --git a/Source/Python/WarpX_py.H b/Source/Python/WarpX_py.H index b6a813bfc..a40df9728 100644 --- a/Source/Python/WarpX_py.H +++ b/Source/Python/WarpX_py.H @@ -8,7 +8,8 @@ #ifndef WARPX_PY_H_ #define WARPX_PY_H_ -#include +#include "WarpXWrappers.h" + extern "C" { diff --git a/Source/Python/WarpX_py.cpp b/Source/Python/WarpX_py.cpp index 4ca06b644..f53bc007c 100644 --- a/Source/Python/WarpX_py.cpp +++ b/Source/Python/WarpX_py.cpp @@ -5,7 +5,8 @@ * * License: BSD-3-Clause-LBNL */ -#include +#include "WarpX_py.H" + extern "C" { -- cgit v1.2.3