Replace Vertex with ScalarField <: TensorField generalization
Opened this issue · 2 comments
Looking around github I found that your implementation of the Vertex
struct is a special case of my new more general TensorField
type, which has a specialized alias called ScalarField
mapping "position" vectors into scalars.
https://github.com/chakravala/TensorFields.jl
My intention is to organize the general methods common to universal the TensorField
type, which has many specializations.
The TensorFields
package itself is meant to provide the foundation and universal common methods, especially for plotting. This way, other packages can simply extend and build on TensorFields
without having to worry about the basic fundamentals.
Your package here looks like it could become an application of my new universal TensorField
type. Instead of using your Vertex
definition, you could build on a TensorField
in general instead (or just focus on methods for a ScalarField
).
That's an interesting idea. What exactly would be the use case?
I don't know, it's only a suggestion based on fundamental mathematical principles