Commit Graph

1026 Commits

Author SHA1 Message Date
Jukka Aho 08eb3bbfbb Change version number to 0.5.2 2019-11-26 16:12:03 +07:00
Jukka Aho 4ceb353314 Merge branch 'master' of github.com:JuliaFEM/JuliaFEM.jl 2019-11-26 15:30:42 +07:00
Jukka Aho 6a1dcb2ad1 Merge branch 'kc/local_buffer' 2019-11-26 15:30:17 +07:00
Jukka Aho d781b00da1 Merge branch 'master' into kc/local_buffer 2019-11-26 15:29:02 +07:00
Jukka Aho 9dc794101c Give meaningful error message when assembling continuum elasticity problem fails
Sometimes user may have the wrong kind of elements in element set when
assembling 3d continuum problem. This could happen for example in
situations, where mesher is giving also segment elements. They may have
some use in certain situations, but currently we don't support them.
When assembly is failing for this reasons, we give a meaningful error
message:

[ Info: It looks that you are trying to assemble elements of type Seg3
to 3d continuum problem. However, they are not supported yet. To filter
out elements from a element set, try `filter(element->!isa(element,
Element{Seg3}), elements)`
ERROR: LoadError: Tried to assemble unsupported elements of type Seg3 to
3d continuum problem.

This commit closes issue #211.
2019-10-27 12:50:11 +02:00
Jukka Aho e821e07723 Remove imports not available anymore in Base
Closes issue #234.
2019-10-13 12:36:51 +03:00
Jukka Aho 0d30a8f516 Create Project.toml file and remove REQUIRE files 2019-10-11 17:55:27 +03:00
Jukka Aho c55ea843c1 Merge pull request #240 from micampbell/master
change in old function name ucfirst to uppercasefirst,
2019-09-26 15:21:53 +03:00
Matt Campbell b62ddac26a change in old function name ucfirst to uppercasefirst, which was preventing the beam examples from running 2019-09-25 10:15:05 -07:00
Jukka Aho 58bfe7fa93 Merge pull request #233 from JuliaFEM/ahojukka5/issue_232
Fix broken test
2019-09-13 17:31:31 +03:00
Jukka Aho a0808f18fd Update automatic document generation
It looks document generation proceduce has slightly changed.
docs/Project.toml is defining dependencies for document generation and
they are not explicitly given in `travis.yml`.
2019-09-13 17:06:56 +03:00
Jukka Aho 824920c433 Fix broken test
The order of the calculated eigenvalues has been changed in the newest
Julia versions. Fixed by sorting the lists before comparison. Closes
issue #232.
2019-09-13 13:23:33 +03:00
Jukka Aho ae64e8a3fe Update travis.yml to test with newest versions
0.7, 1.0 and nightly --> 1.2, 1.3, nightly
2019-09-13 13:23:33 +03:00
Jukka Aho e462fa2862 Documentation deployment fix (#230)
Similar work done in FEMQuad.jl and FEMBase.jl
2019-04-08 21:35:13 +03:00
Jukka Aho 3be87e02bf Merge pull request #226 from JuliaFEM/kc/coloring
Implement matrix coloring.
2019-04-08 18:56:11 +03:00
Jukka Aho 6903041db7 Merge pull request #225 from JuliaFEM/KristofferC-patch-2
Improve performance in elasticity by moving out the computation of X from the integration point loop.

Before:
```
 12.576967 seconds (37.65 M allocations: 1.852 GiB, 11.65% gc time)
```

After:
```
 11.251927 seconds (35.27 M allocations: 1.692 GiB, 11.27% gc time)
```

2 million allocations less.
2019-04-08 18:44:59 +03:00
Jukka Aho 1d1f31bb7f Improve performance in elasticity (#224)
Before in a decently large assembly:
```
13.035282 seconds (37.65 M allocations: 1.852 GiB, 11.18% gc time)
```

After:
```
 10.774839 seconds (28.51 M allocations: 1.716 GiB, 6.78% gc time)
```
2019-04-08 18:42:12 +03:00
Jukka Aho ab222b04e3 Update README.md (#216) 2019-04-08 18:36:47 +03:00
Jukka Aho c5cd645f5c Merge pull request #229 from rezarastak/master
fixed deprecated warning for format = html
2019-02-28 16:11:50 +07:00
Reza Rastak 190644ffa9 fixed deprecated warning for format = html 2019-02-27 21:35:50 -08:00
Kristoffer Carlsson 2aca9f0d0c alloc improvements 2018-12-03 15:20:06 -05:00
Kristoffer Carlsson 09c355b916 make backwards compatible 2018-11-29 17:40:55 -05:00
Kristoffer Carlsson ee7532a749 updates 2018-11-19 07:44:56 -05:00
Kristoffer Carlsson 3c67c9c2c9 single threaded 2018-11-15 12:26:17 -05:00
Kristoffer Carlsson b503065d66 Merge branch 'kc/coloring' into kc/local_buffer 2018-11-15 08:18:28 -05:00
Kristoffer Carlsson a2adc68b3f implement matrix coloring 2018-11-08 14:28:20 -05:00
Kristoffer Carlsson 25866860ab wip 2018-11-08 14:27:44 -05:00
Kristoffer Carlsson 58f9fb05be improve performance in elasticity by moving out computation of X from intergration point loop 2018-11-02 13:47:57 -04:00
Kristoffer Carlsson 64c6ff8ad5 improve performance in elasticity 2018-11-02 13:38:15 -04:00
Kristoffer Carlsson 32ac97f4b1 keep working on csc assembly 2018-10-28 20:40:55 -04:00
Jukka Aho a07d5536c5 Merge pull request #223 from JuliaFEM/jah/fix_contact_example
Fix example of 2d hertz contact
2018-10-27 21:40:32 +03:00
Jukka Aho 9bb229e2a5 Merge pull request #222 from JuliaFEM/fix_REQUIRE
Add upper bound to Julia v2.0 to REQUIRE
2018-10-27 21:40:15 +03:00
Jukka Aho 5714f4aa0c Fix example of 2d hertz contact
Example was not Julia 1.0 compatible. Fixed. Closes issue #221.
2018-10-27 19:55:26 +03:00
Jukka Aho 69be547d9d Add upper bound to Julia v2.0 to REQUIRE 2018-10-27 19:23:57 +03:00
Kristoffer Carlsson cd22d1a571 use buffer and call assemble for one elements, also some tweaks for using sparsity pattern in FEMBase.jl 2018-10-19 17:35:30 -04:00
Jukka Aho 9cb8354487 Merge pull request #217 from JuliaFEM/jah/fix_io_xdmf3
Store Xdmf results in Mixed format
2018-10-05 12:11:48 +03:00
Kristoffer Carlsson 2394725a61 Elasticity: add a local buffer struct to preallocate things needed in the assembly loop 2018-10-02 16:00:02 -04:00
Jukka Aho 4b471ac9ba Store Xdmf results in Mixed format
Store element connectivity as "Mixed" format to Xdmf file. It's a long
list where first number is element code and then there is connectivity
data (starting from 0). Xdmf format does not support several
Topology-elements in Xml file format, so before it was not possible to
store e.g. both Tri3 and Quad4 elements in same problem. After this
commit this should now be possible. Paraview Xdmf3 reader is needed to
use.
2018-09-20 19:59:45 +03:00
Jukka Aho 072dba48ac Fix examples
* Fix deprecation warnings from examples and fix some small things.
2018-09-06 13:34:26 +03:00
Jukka Aho 61891a6c6c Update docs/make.jl and docs/deploy.jl
Modifications to Documenter scripts:

* Fix deprecation warnings
* Refactor make.jl to be more understandable
2018-09-06 13:34:26 +03:00
Jukka Aho 7d6d7aa977 Changes to Travis-CI
* Add Julia 1.0.
* Allow nightly to fail.
* Drop PkgTestSuite.
2018-09-06 13:34:26 +03:00
Jukka Aho ca6626a15d Update REQUIRE
* Put v0.7 as minimum version requirement for JuliaFEM.
* Remove Formatting from REQUIRE.
* Add Arpack to REQUIRE.
2018-09-06 13:34:26 +03:00
Jukka Aho b574459120 Update .gitignore
Add test/*.xmf and test/*.h5 to .gitignore, (some tests are generating
results files)
2018-09-06 13:34:26 +03:00
Jukka Aho ca7e2904cf Fix tests
* Fix deprecation warnings from tests
* Refactor tests so that ´@testset` is usually called in master file
  `runtests.jl`, not inside test file. Later on we can convert tests
  to examples.
* Syntax of tests now follow more closely syntax used currently in
  JuliaFEM. We have had earlier studies with different kind of syntaxes,
  now we have kind of explicit way to do things.
2018-09-06 13:34:26 +03:00
Jukka Aho 52be9e546b Create test/REQUIRE
* Add Documenter and Literate as test requirements
2018-09-06 13:34:26 +03:00
Jukka Aho 005a2440bb Update runtests.jl
* Explicitly call test files instead of for loop
* Call Documenter before and after unit tests
2018-09-06 13:34:26 +03:00
Jukka Aho a5a2c43dd8 Fix deprecation warnings
* Add docstrings
* Refactor code
* Module level docstring giving an example
2018-09-06 13:34:26 +03:00
Tero Frondelius 132e1659e2 Simple linear static example to be shown in SMP18 (#212)
* Simple linear static example to be shown in SMP18

* Improvements based on Jukka's review

* Fixing spacing after Literature.notebook run

* Adding ## Testing at the end of the example to make sure that something breaks, if the results will change

* Update linear_static.jl

Some little tweaks, mainly making that filter function more understandable.
2018-08-20 14:44:24 +03:00
Tero Frondelius 6e4036dd73 README citing instructions
README citing instructions to our RM article.
2018-08-17 18:33:07 +03:00
Jukka Aho ad913f30a8 Enable Travis-CI for Julia 0.7 and nightly (#209) 2018-07-25 14:26:07 +03:00