- 3.0.2 optimal control module.
|
This class implements analytical sensitivity generation for the euler and rk4 integration scheme. More...
#include <RKnDerivatives.h>
Public Types | |
typedef DIMENSIONS::state_vector_t | state_vector_t |
typedef DIMENSIONS::state_vector_array_t | state_vector_array_t |
typedef DIMENSIONS::control_vector_t | control_vector_t |
typedef DIMENSIONS::control_vector_array_t | control_vector_array_t |
typedef DIMENSIONS::time_array_t | time_array_t |
typedef DIMENSIONS::state_matrix_t | state_matrix_t |
typedef DIMENSIONS::control_matrix_t | control_matrix_t |
typedef DIMENSIONS::state_control_matrix_t | state_control_matrix_t |
typedef DIMENSIONS::state_matrix_array_t | state_matrix_array_t |
typedef DIMENSIONS::state_control_matrix_array_t | state_control_matrix_array_t |
Public Member Functions | |
RKnDerivatives ()=delete | |
RKnDerivatives (std::shared_ptr< SplinerBase< control_vector_t >> controlSpliner, size_t shotIdx, const DmsSettings &settings) | |
Custom constructor. More... | |
void | setLogs (std::shared_ptr< state_vector_array_t > x_log, std::shared_ptr< control_vector_array_t > u_log, std::shared_ptr< time_array_t > t_log, std::shared_ptr< state_matrix_array_t > A_log, std::shared_ptr< state_control_matrix_array_t > B_log) |
void | compute_dXdSi () |
void | compute_dXdQi () |
void | compute_dXdQip1 () |
void | getdXdSiTraj (state_matrix_array_t &dXdSiTraj) |
void | getdXdQiTraj (state_control_matrix_array_t &dXdQiTraj) |
void | getdXdQip1Traj (state_control_matrix_array_t &dXdQip1Traj) |
void | getdXdHiTraj (state_vector_array_t &dXdHiTraj) |
Public Attributes | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef DmsDimensions< STATE_DIM, CONTROL_DIM > | DIMENSIONS |
This class implements analytical sensitivity generation for the euler and rk4 integration scheme.
STATE_DIM | The state dimension |
CONTROL_DIM | The control dimension |
typedef DIMENSIONS::state_vector_t ct::optcon::RKnDerivatives< STATE_DIM, CONTROL_DIM >::state_vector_t |
typedef DIMENSIONS::state_vector_array_t ct::optcon::RKnDerivatives< STATE_DIM, CONTROL_DIM >::state_vector_array_t |
typedef DIMENSIONS::control_vector_t ct::optcon::RKnDerivatives< STATE_DIM, CONTROL_DIM >::control_vector_t |
typedef DIMENSIONS::control_vector_array_t ct::optcon::RKnDerivatives< STATE_DIM, CONTROL_DIM >::control_vector_array_t |
typedef DIMENSIONS::time_array_t ct::optcon::RKnDerivatives< STATE_DIM, CONTROL_DIM >::time_array_t |
typedef DIMENSIONS::state_matrix_t ct::optcon::RKnDerivatives< STATE_DIM, CONTROL_DIM >::state_matrix_t |
typedef DIMENSIONS::control_matrix_t ct::optcon::RKnDerivatives< STATE_DIM, CONTROL_DIM >::control_matrix_t |
typedef DIMENSIONS::state_control_matrix_t ct::optcon::RKnDerivatives< STATE_DIM, CONTROL_DIM >::state_control_matrix_t |
typedef DIMENSIONS::state_matrix_array_t ct::optcon::RKnDerivatives< STATE_DIM, CONTROL_DIM >::state_matrix_array_t |
typedef DIMENSIONS::state_control_matrix_array_t ct::optcon::RKnDerivatives< STATE_DIM, CONTROL_DIM >::state_control_matrix_array_t |
|
delete |
|
inline |
Custom constructor.
[in] | controlSpliner | The control spliner |
[in] | shotIdx | The shot number |
[in] | settings | The dms settings |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef DmsDimensions<STATE_DIM, CONTROL_DIM> ct::optcon::RKnDerivatives< STATE_DIM, CONTROL_DIM >::DIMENSIONS |