Bases: dolfin.cpp.common.Variable
Constructor. file_mode should “a” (append), “w” (write) or “r” (read).
Close file
Flush buffered I/O to disk
Check if dataset exists in HDF5 file
Overloaded versions
read(x, dataset_name, use_partition_from_file)
Read vector from file and optionally re-use any partitioning that is available in the file
read(u, name)
Read Function from file and distribute data according to the Mesh and dofmap associated with the Function. If the ‘name’ refers to a HDF5 group, then it is assumed that the Function data is stored in the datasets within that group. If the ‘name’ refers to a HDF5 dataset within a group, then it is assumed that it is a Vector, and the Function will be filled from that Vector
read(mesh, name, use_partition_from_file)
Read Mesh from file and optionally re-use any partition data in the file
read(meshfunction, name)
Read MeshFunction from file
read(meshfunction, name)
Read MeshFunction from file
read(meshfunction, name)
Read MeshFunction from file
read(meshfunction, name)
Read MeshFunction from file
read(mesh_values, name)
Read MeshValueCollection from file
read(mesh_values, name)
Read MeshValueCollection from file
read(mesh_values, name)
Read MeshValueCollection from file
The membership flag
Overloaded versions
write(points, name)
Write points to file
write(values, name)
Write simple vector of double to file
write(x, name)
Write Vector to file in a format suitable for re-reading
write(mesh, name)
Write Mesh to file in a format suitable for re-reading
write(mesh, cell_dim, name)
Write Mesh of given cell dimension to file in a format suitable for re-reading
write(u, name)
Write Function to file in a format suitable for re-reading
write(u, name, timestamp)
Write Function to file with a timestamp
write(meshfunction, name)
Write MeshFunction to file in a format suitable for re-reading
write(meshfunction, name)
Write MeshFunction to file in a format suitable for re-reading
write(meshfunction, name)
Write MeshFunction to file in a format suitable for re-reading
write(meshfunction, name)
Write MeshFunction to file in a format suitable for re-reading
write(mesh_values, name)
Write MeshValueCollection to file
write(mesh_values, name)
Write MeshValueCollection to file
write(mesh_values, name)
Write MeshValueCollection to file