Equation

class dolfin.cpp.fem.Equation(*args)

Bases: object

This class represents a variational equation lhs == rhs. The equation can be either linear or nonlinear:

  1. Linear (a == L), in which case a must be a bilinear form and L must be a linear form.
  2. Nonlinear (F == 0), in which case F must be a linear form.

Overloaded versions

  • Equation(a, L)

    Create equation a == L

  • Equation(F, rhs)

    Create equation F == 0

is_linear()

Check whether equation is linear

lhs()

Return form for left-hand side

rhs()

Return form for right-hand side

rhs_int()

Return value for right-hand side

thisown

The membership flag