XDMFFile

class dolfin.cpp.io.XDMFFile(comm, filename)

Bases: dolfin.cpp.io.GenericFile, dolfin.cpp.common.Variable

This class supports the output of meshes and functions in XDMF (http://www.xdmf.org) format. It creates an XML file that describes the data and points to a HDF5 file that stores the actual problem data. Output of data in parallel is supported.

XDMF is not suitable for checkpointing as it may decimate some data.

Constructor

read()

Read in a mesh from the associated HDF5 file, optionally using stored partitioning, if possible when the same number of processes are being used.

thisown None

The membership flag

write()

Overloaded versions

  • write(points)

    Save a cloud of points to file

  • write(points, values)

    Save a cloud of points, with scalar values

write_quadratic()

Save a quadratic Function to a quadratic Mesh defined by a geometry Function

Previous topic

VTKPlotter

Next topic

File_create_parent_path

This Page