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
|
|
|
|
|
|
2015-11-28 17:03:48 +02:00
|
|
|
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
|
2015-11-28 17:03:48 +02:00
|
|
|
# fields :: Dict{AbstractString, Field}
|
2015-11-28 13:02:56 +02:00
|
|
|
end
|
|
|
|
|
|
2015-11-28 17:03:48 +02:00
|
|
|
# IElement(id, conn, eltype) = IElement(id, conn, eltype, Dict())
|
2015-11-28 13:02:56 +02:00
|
|
|
|
2015-11-28 17:03:48 +02:00
|
|
|
type INodeSet
|
|
|
|
|
name::AbstractString
|
|
|
|
|
node_ids::Array{Integer, 1}
|
2015-11-28 13:02:56 +02:00
|
|
|
end
|
|
|
|
|
|
2015-11-28 17:03:48 +02:00
|
|
|
type IElementSet
|
|
|
|
|
name::AbstractString
|
|
|
|
|
element_ids::Array{Integer, 1}
|
2015-11-28 13:02:56 +02:00
|
|
|
end
|
|
|
|
|
|