mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-09-19 17:58:53 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user