mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-10-02 14:23:58 +00:00
Calculate shape functions using FEMBasis.jl
A lot of code is moved to FEMBasis.jl regarding calculating basis / shape functions of finite elements. * add FEMBasis to REQUIRE * remove obsolete files * remove obsolete test files * make integration point iterable * loosen type definitions * get length of element rather from basis than connectivity * calculate midpoint of reference element * wrong input argument to eval_basis! fixed
This commit is contained in:
@@ -33,6 +33,18 @@ function (point::Point)(field_name, time=0.0)
|
||||
point.fields[field_name](time).data
|
||||
end
|
||||
|
||||
function start(point::Point)
|
||||
return start(point.coords)
|
||||
end
|
||||
|
||||
function done(point::Point, i)
|
||||
return done(point.coords, i)
|
||||
end
|
||||
|
||||
function next(point::Point, i)
|
||||
return next(point.coords, i)
|
||||
end
|
||||
|
||||
function update!{T}(point::Point, field_name, val::Pair{Float64, T})
|
||||
if haskey(point, field_name)
|
||||
update!(point[field_name], val)
|
||||
|
||||
Reference in New Issue
Block a user