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 @param[in] a (Form)
Form representing the LHS- @param[in] L (Form)
- Form representing the RHS
Create equation F == 0 @param[in] F (Form) @param[in] rhs (int)
-
bool
is_linear
() const¶ Check whether equation is linear @return bool
-
int
rhs_int
() const¶ Return value for right-hand side @return int