Commit c780510a authored by Alexander Danilov's avatar Alexander Danilov

FVDiscr: explicitly exchange tensor_K data

Workaround for issue #9
parent 12311436
......@@ -121,7 +121,8 @@ int main(int argc,char ** argv)
cell->Real(tensor_K) = 1.0; // Store the tensor K value into the tag
ttt = Timer();
m->ExchangeGhost(1,FACE); // Exchange the date (phi and tensor_K) over processes
m->ExchangeGhost(1,FACE);
m->ExchangeData(tensor_K,CELL,0); // Exchange the tensor_K data over processors
BARRIER
if( m->GetProcessorRank() == 0 ) std::cout << "Exchange ghost: " << Timer()-ttt << std::endl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment