mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-09-30 05:19:19 +00:00
basic model structure
This commit is contained in:
+6
-11
@@ -1,17 +1,12 @@
|
||||
# This file is a part of JuliaFEM. License is MIT: https://github.com/ovainola/JuliaFEM/blob/master/README.md
|
||||
module JuliaFEM
|
||||
|
||||
# package code goes here
|
||||
type Node
|
||||
node_id
|
||||
coords
|
||||
end
|
||||
type Element
|
||||
element_id
|
||||
node_ids
|
||||
end
|
||||
function test()
|
||||
return 1
|
||||
type Model
|
||||
model # For global variables
|
||||
nodes # For nodes
|
||||
elements # For elements
|
||||
element_nodes # For element nodes
|
||||
element_gauss_points # For element gauss points
|
||||
end
|
||||
|
||||
end # module
|
||||
|
||||
Reference in New Issue
Block a user