mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-06-12 16:26:23 +00:00
Code recovery MPI part
This commit is contained in:
@ -36,16 +36,9 @@ pFlow::MPI::MPISimulationDomain::MPISimulationDomain(systemControl& control)
|
|||||||
bool pFlow::MPI::MPISimulationDomain::createBoundaryDicts()
|
bool pFlow::MPI::MPISimulationDomain::createBoundaryDicts()
|
||||||
{
|
{
|
||||||
|
|
||||||
if(!prepareBoundaryDicts())
|
dictionary& boundaries = this->subDict("boundaries");
|
||||||
{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
auto& boundaries = this->subDict("boundaries");
|
|
||||||
|
|
||||||
|
|
||||||
auto& thisBoundaries = this->subDict(thisBoundariesDictName());
|
|
||||||
|
|
||||||
|
dictionary& thisBoundaries = this->subDict(thisBoundariesDictName());
|
||||||
|
|
||||||
auto neighbors = findPlaneNeighbors();
|
auto neighbors = findPlaneNeighbors();
|
||||||
|
|
||||||
@ -134,7 +127,6 @@ bool pFlow::MPI::MPISimulationDomain::setThisDomain()
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -291,7 +291,7 @@ bool pFlow::MPI::boundaryProcessor::transferData(
|
|||||||
callAgain = false;
|
callAgain = false;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
callAgain = true;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else if(step == 3) // to recieve data
|
else if(step == 3) // to recieve data
|
||||||
@ -367,10 +367,7 @@ bool pFlow::MPI::boundaryProcessor::transferData(
|
|||||||
callAgain = false;
|
callAgain = false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
callAgain = false;
|
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
@ -22,6 +22,7 @@ Licence:
|
|||||||
#define __boundaryProcessor_hpp__
|
#define __boundaryProcessor_hpp__
|
||||||
|
|
||||||
#include "boundaryBase.hpp"
|
#include "boundaryBase.hpp"
|
||||||
|
#include "timeInfo.hpp"
|
||||||
#include "mpiTypes.hpp"
|
#include "mpiTypes.hpp"
|
||||||
#include "dataSender.hpp"
|
#include "dataSender.hpp"
|
||||||
#include "dataReciever.hpp"
|
#include "dataReciever.hpp"
|
||||||
|
Reference in New Issue
Block a user