Browse Source

Print density

master
Weiye Wang 2 years ago
parent
commit
cab20ac66f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      residue.cpp

+ 1
- 1
residue.cpp View File

@@ -1072,7 +1072,7 @@ void printSpaceTimeOutput(double t, N_Vector* y, FILE* output, UserData data)
}

for (size_t i = 0; i < data->npts; i++) {
setGas(data,ydata,i+1,GAS) ;
setGas(data,ydata,i+1) ;
rho = data->gas->density() ;
fprintf(output, "%15.6e\t%15.6e\t",psi(i+1),t);
if(i==0){


Loading…
Cancel
Save