On Fri, Jun 21, 2019 at 4:56 AM Dongyu Liu - CITG via petsc-users < petsc-users@mcs.anl.gov> wrote:
> Hi, > > we are using the Viewer class in pets4py to read a gmsh file, but after we > use the function createASCII with the mode "READ", the gmsh file is > emptied. Do you have any clue why this happens. > You need to set the mode to FILE_MODE_READ before opening the file. Thanks, Matt > Best, > > Dongyu > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>