cashocs.io#

Inputs and outputs.

Functions

load_config(path)

Loads a config object from a config file.

import_function(filename, name, function_space)

Imports a function from an xdmf file to cashocs.

read_function_from_xdmf(filename, name, ...)

Reads a function from a .xdmf file containing a checkpointed function.

convert(input_file[, output_file, mode, quiet])

Converts the input mesh file to a xdmf mesh file for cashocs to work with.

export_mesh(mesh, mesh_file[, subdomains, ...])

Exports a mesh (together with its subdomains and boundaries).

extract_mesh_from_xdmf(xdmffile[, ...])

Extracts a Gmsh mesh file from an XDMF state file.

import_mesh(mesh_file[, comm])

Imports a mesh file for use with cashocs / FEniCS.

read_mesh_from_xdmf(filename[, step, comm])

Reads a mesh from a .xdmf file containing a checkpointed function.

write_out_mesh(mesh, original_msh_file, ...)

Writes out mesh as Gmsh .msh file.

Classes

Config([config_file])

Class for handling the config in cashocs.

OutputManager(db)

Class handling all the output.

Modules

config

Management of configuration files.

function

Function input and output.

managers

Output managers for cashocs.

mesh

Mesh input and output.

output

Management of cashocs output.