Closed jackhamel16 closed 3 years ago
PulseMesh is immutable so this won't work but it would probably be okay to just pass z and its derivative into the functions that require it and compute them externally, like in calculateWSMatrix or solveWSMode. Would need to make it optional to pass the filled Z matrix into a solveXIE function and skip building it again in there.
Z matrix is used repeatedly in post-processing and time would be saved by storing it