diff --git a/src/lagrangian/cfdemParticle/subModels/dataExchangeModel/twoWayOne2One/twoWayOne2One.C b/src/lagrangian/cfdemParticle/subModels/dataExchangeModel/twoWayOne2One/twoWayOne2One.C index 66cae69a..1e8c2197 100644 --- a/src/lagrangian/cfdemParticle/subModels/dataExchangeModel/twoWayOne2One/twoWayOne2One.C +++ b/src/lagrangian/cfdemParticle/subModels/dataExchangeModel/twoWayOne2One/twoWayOne2One.C @@ -142,7 +142,7 @@ twoWayOne2One::twoWayOne2One } } -void twoWayOne2One::createProcMap() const +void twoWayOne2One::createProcMap() { List foamBoxes(Pstream::nProcs()); foamBoxes[Pstream::myProcNo()] = thisFoamBox_; @@ -671,7 +671,7 @@ bool twoWayOne2One::couple(int i) return coupleNow; } -void twoWayOne2One::setupLig2FoamCommunication() const +void twoWayOne2One::setupLig2FoamCommunication() { int* src_procs = new int[thisLigPartner_.size()]; for (int proci = 0; proci < thisLigPartner_.size(); proci++) @@ -709,7 +709,7 @@ void twoWayOne2One::setupLig2FoamCommunication() const } -void twoWayOne2One::locateParticles() const +void twoWayOne2One::locateParticles() { // get positions for locate double** my_positions = static_cast(lmp->atom->x); @@ -823,7 +823,7 @@ void twoWayOne2One::locateParticles() const setCellIDs(cellIds); } -void twoWayOne2One::setupFoam2LigCommunication() const +void twoWayOne2One::setupFoam2LigCommunication() { int* src_procs = new int[thisFoamPartner_.size()]; for (int proci = 0; proci < thisFoamPartner_.size(); proci++) diff --git a/src/lagrangian/cfdemParticle/subModels/dataExchangeModel/twoWayOne2One/twoWayOne2One.H b/src/lagrangian/cfdemParticle/subModels/dataExchangeModel/twoWayOne2One/twoWayOne2One.H index 4ba46276..08abc600 100644 --- a/src/lagrangian/cfdemParticle/subModels/dataExchangeModel/twoWayOne2One/twoWayOne2One.H +++ b/src/lagrangian/cfdemParticle/subModels/dataExchangeModel/twoWayOne2One/twoWayOne2One.H @@ -125,16 +125,16 @@ private: // private member functions //- creates a geometric mapping between FOAM and LIG domains - void createProcMap() const; + void createProcMap(); //- create a One2One communicator which transfers from LIG to FOAM - void setupLig2FoamCommunication() const; + void setupLig2FoamCommunication(); //- locates particles received from Lig - void locateParticles() const; + void locateParticles(); //- create a One2One communicator which transfers from FOAM to LIG - void setupFoam2LigCommunication() const; + void setupFoam2LigCommunication(); protected: LAMMPS_NS::LAMMPS *lmp;