dolfin.cpp.io

I/O module

Classes

File

HDF5Attribute

HDF5File

VTKFile

X3DOM

X3DOMParameters

XDMFFile

class dolfin.cpp.io.HDF5File

Bases: dolfin.cpp.common.Variable

attributes(self: dolfin.cpp.io.HDF5File, arg0: str) → dolfin.cpp.io.HDF5Attribute
close(self: dolfin.cpp.io.HDF5File) → None
flush(self: dolfin.cpp.io.HDF5File) → None
get_mpi_atomicity(self: dolfin.cpp.io.HDF5File) → bool
has_dataset(self: dolfin.cpp.io.HDF5File, arg0: str) → bool
read(*args, **kwargs)

Overloaded function.

  1. read(self: dolfin.cpp.io.HDF5File, arg0: dolfin.cpp.mesh.Mesh, arg1: str, arg2: bool) -> None

  2. read(self: dolfin.cpp.io.HDF5File, mvc: dolfin.cpp.mesh.MeshValueCollection_bool, name: str) -> None

  3. read(self: dolfin.cpp.io.HDF5File, mvc: dolfin.cpp.mesh.MeshValueCollection_sizet, name: str) -> None

  4. read(self: dolfin.cpp.io.HDF5File, mvc: dolfin.cpp.mesh.MeshValueCollection_double, name: str) -> None

  5. read(self: dolfin.cpp.io.HDF5File, meshfunction: dolfin.cpp.mesh.MeshFunctionBool, name: str) -> None

  6. read(self: dolfin.cpp.io.HDF5File, meshfunction: dolfin.cpp.mesh.MeshFunctionSizet, name: str) -> None

  7. read(self: dolfin.cpp.io.HDF5File, meshfunction: dolfin.cpp.mesh.MeshFunctionInt, name: str) -> None

  8. read(self: dolfin.cpp.io.HDF5File, meshfunction: dolfin.cpp.mesh.MeshFunctionDouble, name: str) -> None

  9. read(self: dolfin.cpp.io.HDF5File, vector: dolfin::GenericVector, name: str, use_partitioning: bool) -> None

  10. read(self: dolfin.cpp.io.HDF5File, u: dolfin.cpp.function.Function, name: str) -> None

  11. read(self: dolfin.cpp.io.HDF5File, u: object, name: str) -> None

set_mpi_atomicity(self: dolfin.cpp.io.HDF5File, arg0: bool) → None
write(*args, **kwargs)

Overloaded function.

  1. write(self: dolfin.cpp.io.HDF5File, arg0: dolfin.cpp.mesh.Mesh, arg1: str) -> None

  2. write(self: dolfin.cpp.io.HDF5File, mvc: dolfin.cpp.mesh.MeshValueCollection_bool, name: str) -> None

  3. write(self: dolfin.cpp.io.HDF5File, mvc: dolfin.cpp.mesh.MeshValueCollection_sizet, name: str) -> None

  4. write(self: dolfin.cpp.io.HDF5File, mvc: dolfin.cpp.mesh.MeshValueCollection_double, name: str) -> None

  5. write(self: dolfin.cpp.io.HDF5File, meshfunction: dolfin.cpp.mesh.MeshFunctionBool, name: str) -> None

  6. write(self: dolfin.cpp.io.HDF5File, meshfunction: dolfin.cpp.mesh.MeshFunctionSizet, name: str) -> None

  7. write(self: dolfin.cpp.io.HDF5File, meshfunction: dolfin.cpp.mesh.MeshFunctionInt, name: str) -> None

  8. write(self: dolfin.cpp.io.HDF5File, meshfunction: dolfin.cpp.mesh.MeshFunctionDouble, name: str) -> None

  9. write(self: dolfin.cpp.io.HDF5File, vector: dolfin::GenericVector, name: str) -> None

  10. write(self: dolfin.cpp.io.HDF5File, u: dolfin.cpp.function.Function, name: str) -> None

  11. write(self: dolfin.cpp.io.HDF5File, u: dolfin.cpp.function.Function, name: str, t: float) -> None

  12. write(self: dolfin.cpp.io.HDF5File, u: object, name: str) -> None

  13. write(self: dolfin.cpp.io.HDF5File, u: object, name: str, t: float) -> None

class dolfin.cpp.io.XDMFFile

Bases: dolfin.cpp.common.Variable

close(self: dolfin.cpp.io.XDMFFile) → None
read(*args, **kwargs)

