Apply mlmg to compute fluxes and gradient #3492
-
Greetings, If my understanding is correct, I need to first call I am aware that there is another member function:
to compute the fluxes with input However, I could not find a similar version of member function for Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Yes, you have to call |
Beta Was this translation helpful? Give feedback.
Yes, you have to call
solve
. There is no guarantee thatgetFluxes
andgetGradSolution
could work without callingsolve
first. However, you could callsolve
with a huge tolerance that no iteration will be needed. You could also callLPInfo::setMaxCoarseningLevel(0)
to reduce the setup cost of theLinOp
.