Fixed destructor for common/pmmc.h TriLinPoly

This commit is contained in:
James E McClure 2014-10-28 08:59:35 -04:00
parent f03acd2f91
commit 44c7bf66f1
2 changed files with 3 additions and 3 deletions

View File

@ -315,7 +315,9 @@ public:
TriLinPoly(){
Corners.New(2,2,2);
}
~TriLinPoly(){
Corners.~DoubleArray()
}
// Assign the polynomial within a cube from a mesh
void assign(DoubleArray &A, int i, int j, int k){
// Save the cube indices

View File

@ -1887,7 +1887,6 @@ int main(int argc, char **argv)
PressureBC_outlet(f_even,f_odd,dout,Nx,Ny,Nz,Nx*Ny*(Nz-2));
ColorBC_outlet(Phi,Den,A_even,A_odd,B_even,B_odd,Nx,Ny,Nz);
}
//...................................................................................
MPI_Barrier(MPI_COMM_WORLD);
@ -2641,7 +2640,6 @@ int main(int argc, char **argv)
fclose(FINALSTATE);
}
//#ifdef WriteOutput
CopyToHost(Phase.data,Phi,N*sizeof(double));
sprintf(LocalRankFilename,"%s%s","Phase.",LocalRankString);