dragonfly_sim.utils.filewriter
Classes
Writes dolfinx Functions to VTX (.bp) files for ParaView. |
Module Contents
- class dragonfly_sim.utils.filewriter.FileWriter(filename, comm_obj, func_space)
Writes dolfinx Functions to VTX (.bp) files for ParaView.
Ghost cells are excluded from the output by creating a submesh of only the locally-owned cells. This avoids the overlapping-cell artefacts that appear in ParaView when multiple MPI ranks write their ghost layers to the same file.
- construct_function_and_writer()
- interpolate_and_write(u_interp, write_counter=None)
- comm
- filename
- functionspace