Files
JuliaFEM.jl/src/types.jl
T

29 lines
661 B
Julia
Raw Normal View History

2015-08-16 13:33:02 +03:00
# This file is a part of JuliaFEM.
# License is MIT: see https://github.com/JuliaFEM/JuliaFEM.jl/blob/master/LICENSE.md
2015-10-30 12:40:56 +02:00
### INTEGRATIONPOINT ###
2015-10-21 07:24:19 +03:00
"""
Integration point
xi :: Array{Float64, 1}
(dimensionless) coordinates of integration point
weight :: Float64
Integration weight
attributes :: Dict{Any, Any}
This is used to save internal variables of IP needed e.g. for incremental
material models.
"""
type IntegrationPoint
2015-10-30 12:40:56 +02:00
xi :: Vector
2015-10-21 07:24:19 +03:00
weight :: Float64
2015-10-27 06:37:58 +02:00
fields :: Dict{ASCIIString, FieldSet}
2015-10-21 07:24:19 +03:00
end
function IntegrationPoint(xi, weight)
IntegrationPoint(xi, weight, Dict())
end
2015-11-03 12:14:19 +02:00
call(N::Basis, ip::IntegrationPoint) = N(ip.xi)
2015-10-21 07:24:19 +03:00