diff --git a/Project.toml b/Project.toml index 7fb6cbe..cc32729 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "Grassmann" uuid = "4df31cd9-4c27-5bea-88d0-e6a7146666d8" authors = ["Michael Reed"] -version = "0.8.22" +version = "0.9" [deps] AbstractTensors = "a8e43f4a-99b7-5565-8bf1-0165161caaea" diff --git a/src/Grassmann.jl b/src/Grassmann.jl index 59b2fbb..1e0a7fe 100644 --- a/src/Grassmann.jl +++ b/src/Grassmann.jl @@ -274,7 +274,7 @@ function initmeshdata(P,E,T,N::Val{n}=Val(size(P,1))) where n return p,ChainBundle(e),ChainBundle(t) end -export pointset, edges, facets, adjacency, column, columns +export pointset, facets, column, columns column(t,i=1) = getindex.(value(t),i) columns(t,i=1,j=mdims(Manifold(t))) = column.(Ref(value(t)),list(i,j)) diff --git a/src/composite.jl b/src/composite.jl index 4b73cb6..3239f59 100644 --- a/src/composite.jl +++ b/src/composite.jl @@ -906,7 +906,7 @@ function Base.findlast(P,t::ChainBundle) end Base.findall(P,t) = findall(P .∈ getindex.(points(t),value(t))) -export volumes, detsimplex, initmesh, refinemesh, refinemesh!, select, submesh +export volumes, detsimplex, submesh edgelength(e) = (v=points(e)[value(e)]; value(abs(v[2]-v[1]))) volumes(m,dets) = value.(abs.(.⋆(dets))) diff --git a/src/multivectors.jl b/src/multivectors.jl index feaa260..6b74dea 100644 --- a/src/multivectors.jl +++ b/src/multivectors.jl @@ -14,7 +14,7 @@ export TensorTerm, TensorGraded, TensorMixed, Scalar, GradedVector, Bivector, Trivector export Submanifold, Single, Multivector, Spinor, SparseChain, MultiGrade, ChainBundle -export Zero, One, Quaternion, GaussianInteger, PointCloud, ElementMesh, AbstractSpinor +export Zero, One, Quaternion, GaussianInteger, AbstractSpinor export AbstractReal, AbstractComplex, AbstractRational, ScalarFloat, ScalarIrrational export AbstractInteger, AbstractBool, AbstractSigned, AbstractUnsigned, AntiSpinor @@ -961,8 +961,8 @@ const Quaternion{V,T} = Spinor{V,T,4} const AntiQuaternion{V,T} = AntiSpinor{V,T,4} const LipschitzInteger{V,T<:Integer} = Quaternion{V,T} const GaussianInteger{V,B,T<:Integer} = Couple{V,B,T} -const PointCloud{T<:Chain{V,1} where V} = AbstractVector{T} -const ElementMesh{T<:Chain{V,1,<:Integer} where V} = AbstractVector{T} +#const PointCloud{T<:Chain{V,1} where V} = AbstractVector{T} +#const ElementMesh{T<:Chain{V,1,<:Integer} where V} = AbstractVector{T} const AbstractReal = Union{Real,Single{V,G,B,<:Real} where {V,G,B},Chain{V,G,<:Real,1} where {V,G}} const AbstractComplex{T<:Real} = Union{Complex{T},Phasor{V,B,T} where {V,B},Couple{V,B,T} where {V,B},Single{V,G,B,Complex{T}} where {V,G,B},Chain{V,G,Complex{T},1} where {V,G}}