numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
Loading...
Searching...
No Matches
num_collect::ode::concepts::update_equation_solver Concept Reference

Concept of classes solve equations of implicit updates. More...

#include <num_collect/ode/concepts/update_equation_solver.h>

Concept definition

template<typename T>
requires requires(T& obj, typename T::problem_type& problem,
typename T::scalar_type time, typename T::scalar_type step_size,
const typename T::variable_type& variable,
typename T::scalar_type solution_coeff) {
obj.update_jacobian(
problem, time, step_size, variable, solution_coeff);
};
requires requires(T& obj,
const typename T::variable_type& solution_offset,
typename T::variable_type& solution) {
obj.init(solution_offset, solution);
};
requires requires(const typename T::scalar_type& time, T& obj,
const typename T::variable_type& solution_offset,
typename T::variable_type& solution) {
obj.init(time, solution_offset, solution);
};
requires requires(const T& obj) {
{
obj.solution_offset()
} -> base::concepts::const_reference_of<typename T::variable_type>;
};
}
Concept of classes to solve equations of implicit methods in ODEs.
Concept of problems of ordinary differential equations.
Definition problem.h:35
Concept of classes solve equations of implicit updates.

Detailed Description

Concept of classes solve equations of implicit updates.

This type of classes solves following equation:

\[ \boldsymbol{z}_i = h a_{ii} \boldsymbol{f}\left(t + b_i h, \boldsymbol{y}(t) + \boldsymbol{z}_i \right) + \boldsymbol{z}_{offset} \]

Template Parameters
TType.

Definition at line 43 of file update_equation_solver.h.