Fixed destructor for common/pmmc.h TriLinPoly
This commit is contained in:
parent
f03acd2f91
commit
44c7bf66f1
@ -315,7 +315,9 @@ public:
|
|||||||
TriLinPoly(){
|
TriLinPoly(){
|
||||||
Corners.New(2,2,2);
|
Corners.New(2,2,2);
|
||||||
}
|
}
|
||||||
|
~TriLinPoly(){
|
||||||
|
Corners.~DoubleArray()
|
||||||
|
}
|
||||||
// Assign the polynomial within a cube from a mesh
|
// Assign the polynomial within a cube from a mesh
|
||||||
void assign(DoubleArray &A, int i, int j, int k){
|
void assign(DoubleArray &A, int i, int j, int k){
|
||||||
// Save the cube indices
|
// Save the cube indices
|
||||||
|
@ -1887,7 +1887,6 @@ int main(int argc, char **argv)
|
|||||||
PressureBC_outlet(f_even,f_odd,dout,Nx,Ny,Nz,Nx*Ny*(Nz-2));
|
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);
|
ColorBC_outlet(Phi,Den,A_even,A_odd,B_even,B_odd,Nx,Ny,Nz);
|
||||||
}
|
}
|
||||||
|
|
||||||
//...................................................................................
|
//...................................................................................
|
||||||
|
|
||||||
MPI_Barrier(MPI_COMM_WORLD);
|
MPI_Barrier(MPI_COMM_WORLD);
|
||||||
@ -2641,7 +2640,6 @@ int main(int argc, char **argv)
|
|||||||
fclose(FINALSTATE);
|
fclose(FINALSTATE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//#ifdef WriteOutput
|
//#ifdef WriteOutput
|
||||||
CopyToHost(Phase.data,Phi,N*sizeof(double));
|
CopyToHost(Phase.data,Phi,N*sizeof(double));
|
||||||
sprintf(LocalRankFilename,"%s%s","Phase.",LocalRankString);
|
sprintf(LocalRankFilename,"%s%s","Phase.",LocalRankString);
|
||||||
|
Loading…
Reference in New Issue
Block a user