PHASTA/phastaChef

move field and file string construction into C

cwsmith opened this issue · 2 comments

move string manipulation from phSolver and into a wrapper layer, phIO.c/h

the following functions are proposed

  • phio_openfile (in addition to specializing filename string for particular library, this function can call queryphmpiio and initphmpiio in the case of syncio)
  • phio_readheader
  • phio_readdatablock
  • phio_writeheader
  • phio_writedatablock
  • phio_closefile

/cc @KennethEJansen @mrasquin @matthb2

currently readheader and readdatablock have string construction support - move this into phIO.c as a helper fn

The following fns from phIO.cc|h have replaced the unwrapped fns as of cwsmith/phasta@ab9e12e .

phio_readheader
phio_writeheader
phio_readdatablock
phio_writedatablock
phio_openfile_read
phio_openfile_write
phio_closefile_read
phio_closefile_write