Skip to content

Question about pipeline init function #340

Answered by btaba
onnoeberhard asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @onnoeberhard, state has more than just q, qd for 2 reasons: [1] speed up computation in step (mass_mx_inv not fully being recomputed), and [2] for book-keeping within the codebase. You could conceivably fork the code to rerun init on every timestep, but I'd expect this to be slower for every step computation. Hope that answers the question

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@onnoeberhard
Comment options

Answer selected by onnoeberhard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants