Commit Graph

15 Commits

Author SHA1 Message Date
Jukka Aho bb06b151cb 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
2017-02-01 10:42:31 +02:00
Jukka Aho 9ee2bb3b66 fixed whitespace bug in reading *NODE block 2016-11-28 10:09:48 +02:00
Jukka Aho a8ff9f50f7 v0.5 fixes 2016-11-15 22:01:00 +02:00
Jukka Aho 50187466f4 fixed deprecation warnings for 0.5 2016-11-13 13:24:08 +02:00
Tero Frondelius 603616f92f create_surface_elements() moved to abaqus.jl and tested 2016-10-26 23:10:38 +03:00
TeroFrondelius 3eb832a5e1 create_surface_elements function added, thanks @ahojukka5 for help 2016-10-25 16:49:00 +03:00
Jukka Aho c79b4d5514 updated contact codes 2016-10-01 13:37:15 +03:00
Jukka Aho 698e8d2dd7 lot of new tests, echangement of modal solver, eigenvalue analysis with mesh tie 2016-07-27 18:12:24 +03:00
Jukka Aho 8f49b4141c postprocessing utility 2016-07-14 12:43:41 +03:00
Jukka Aho a75aaecc97 julia v0.5 compatibility. test -> testing. new elements tri7 and wedge6. abaqus inp reading. more integration rules. 2016-07-10 04:26:21 +03:00
Jukka Aho a4e4347fec more tests. fixed performace bug in creating elements from mesh 2016-07-07 18:04:09 +03:00
Jukka Aho 65e11d917f fixed a lot of deprectionwarning issues with 0.5 2016-07-04 03:29:24 +03:00
Jukka Aho 58dd90a169 heat solver tests etc 2016-07-03 05:01:18 +03:00
Jukka Aho 90f7c581c5 refactor contact and tests 2016-06-25 04:12:53 +03:00
Jukka Aho ca26626e48 changed creating elements + preprocess aster med file more general for other inputs too 2016-06-18 12:53:01 +03:00