Overloaded function.

  1. read(self: dolfin.cpp.io.XDMFFile, arg0: dolfin.cpp.mesh.Mesh) -> None

  2. read(self: dolfin.cpp.io.XDMFFile, mf: dolfin.cpp.mesh.MeshFunctionBool, name: str=’’) -> None

  3. read(self: dolfin.cpp.io.XDMFFile, mf: dolfin.cpp.mesh.MeshFunctionSizet, name: str=’’) -> None

  4. read(self: dolfin.cpp.io.XDMFFile, mf: dolfin.cpp.mesh.MeshFunctionInt, name: str=’’) -> None

  5. read(self: dolfin.cpp.io.XDMFFile, mf: dolfin.cpp.mesh.MeshFunctionDouble, name: str=’’) -> None

  6. read(self: dolfin.cpp.io.XDMFFile, mvc: dolfin.cpp.mesh.MeshValueCollection_bool, name: str=’’) -> None

  7. read(self: dolfin.cpp.io.XDMFFile, mvc: dolfin.cpp.mesh.MeshValueCollection_sizet, name: str=’’) -> None

  8. read(self: dolfin.cpp.io.XDMFFile, mvc: dolfin.cpp.mesh.MeshValueCollection_int, name: str=’’) -> None

  9. read(self: dolfin.cpp.io.XDMFFile, mvc: dolfin.cpp.mesh.MeshValueCollection_double, name: str=’’) -> None

read_checkpoint(*args, **kwargs)

Overloaded function.

  1. read_checkpoint(self: dolfin.cpp.io.XDMFFile, u: dolfin.cpp.function.Function, name: str, counter: int=-1) -> None

  2. read_checkpoint(self: dolfin.cpp.io.XDMFFile, u: object, name: str, counter: int=-1) -> None

write(*args, **kwargs)

Overloaded function.

  1. write(self: dolfin.cpp.io.XDMFFile, u: dolfin.cpp.function.Function, encoding: dolfin.cpp.io.XDMFFile.Encoding=Encoding.HDF5) -> None

  2. write(self: dolfin.cpp.io.XDMFFile, u: dolfin.cpp.function.Function, t: float, encoding: dolfin.cpp.io.XDMFFile.Encoding=Encoding.HDF5) -> None

  3. write(self: dolfin.cpp.io.XDMFFile, mesh: dolfin.cpp.mesh.Mesh, encoding: dolfin.cpp.io.XDMFFile.Encoding=Encoding.HDF5) -> None

  4. write(self: dolfin.cpp.io.XDMFFile, mvc: dolfin.cpp.mesh.MeshFunctionBool, encoding: dolfin.cpp.io.XDMFFile.Encoding=Encoding.HDF5) -> None

  5. write(self: dolfin.cpp.io.XDMFFile, mvc: dolfin.cpp.mesh.MeshFunctionSizet, encoding: dolfin.cpp.io.XDMFFile.Encoding=Encoding.HDF5) -> None

  6. write(self: dolfin.cpp.io.XDMFFile, mvc: dolfin.cpp.mesh.MeshFunctionInt, encoding: dolfin.cpp.io.XDMFFile.Encoding=Encoding.HDF5) -> None

  7. write(self: dolfin.cpp.io.XDMFFile, mvc: dolfin.cpp.mesh.MeshFunctionDouble, encoding: dolfin.cpp.io.XDMFFile.Encoding=Encoding.HDF5) -> None

  8. write(self: dolfin.cpp.io.XDMFFile, mvc: dolfin.cpp.mesh.MeshValueCollection_bool, encoding: dolfin.cpp.io.XDMFFile.Encoding=Encoding.HDF5) -> None

  9. write(self: dolfin.cpp.io.XDMFFile, mvc: dolfin.cpp.mesh.MeshValueCollection_sizet, encoding: dolfin.cpp.io.XDMFFile.Encoding=Encoding.HDF5) -> None

  10. write(self: dolfin.cpp.io.XDMFFile, mvc: dolfin.cpp.mesh.MeshValueCollection_int, encoding: dolfin.cpp.io.XDMFFile.Encoding=Encoding.HDF5) -> None

  11. write(self: dolfin.cpp.io.XDMFFile, mvc: dolfin.cpp.mesh.MeshValueCollection_double, encoding: dolfin.cpp.io.XDMFFile.Encoding=Encoding.HDF5) -> None

  12. write(self: dolfin.cpp.io.XDMFFile, points: list, encoding: dolfin.cpp.io.XDMFFile.Encoding=Encoding.HDF5) -> None

  13. write(self: dolfin.cpp.io.XDMFFile, points: list, values: List[float], encoding: dolfin.cpp.io.XDMFFile.Encoding=Encoding.HDF5) -> None

  14. write(self: dolfin.cpp.io.XDMFFile, u: object, encoding: dolfin.cpp.io.XDMFFile.Encoding=Encoding.HDF5) -> None

  15. write(self: dolfin.cpp.io.XDMFFile, u: object, t: float, encoding: dolfin.cpp.io.XDMFFile.Encoding=Encoding.HDF5) -> None

write_checkpoint(*args, **kwargs)

Overloaded function.

  1. write_checkpoint(self: dolfin.cpp.io.XDMFFile, u: dolfin.cpp.function.Function, function_name: str, time_step: float=0.0, encoding: dolfin.cpp.io.XDMFFile.Encoding=Encoding.HDF5, append: bool=False) -> None

  2. write_checkpoint(self: dolfin.cpp.io.XDMFFile, u: object, function_name: str, time_step: float=0.0, encoding: dolfin.cpp.io.XDMFFile.Encoding=Encoding.HDF5, append: bool=False) -> None