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 thatgetFluxesandgetGradSolutioncould work without callingsolvefirst. However, you could callsolvewith a huge tolerance that no iteration will be needed. You could also callLPInfo::setMaxCoarseningLevel(0)to reduce the setup cost of theLinOp.