/home/runner/work/kynema/kynema/kynema/src/state/clone_state.hpp File Reference

Kynema API: /home/runner/work/kynema/kynema/kynema/src/state/clone_state.hpp File Reference
Kynema API
A flexible multibody structural dynamics code for wind turbines
Loading...
Searching...
No Matches
clone_state.hpp File Reference
#include "state.hpp"

Go to the source code of this file.

Namespaces

namespace  kynema
 

Functions

template<typename DeviceType >
State< DeviceType > kynema::CloneState (const State< DeviceType > &old)
 Creates a new state object and performs a deep copy of the data in the old one. This is primarily for creating an identical state for snapshotting and rollback in the event that a time step should be performed again.