Equation.h¶
Note
The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.
-
class
Equation
¶ This class represents a variational equation lhs == rhs. The equation can be either linear or nonlinear:
- Linear (a == L), in which case a must be a bilinear form and L must be a linear form.
- Nonlinear (F == 0), in which case F must be a linear form.
Create equation a == L
Create equation F == 0
-
bool
is_linear
() const¶ Check whether equation is linear
-
int
rhs_int
() const¶ Return value for right-hand side