Inverting a matrix #4435
Unanswered
colmenaresj
asked this question in
Q&A
Replies: 2 comments 4 replies
-
If it makes sense to do that, how would I do it in MFEM? |
Beta Was this translation helpful? Give feedback.
2 replies
-
The reason why I am interested in this is because when you compare the speed of MFEM vs a finite difference code with explicit solver with similar resolution, the FD code is much faster. My thought that this was due to having to invert the mass matrix every timestep. Is that a fair assumption? Or what else could help get some speedup? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
For an explicit solver, would it make sense to invert the mass matrix once, and then just multiply the RHS by it, instead of having to do a "Solve" each time? This is assuming the mass matrix doesn't change over time. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions