Skip to content

Commit e593fb6

Browse files
committed
Non-AD variant of ResizeAdjoints.
1 parent 8d7f881 commit e593fb6

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Common/include/basic_types/ad_structure.hpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@ inline void RegisterInput(su2double& data, bool push_index = true) {}
7474
*/
7575
inline void RegisterOutput(su2double& data) {}
7676

77+
/*!
78+
* \brief Resize the adjoint vector, for subsequent access without bounds checking.
79+
*/
80+
inline void ResizeAdjoints() {}
81+
7782
/*!
7883
* \brief Sets the adjoint value at index to val
7984
* \param[in] index - Position in the adjoint vector.

0 commit comments

Comments
 (0)