irksome.backends package

Submodules

irksome.backends.dolfinx module

DOLFINx backend for Irksome

irksome.backends.firedrake module

Firedrake backend for Irksome

class irksome.backends.firedrake.MeshConstant(msh: Mesh)[source]

Bases: object

Constant(val=0.0) Coefficient[source]
irksome.backends.firedrake.get_function_space(u: Coefficient) FunctionSpace[source]
irksome.backends.firedrake.get_mesh_constant(MC: MeshConstant | None)[source]
irksome.backends.firedrake.get_stages(V: FunctionSpace, num_stages: int) Function[source]

Given a function space for a single time-step, get a duplicate of this space, repeated num_stages times.

Args:

V: Space for single step num_stages: Number of stages

Returns:

A coefficient in the new function space

Module contents