refactor(fields): Remove duplicate AbstractField definition

Replace abstract type definition with comment pointing to canonical definition in fields/api.jl.

Eliminates documentation replacement warning while keeping single source of truth for AbstractField supertype.
This commit is contained in:
Jukka Aho
2025-11-20 18:22:59 +02:00
parent 4521d27731
commit 9eb8634ed9
+1 -6
View File
@@ -1,12 +1,7 @@
# This file is a part of JuliaFEM.
# License is MIT: see https://github.com/JuliaFEM/FEMBase.jl/blob/master/LICENSE
"""
AbstractField
Abstract supertype for all fields in JuliaFEM.
"""
abstract type AbstractField end
# Note: AbstractField is defined in fields/api.jl
function length(f::F) where F<:AbstractField
return length(f.data)