Skip to content
Snippets Groups Projects
Commit bad099d1 authored by Stephan Schulz's avatar Stephan Schulz
Browse files

fix calls to new api

parent 6819f753
Branches
Tags
2 merge requests!11Feature/simple test cases,!8Refactor
Pipeline #52285 failed
......@@ -73,7 +73,7 @@ void print_testing_output(int rank, std::vector<ALL::Point<double>>& vertices, i
// vertices.at(1)[1]-vertices.at(0)[1],
// vertices.at(1)[2]-vertices.at(0)[2]);
// fflush(stdout);
for(std::size_t Vertex=0; Vertex<vertices.size(); Vertex++)
for(int Vertex=0; Vertex<vertices.size(); Vertex++)
{
printf("[%4d,%03d,%02d] Result Vertex: %10.6f %10.6f %10.6f\n",
timestep,
......@@ -143,7 +143,9 @@ int main(int argc, char** argv)
// For a cartesian communicator this is not required, but we are using
// MPI_COMM_WORLD here.
jall->setProcGridParams(MyLocation, NumberOfProcesses);
std::vector<int> MyLocationVector(MyLocation, MyLocation+3);
std::vector<int> NumberOfProcessesVector(NumberOfProcesses, NumberOfProcesses+3);
jall->setProcGridParams(MyLocationVector, NumberOfProcessesVector);
jall->setCommunicator(MPI_COMM_WORLD);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment