Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small changes in API #34

Merged
merged 1 commit into from
Sep 1, 2018
Merged

Small changes in API #34

merged 1 commit into from
Sep 1, 2018

Conversation

ahojukka5
Copy link
Member

  • New function get_problem(problem, name) to fetch a problem from the analysis.
  • Update docstrings.
  • Connectivity can be given with tuple when creating new element.
  • Be more information (@info) when calling functions to be more responsible.
  • Preparations to separate topology and basis.
  • Remove function to update properties with string pairs, it's quite an unpractical approach (we still should implement something like update_properties!(...) ).
  • add_elements!, add_problems!, takes also varargs, so can also call add_elements!(p, e1, e2) instead of creating first iterable.
  • update! can take list of elements as tuple.
  • SparseMatrixCOO and SparseVectorCOO can be converted to full matrices / vectors using Matrix and Vector.
  • Comparison of SparseMatrixCOO with matrix / vector using isapprox.
  • add! returns nothing.

* New function get_problem(problem, name) to fetch a problem from a
  analysis.
* Update docstrings.
* Connectivity can be given with tuple when creating new element.
* Be more information (@info) when calling functions to be more
  responsible.
* Preparations to separate topology and basis.
* Remove function to update properties with string pairs, it's quite
  unpractical approach (we still should implement something like
  update_properties!(...) ).
* `add_elements!`, `add_problems!`, takes also varargs, so can also call
  `add_elements!(p, e1, e2)` instead of creating first iterable.
* `update!` can take list of elements as tuple.
* `SparseMatrixCOO` and `SparseVectorCOO` can be converted to full
  matrices / vectors using `Matrix` and `Vector`.
* Comparison of `SparseMatrixCOO` with matrix / vector using `isapprox`.
* `add!` returns nothing.
@coveralls
Copy link

Coverage Status

Coverage increased (+0.2%) to 99.258% when pulling 5d5fdb0 on release-0.2.1 into 5201c70 on master.

@ahojukka5 ahojukka5 deleted the release-0.2.1 branch May 3, 2020 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants