Re: [petsc-users] Error when trying to write solution to a file

2014-10-07 Thread Miguel Angel Salazar de Troya
It was that, I totally forgot it. Thanks a lot! On Tue, Oct 7, 2014 at 11:50 AM, Jed Brown wrote: > Miguel Angel Salazar de Troya writes: > > > Hi all > > > > I'm solving a discretized PDE with TS. Inside my MonitorFunction(), > hooked > > up with TSMonitorSet(), I process the solution at each

Re: [petsc-users] Error when trying to write solution to a file

2014-10-07 Thread Jed Brown
Miguel Angel Salazar de Troya writes: > Hi all > > I'm solving a discretized PDE with TS. Inside my MonitorFunction(), hooked > up with TSMonitorSet(), I process the solution at each time step to write > another PETSc Vec. Then, I write this Vec to a matlab binary file. The name > of the binary f

[petsc-users] Error when trying to write solution to a file

2014-10-07 Thread Miguel Angel Salazar de Troya
Hi all I'm solving a discretized PDE with TS. Inside my MonitorFunction(), hooked up with TSMonitorSet(), I process the solution at each time step to write another PETSc Vec. Then, I write this Vec to a matlab binary file. The name of the binary file is the time step. I save it inside of the folde