FourierFlows/FourierFlows.jl

cxeltype() and fleltype() being used?

navidcy opened this issue · 3 comments

Are these legacy?

cxeltype(x) = cxtype(innereltype(x))
fleltype(x) = fltype(innereltype(x))

Remove them and see if tests pass?

I don't think they are legacy. In hindsight, they are not a good idea. But removing them probably requires a bit of code restructuring. It wouldn't be a bad thing, but we should do more than just delete these functions. I believe they are used, for example, for determining the underlying floating point type of a complex number.

Simple search all .jl files didn’t show that they were used...