dragonfly_sim.utils.filewriter ============================== .. py:module:: dragonfly_sim.utils.filewriter Classes ------- .. autoapisummary:: dragonfly_sim.utils.filewriter.FileWriter Module Contents --------------- .. py:class:: 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. .. !! processed by numpydoc !! .. py:method:: construct_function_and_writer() .. py:method:: interpolate_and_write(u_interp, write_counter=None) .. py:attribute:: comm .. py:attribute:: filename .. py:attribute:: functionspace