Commit ff2d25c4 authored by Dave Moxey's avatar Dave Moxey

Revert ContField3D to version in master

parent a600d374
......@@ -83,27 +83,6 @@ namespace Nektar
boost::bind(&ContField3D::GenGlobalLinSys, this, _1),
std::string("GlobalLinSys"))
{
LibUtilities::CommSharedPtr vComm = pSession->GetComm();
int n = vComm->GetSize();
int p = vComm->GetRank();
Array<OneD, int> sizes(n,0);
sizes[p] = m_ncoeffs;
vComm->AllReduce(sizes, LibUtilities::ReduceSum);
if (vComm->GetRank() == 0)
{
ofstream outfile("partitions.txt");
for (p = 0; p < n; ++p)
{
outfile << p << " " << sizes[p] << endl;
}
outfile.close();
}
SpatialDomains::BoundaryConditions bcs(m_session, graph3D);
m_locToGloMap = MemoryManager<AssemblyMapCG3D>::AllocateSharedPtr(
......
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