OGS
ODESolverTypes.h File Reference

Detailed Description

Definition in file ODESolverTypes.h.

#include <functional>
#include <Eigen/Core>
Include dependency graph for ODESolverTypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  MathLib
 
namespace  MathLib::ODE
 

Typedefs

template<int N, int M>
using MathLib::ODE::MappedMatrix = Eigen::Map< Eigen::Matrix< double, N, M, Eigen::ColMajor > >
 
template<int N, int M>
using MathLib::ODE::MappedConstMatrix = Eigen::Map< const Eigen::Matrix< double, N, M, Eigen::ColMajor > >
 Behaves like a const Eigen::Matrix.
 
template<int N>
using MathLib::ODE::MappedVector = MappedMatrix< N, 1 >
 
template<int N>
using MathLib::ODE::MappedConstVector = MappedConstMatrix< N, 1 >
 
template<unsigned N>
using MathLib::ODE::Function = std::function< bool(const double t, MappedConstVector< N > const &y, MappedVector< N > &ydot)>
 
template<unsigned N>
using MathLib::ODE::JacobianFunction = std::function< bool(const double t, MappedConstVector< N > const &y, MappedConstVector< N > const &ydot, MappedMatrix< N, N > &jac)>