cashocs.io.managers.XDMFFileManager#

class cashocs.io.managers.XDMFFileManager(db: database.Database, result_dir: str)[source]#

Bases: IOManager

Class for managing visualization .xdmf files.

Initializes self.

Parameters:
  • db (database.Database) – The database of the problem.

  • result_dir (str) – Path to the directory, where the output files are saved in.

Methods Summary

output()

Saves the variables to xdmf files.

output_summary()

The output operation, which is performed after convergence.

post_process()

The output operation which is performed as part of the postprocessing.

Methods Documentation

output() None[source]#

Saves the variables to xdmf files.

Return type:

None

output_summary() None[source]#

The output operation, which is performed after convergence.

Parameters:

solver – The optimization algorithm.

Return type:

None

post_process() None[source]#

The output operation which is performed as part of the postprocessing.

Parameters:

solver – The optimization algorithm.

Return type:

None