Author |
Message |
Mauro Chierici Lopes (chierici)
Member Username: chierici
Post Number: 9 Registered: 01-2006
| Posted on Wednesday, January 18, 2006 - 09:10 am: | |
Hi I'm trying to calculate a path length using biintegral(1,"path name") in a moving mesh problem. However, although the path shrinks the calculate integral is constant. Can I calculate this in another way? Thank you. |
Robert G. Nelson (rgnelson)
Moderator Username: rgnelson
Post Number: 522 Registered: 06-2003
| Posted on Wednesday, January 18, 2006 - 05:15 pm: | |
The FlexPDE analyzer looks at bintegral(1,"path name") and thinks it is a constant that does not need re-computation. This is a logical oversight in the moving mesh implementation: these integrals should be tagged as needing re-evaluation. You can fake it by adding a small term that depends on a variable, like bintegral(1+1e-9*xm,"path name"). This will force the integral to be recomputed.
|
|