mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-09-23 02:59:52 +00:00
problems_mortar_3d.jl: rename function contains to approx_in (#86)
* problems_mortar_3d.jl: rename function contains to approx_in See issue #85. `contains` is now renamed to `approx_in`. I also switched argument order, so this function is now called in a same way function `in()`. Usage example: julia> P = Vector[[1.0, 1.0], [2.0, 2.0]] 2-element Array{Array{T,1},1}: [1.0,1.0] [2.0,2.0] julia> q = [1.0, 1.0] + eps(Float64) 2-element Array{Float64,1}: 1.0 1.0 julia> in(q, P) false julia> approx_in(q, P) true Also added docstring and usage example. * Removed `importall base` from code
This commit is contained in:
committed by
Tero Frondelius
parent
c307c1482c
commit
bb06b151cb
+1
-1
@@ -12,7 +12,7 @@
|
||||
- etc only topology related stuff
|
||||
=#
|
||||
|
||||
importall Base
|
||||
import Base: copy
|
||||
|
||||
using JuliaFEM
|
||||
|
||||
|
||||
Reference in New Issue
Block a user