pysemtools.io.ppymech

Classes to read or write data from Nek style codes

Functions

preadnek(filename, comm[, data_dtype])

Read and fld file and return a pymech hexadata object (Parallel).

pynekread(filename, comm[, data_dtype, msh, ...])

Read nek file and returs a pynekobject (Parallel).

pynekread_field(filename, comm[, ...])

Read nek file and returs a pynekobject (Parallel).

pwritenek(filename, data, comm)

Write and fld file and from a pymech hexadata object (Parallel).

pynekwrite(filename, comm[, msh, fld, wdsz, ...])

Write and fld file and from pynekdatatypes (Parallel).