Loading src/TNL/Communicators/MpiCommunicator.h +5 −4 Original line number Diff line number Diff line Loading @@ -267,6 +267,7 @@ class MpiCommunicator #else static int NullRequest; #endif static std::streambuf *psbuf; static std::streambuf *backup; static std::ofstream filestr; Loading tests/mpi/GPUmeshFunctionEvaluateTest.cu +4 −2 Original line number Diff line number Diff line Loading @@ -48,6 +48,7 @@ int main ( int argc, char *argv[]) typedef typename MeshType::Cell Cell; typedef typename MeshType::IndexType IndexType; typedef typename MeshType::PointType PointType; using CoordinatesType = MeshType::CoordinatesType; typedef DistributedMesh<MeshType> DistributedMeshType; Loading Loading @@ -80,7 +81,7 @@ int main ( int argc, char *argv[]) globalGrid.setDomain(globalOrigin,globalProportions); int distr[DIMENSION]; CoordinatesType distr; for(int i=0;i<DIMENSION;i++) distr[i]=1; Loading @@ -99,7 +100,8 @@ int main ( int argc, char *argv[]) typename MeshType::CoordinatesType overlap; overlap.setValue(1); DistributedMeshType distrgrid; distrgrid.template setGlobalGrid<CommunicatorType>(globalGrid,overlap, distr); distrgrid.setDomainDecomposition( distr ); distrgrid.template setGlobalGrid<CommunicatorType>(globalGrid,overlap); SharedPointer<MeshType> gridptr; SharedPointer<MeshFunctionType> meshFunctionptr; Loading Loading
src/TNL/Communicators/MpiCommunicator.h +5 −4 Original line number Diff line number Diff line Loading @@ -267,6 +267,7 @@ class MpiCommunicator #else static int NullRequest; #endif static std::streambuf *psbuf; static std::streambuf *backup; static std::ofstream filestr; Loading
tests/mpi/GPUmeshFunctionEvaluateTest.cu +4 −2 Original line number Diff line number Diff line Loading @@ -48,6 +48,7 @@ int main ( int argc, char *argv[]) typedef typename MeshType::Cell Cell; typedef typename MeshType::IndexType IndexType; typedef typename MeshType::PointType PointType; using CoordinatesType = MeshType::CoordinatesType; typedef DistributedMesh<MeshType> DistributedMeshType; Loading Loading @@ -80,7 +81,7 @@ int main ( int argc, char *argv[]) globalGrid.setDomain(globalOrigin,globalProportions); int distr[DIMENSION]; CoordinatesType distr; for(int i=0;i<DIMENSION;i++) distr[i]=1; Loading @@ -99,7 +100,8 @@ int main ( int argc, char *argv[]) typename MeshType::CoordinatesType overlap; overlap.setValue(1); DistributedMeshType distrgrid; distrgrid.template setGlobalGrid<CommunicatorType>(globalGrid,overlap, distr); distrgrid.setDomainDecomposition( distr ); distrgrid.template setGlobalGrid<CommunicatorType>(globalGrid,overlap); SharedPointer<MeshType> gridptr; SharedPointer<MeshFunctionType> meshFunctionptr; Loading