diff --git a/common/WideHalo.cpp b/common/WideHalo.cpp index 78753d33..0a52bbd8 100644 --- a/common/WideHalo.cpp +++ b/common/WideHalo.cpp @@ -1,6 +1,7 @@ /* This class implements support for halo widths larger than 1 */ +#include "common/WideHalo.h" ScaLBLWideHalo_Communicator::ScaLBLWideHalo_Communicator(std::shared_ptr Dm, int width) { @@ -383,5 +384,5 @@ void ScaLBLWideHalo_Communicator::Recv(double *data){ } inline int getHaloBlock(){ -} + } diff --git a/common/WideHalo.h b/common/WideHalo.h index 11252426..ac9f8833 100644 --- a/common/WideHalo.h +++ b/common/WideHalo.h @@ -1,6 +1,9 @@ /* This class implements support for halo widths larger than 1 */ +#ifndef WideHalo_H +#define WideHalo_H +#include "common/Domain.h" class ScaLBLWideHalo_Communicator{ public: @@ -92,5 +95,5 @@ private: int *dvcRecvList_xyz,*dvcRecvList_Xyz,*dvcRecvList_xYz,*dvcRecvList_XYz; int *dvcRecvList_xyZ,*dvcRecvList_XyZ,*dvcRecvList_xYZ,*dvcRecvList_XYZ; //...................................................................................... - }; +#endif