|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## v0.10.0 |
| 4 | + |
| 5 | +- Full refactoring of {py:class}`dolfinx.fem.petsc.NonlinearProblem`, which now uses the PETSc SNES backend. See [the non-linear poisson demo](./chapter2/nonlinpoisson_code.ipynb) for details. |
| 6 | +- {py:class}`dolfinx.fem.petsc.LinearProblem` now requires an additional argument, `petsc_options_prefix`. This should be a unique string identifier for each `LinearProblem` that is created. |
| 7 | +- Change how one reads in GMSH data with `gmshio`. See [the membrane code](./chapter1/membrane_code.ipynb) for more details. |
| 8 | +- {py:meth}`dolfinx.fem.FiniteElement.interpolation_points` -> {py:attr}`dolfinx.fem.FiniteElement.interpolation_points`. |
| 9 | +- {py:mod}`dolfinx.io.gmshio` has been renamed to {py:mod}`dolfinx.io.gmsh` |
| 10 | +- Input to {py:func}`dolfinx.fem.petsc.create_vector` has changed. One should now call {py:func}`dolfinx.fem.extract_function_spaces` on the input form first. |
| 11 | + |
3 | 12 | ## v0.9.0 |
4 | 13 |
|
5 | | -- `scale` in `apply_lifting` has been renamed to `alpha` |
| 14 | +- `scale` in {py:func}`apply_lifting<dolfinx.fem.petsc.apply_lifting>` has been renamed to `alpha` |
6 | 15 | - Use `dolfinx.fem.Function.x.petsc_vec` as opposed to `dolfinx.fem.Function.vector` |
7 | 16 |
|
8 | 17 | ## v0.8.0 |
9 | 18 |
|
10 | | -- Replace all `ufl.FiniteElement` and `ufl.VectorElement` with the appropriate `basix.ufl.element` |
11 | | -- Replace `dolfinx.fem.FunctionSpace` with `dolfinx.fem.functionspace` |
| 19 | +- Replace all `ufl.FiniteElement` and `ufl.VectorElement` with the appropriate {py:func}`basix.ufl.element` |
| 20 | +- Replace {py:class}`dolfinx.fem.FunctionSpace` with {py:func}`dolfinx.fem.functionspace` |
12 | 21 |
|
13 | 22 | ## v0.7.2 |
14 | 23 |
|
|
22 | 31 |
|
23 | 32 | ## v0.7.0 |
24 | 33 |
|
25 | | -- Renamed `dolfinx.graph.create_adjacencylist` to `dolfinx.graph.adjacencylist` |
26 | | -- Renamed `dolfinx.plot.create_vtk_mesh` to `dolfinx.plot.vtk_mesh` |
27 | | -- `dolfinx.geometry.BoundingBoxTree` has been changed to `dolfinx.geometry.bb_tree` |
| 34 | +- Renamed `dolfinx.graph.create_adjacencylist` to {py:func}`dolfinx.graph.adjacencylist` |
| 35 | +- Renamed `dolfinx.plot.create_vtk_mesh` to {py:func}`dolfinx.plot.vtk_mesh` |
| 36 | +- Initialization of {py:class}`dolfinx.geometry.BoundingBoxTree` has been changed to {py:func}`dolfinx.geometry.bb_tree` |
28 | 37 | - `create_mesh` with Meshio has been modified. Note that you now need to pass dtype `np.int32` to the cell_data. |
29 | | -- Update dolfinx petsc API. Now one needs to explicitly import `dolfinx.fem.petsc` and `dolfinx.fem.nls`, as PETSc is no longer a strict requirement. Replace `petsc4py.PETSc.ScalarType` with `dolfinx.default_scalar_type` in demos where we do not use `petsc4py` explicitly. |
30 | | - |
| 38 | +- Update dolfinx petsc API. Now one needs to explicitly import {py:mod}`dolfinx.fem.petsc` and {py:mod}`dolfinx.fem.nls`, as PETSc is no longer a strict requirement. |
| 39 | + Replace `petsc4py.PETSc.ScalarType` with `dolfinx.default_scalar_type` in demos where we do not use {py:mod}`petsc4py` explicitly. |
| 40 | + |
31 | 41 | ## v0.6.0 |
32 | 42 |
|
33 | 43 | - Remove `ipygany` and `pythreejs` as plotting backends. Using `panel`. |
|
41 | 51 |
|
42 | 52 | - Using new GMSH interface in DOLFINx (`dolfinx.io.gmshio`) in all demos using GMSH |
43 | 53 | - Added a section on custom Newton-solvers, see [chapter4/newton-solver]. |
44 | | -- Various minor DOLFINx API updates. `dolfinx.mesh.compute_boundary_facets` -> `dolfinx.mesh.exterior_facet_indices` with slightly different functionality. Use `dolfinx.mesh.MeshTagsMetaClass.find` instead of `mt.indices[mt.values==value]`. |
| 54 | +- Various minor DOLFINx API updates. `dolfinx.mesh.compute_boundary_facets` -> {py:func}`dolfinx.mesh.exterior_facet_indices` with slightly different functionality. |
| 55 | + Use `dolfinx.mesh.MeshTagsMetaClass.find` instead of `mt.indices[mt.values==value]`. |
45 | 56 | - Various numpy updates, use `np.full_like`. |
46 | 57 | - Change all notebooks to use [jupytext](https://jupytext.readthedocs.io/en/latest/install.html) to automatically sync `.ipynb` with `.py` files. |
47 | 58 | - Add example of how to use `DOLFINx` in complex mode, see [chapter1/complex_mode]. |
|
53 | 64 | ## 0.4.0 (05.02.2021) |
54 | 65 |
|
55 | 66 | - All `pyvista` plotting has been rewritten to use `ipygany` and `pythreejs` as well as using a cleaner interface. |
56 | | -- `dolfinx.plot.create_vtk_topology` has been renamed to `dolfinx.plot.create_vtk_mesh` and can now be directly used as input to `pyvista.UnstructuredGrid`. |
| 67 | +- `dolfinx.plot.create_vtk_topology` has been renamed to `dolfinx.plot.create_vtk_mesh` and can now be directly used as input |
| 68 | + to {py:class}`pyvista.UnstructuredGrid`. |
57 | 69 | - `dolfinx.fem.Function.compute_point_values` has been deprecated. Interpolation into a CG-1 is now the way of getting vertex values. |
58 | | -- API updates wrt. DOLFINx. `Form`->`form`, `DirichletBC`->`dirichletbc`. |
| 70 | +- Instead of initializing class with {py:class}`Form<dolfinx.fem.Form>`, use {py:func}`form<dolfinx.fem.form>`. |
| 71 | +- Instead of initializing class with {py:class}`DirichletBC<dolfinx.fem.DirichletBC>` use {py:func}`dirichletbc<dolfinx.fem.dirichletbc>`. |
59 | 72 | - Updates on error computations in [Error control: Computing convergence rates](chapter4/convergence). |
60 | | -- Added tutorial on interpolation of `ufl.Expression` in [Deflection of a membrane](chapter1/membrane_code). |
| 73 | +- Added tutorial on interpolation of {py:class}`ufl.core.expr.Expr` in [Deflection of a membrane](chapter1/membrane_code). |
61 | 74 | - Added tutorial on how to apply constant-valued Dirichlet conditions in [Deflection of a membrane](chapter1/membrane_code). |
62 | 75 | - Various API changes relating to the import structure of DOLFINx |
63 | 76 |
|
|
0 commit comments