Files
JuliaFEM.jl/src/api.jl
T

35 lines
640 B
Julia
Raw Normal View History

2015-11-28 13:02:56 +02:00
# This file is a part of JuliaFEM.
# License is MIT: see https://github.com/JuliaFEM/JuliaFEM.jl/blob/master/LICENSE.md
abstract calculation_model
type Model <: calculation_model
jotain
end
2015-11-28 13:02:56 +02:00
type INode{T<:Real}
id::Integer
coords::Array{T, 1}
end
type IElement{T<:Real}
id::Integer
connectivity::Array{T, 1}
element_type::AbstractString
# fields :: Dict{AbstractString, Field}
2015-11-28 13:02:56 +02:00
end
# IElement(id, conn, eltype) = IElement(id, conn, eltype, Dict())
2015-11-28 13:02:56 +02:00
type INodeSet
name::AbstractString
node_ids::Array{Integer, 1}
2015-11-28 13:02:56 +02:00
end
type IElementSet
name::AbstractString
element_ids::Array{Integer, 1}
2015-11-28 13:02:56 +02:00
end