RobinHankin / stokes

methods for exterior calculus
https://robinhankin.github.io/stokes/
3 stars 0 forks source link

infelicity in rform() #66

Closed RobinHankin closed 2 years ago

RobinHankin commented 2 years ago

This is disappointing and confusing:

 diff <- function(a,b){a^hodge(b) ==  kinner(a,b)*volume(dovs(a))}
 table(replicate(1000,diff(rform(),rform())))

FALSE  TRUE 
   15   985 
> 

The problem is that sometimes rform() returns a kform with dovs() of 6. This is OK mathematically but unexpected and a pain.