tlm_adjoint.functional

Module Contents

class tlm_adjoint.functional.Functional(*args, space=None, **kwargs)

A convenience class for defining functionals.

Arguments are as for the Float class.

assign(y)

Assign to the Functional.

Parameters:

y – The value.

Returns:

The Functional.

addto(y)

Add to the Functional.

Parameters:

y – The value to add.