std ptr in ColorModel

This commit is contained in:
James E McClure
2018-05-17 09:44:52 -04:00
parent 507ebc86e9
commit c786ef2967

View File

@@ -194,7 +194,7 @@ void ScaLBL_ColorModel::Create(){
if (rank==0) printf ("Create ScaLBL_Communicator \n");
// Create a communicator for the device (will use optimized layout)
// ScaLBL_Communicator ScaLBL_Comm(Mask); // original
ScaLBL_Comm = std::shared_ptr<ScaLBL_Communicator>(new ScaLBL_Communicator(Mask.get()));
ScaLBL_Comm = std::shared_ptr<ScaLBL_Communicator>(new ScaLBL_Communicator(Mask));
//Create a second communicator based on the regular data layout
//ScaLBL_Communicator ScaLBL_Comm_Regular(Mask);