Hi,
On Friday 11 May 2001 19:26, Curtis Rueden wrote:
> The formula code uses VisAD's ActionImpl logic to recompute formula
> outputs when the input values to the formula change. ActionImpl
> creates a ThreadPool, which sits around after all its current tasks
> are completed, keeping the JVM alive. You can fix this by calling
> ActionImpl.stopThreadPool() at the end of Eval's main method.
works fine, thanks.
> >2. The FormularManager doesn't work if the to be calculated formula
> > doesn't contain any variable. E.g.
> http://palm.ssec.wisc.edu/FormulaVar.java
works fine now, too.
Another question:
How to use FormulaManager.remove() ?
I added
fman.remove("f")
to the end of the example, but I get
visad.formula.FormulaException: Cannot remove variable f because other
variables depend on it!
at visad.formula.FormulaManager.remove(FormulaManager.java:276)
at FormulaManagerTest.main(FormulaManagerTest.java:61)
Which variables depend on f? (BTW, the same happens for remove("x")).
Timo
--
__.__________
|lmo |homas