jackhamel16 / Acoustics

Acoustic integral equation solver
1 stars 0 forks source link

Consider storing Z Matrix in PulseMesh structure #63

Closed jackhamel16 closed 3 years ago

jackhamel16 commented 3 years ago

Z matrix is used repeatedly in post-processing and time would be saved by storing it

jackhamel16 commented 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.