|
| Explicit () |
| Explicit (std::string t_name) |
VectorF | F (VectorF const &x, VectorF const &x_dot, Real t) const override |
MatrixJF | JF_x (VectorF const &x, VectorF const &, Real t) const override |
MatrixJF | JF_x_dot (VectorF const &, VectorF const &, Real) const override |
virtual VectorF | f (VectorF const &x, Real t) const =0 |
virtual MatrixJF | Jf_x (VectorF const &x, Real t) const =0 |
VectorF | f_reverse (VectorF const &x, Real t) const |
MatrixJF | Jf_x_reverse (VectorF const &x, Real t) const |
VectorF | F_reverse (VectorF const &x, VectorF const &x_dot, Real t) const |
MatrixJF | JF_x_reverse (VectorF const &x, VectorF const &, Real t) const |
MatrixJF | JF_x_dot_reverse (VectorF const &, VectorF const &, Real) const |
Public Member Functions inherited from Sandals::Implicit< Real, N, 0 > |
virtual | ~Implicit () |
Type | type () const |
bool | is_implicit () const |
bool | is_explicit () const |
bool | is_semiexplicit () const |
std::string & | name () |
Integer | equations_number () const |
Integer | invariants_number () const |
virtual VectorH | h (VectorF const &x, Real t) const=0 |
virtual MatrixJH | Jh_x (VectorF const &x, Real t) const=0 |
virtual bool | in_domain (VectorF const &x, Real t) const=0 |
VectorF | F_reverse (VectorF const &x, VectorF const &x_dot, Real t) const |
MatrixJF | JF_x_reverse (VectorF const &x, VectorF const &x_dot, Real t) const |
MatrixJF | JF_x_dot_reverse (VectorF const &x, VectorF const &x_dot, Real t) const |
template<typename Real,
Integer N,
Integer M = 0>
class Sandals::Explicit< Real, N, M >
Class container for the system of explicit ordinary differential equations (ODEs) of the type \( \mathbf{x}^{\prime} = \mathbf{f}(\mathbf{x}, t) \), with invariants manifold \( \mathbf{h}
(\mathbf{x}, t) = \mathbf{0} \).
- Template Parameters
-
Real | The scalar number type. |
N | The dimension of the explicit ODE system. |
M | The dimension of the invariants manifold. |
Evaluate the ODE system \( \mathbf{F}(\mathbf{x}, \mathbf{x}^{\prime}, t) \)
\[\mathbf{F}(\mathbf{x}, \mathbf{x}^{\prime}, t) =
\mathbf{x}^{\prime} - \mathbf{f}(\mathbf{x}, t) \text{.}
\]
- Parameters
-
[in] | x | States \( \mathbf{x} \). |
[in] | x_dot | States derivative \( \mathbf{x}^{\prime} \). |
[in] | t | Independent variable (or time) \( t \). |
- Returns
- The system function \( \mathbf{F}(\mathbf{x}, \mathbf{x}^{\prime}, t) \).
Implements Sandals::Implicit< Real, N, 0 >.
Reimplemented in Sandals::Linear< Real, N, M >, Sandals::Linear< Real, N, 0 >, Sandals::SemiExplicit< Real, N, M >, and Sandals::SemiExplicit< Real, N, 0 >.
Evaluate the Jacobian of the implicit ODE system function \( \mathbf{F}(\mathbf{x},
\mathbf{x}^{\prime}, t) \) with respect to the states \( \mathbf{x} \)
\[\mathbf{JF}_{\mathbf{x}}(\mathbf{x}, \mathbf{x}^{\prime}, t) =
\displaystyle\frac{\partial\mathbf{F}(\mathbf{x}, \mathbf{x}^{\prime}, t)}{\partial\mathbf{x}} =
-\displaystyle\frac{\partial\mathbf{f}(\mathbf{x}, \mathbf{x}^{\prime}, t)}{\partial\mathbf{x}} =
-\mathbf{Jf}_{\mathbf{x}}(\mathbf{x}, t) \text{.}
\]
- Parameters
-
[in] | x | States \( \mathbf{x} \). |
[in] | x_dot | States derivative \( \mathbf{x}^{\prime} \). |
[in] | t | Independent variable (or time) \( t \). |
- Returns
- The Jacobian \( \mathbf{JF}_{\mathbf{x}}(\mathbf{x}, \mathbf{x}^{\prime}, t) \).
Implements Sandals::Implicit< Real, N, 0 >.
Reimplemented in Sandals::Linear< Real, N, M >, Sandals::Linear< Real, N, 0 >, Sandals::SemiExplicit< Real, N, M >, and Sandals::SemiExplicit< Real, N, 0 >.
Evaluate the Jacobian of the explicit ODE system function \( \mathbf{f}(\mathbf{x}, t) \) with respect to the states \( \mathbf{x} \)
\[\mathbf{Jf}_{\mathbf{x}}(\mathbf{x}, t) =
\displaystyle\frac{\partial\mathbf{f}(\mathbf{x}, t)}{\partial\mathbf{x}} \text{.}
\]
- Parameters
-
[in] | x | States \( \mathbf{x} \). |
[in] | t | Independent variable (or time) \( t \). |
- Returns
- The Jacobian \( \mathbf{Jf}_{\mathbf{x}}(\mathbf{x}, t) \).
Implemented in Sandals::ExplicitWrapper< Real, N, M >, Sandals::Linear< Real, N, M >, Sandals::Linear< Real, N, 0 >, and Sandals::SemiExplicit< Real, N, M >.
Evaluate the Jacobian of the implicit ODE system function \( \mathbf{F}(\mathbf{x},
\mathbf{x}^{\prime}, t) \) with respect to the states derivative \( \mathbf{x}^{\prime} \)
\[\mathbf{JF}_{\mathbf{x}^{\prime}}(\mathbf{x}, \mathbf{x}^{\prime}, t) = \displaystyle
\frac{\partial\mathbf{F}(\mathbf{x}, \mathbf{x}^{\prime}, t)}{\partial\mathbf{x}^{\prime}} =
\mathbf{I} \text{.}
\]
- Parameters
-
[in] | x | States \( \mathbf{x} \). |
[in] | x_dot | States derivative \( \mathbf{x}^{\prime} \). |
[in] | t | Independent variable (or time) \( t \). |
- Returns
- The Jacobian \( \mathbf{JF}_{\mathbf{x}^{\prime}}(\mathbf{x}, \mathbf{x}^{\prime}, t) \).
Implements Sandals::Implicit< Real, N, 0 >.
Reimplemented in Sandals::Linear< Real, N, M >, Sandals::Linear< Real, N, 0 >, Sandals::SemiExplicit< Real, N, M >, and Sandals::SemiExplicit< Real, N, 0 >.