From 300b33263f88a205f78e256bb0bb1ae3036929a5 Mon Sep 17 00:00:00 2001 From: SONOLET Aymeric Date: Tue, 16 Apr 2024 22:53:03 +0200 Subject: [PATCH] fix: add missing vector header --- src/ParaMEDMEM/ElementLocator.hxx | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/src/ParaMEDMEM/ElementLocator.hxx b/src/ParaMEDMEM/ElementLocator.hxx index 178da406f..0ef39fc62 100644 --- a/src/ParaMEDMEM/ElementLocator.hxx +++ b/src/ParaMEDMEM/ElementLocator.hxx @@ -20,13 +20,15 @@ #ifndef __ELEMENTLOCATOR_HXX__ #define __ELEMENTLOCATOR_HXX__ +#include + +#include +#include + #include "InterpolationOptions.hxx" #include "MCType.hxx" #include "MEDCouplingNatureOfFieldEnum" -#include -#include - namespace MEDCoupling { class ParaFIELD; @@ -48,7 +50,10 @@ namespace MEDCoupling MEDCouplingPointSet*& target_mesh, mcIdType*& distant_ids); void exchangeMethod(const std::string& sourceMeth, int idistantrank, std::string& targetMeth); - const std::vector& getDistantProcIds() const { return _distant_proc_ids; } + const std::vector &getDistantProcIds() const + { + return _distant_proc_ids; + } const MPI_Comm *getCommunicator() const; NatureOfField getLocalNature() const; //! This method is used to informed if there is -1D mesh on distant_group side or on local_group side. @@ -88,8 +93,8 @@ namespace MEDCoupling int _local_cell_mesh_space_dim; bool _is_m1d_corr; MEDCouplingPointSet* _local_face_mesh; - std::vector _distant_cell_meshes; - std::vector _distant_face_meshes; + std::vector _distant_cell_meshes; + std::vector _distant_face_meshes; double* _domain_bounding_boxes; const ProcessorGroup& _distant_group; const ProcessorGroup& _local_group; @@ -98,10 +103,11 @@ namespace MEDCoupling const MPI_Comm *_comm; //Attributes only used by lazy side std::vector _values_added; - std::vector< std::vector > _ids_per_working_proc; - std::vector< std::vector > _ids_per_working_proc3; - std::vector< std::vector > _values_per_working_proc; - public: + std::vector > _ids_per_working_proc; + std::vector > _ids_per_working_proc3; + std::vector > _values_per_working_proc; + + public: static const int CUMULATIVE_POLICY=3; static const int NO_POST_TREATMENT_POLICY=7; }; -- 2.39.2