|
DOLFIN
DOLFIN C++ interface
|
#include <Equation.h>
Public Member Functions | |
| Equation (std::shared_ptr< const Form > a, std::shared_ptr< const Form > L) | |
| Equation (std::shared_ptr< const Form > F, int rhs) | |
| ~Equation () | |
| Destructor. | |
| bool | is_linear () const |
| std::shared_ptr< const Form > | lhs () const |
| std::shared_ptr< const Form > | rhs () const |
| int | rhs_int () const |
This class represents a variational equation lhs == rhs. The equation can be either linear or nonlinear:
| Equation::Equation | ( | std::shared_ptr< const Form > | F, |
| int | rhs | ||
| ) |
Create equation F == 0
| [in] | F | (Form) |
| [in] | rhs | (int) |
| bool Equation::is_linear | ( | ) | const |
Check whether equation is linear
| std::shared_ptr< const Form > Equation::lhs | ( | ) | const |
Return form for left-hand side
| std::shared_ptr< const Form > Equation::rhs | ( | ) | const |
Return form for right-hand side
| int Equation::rhs_int | ( | ) | const |
Return value for right-hand side
1.8.11