Changelog#
v0.10.0#
Full refactoring of
dolfinx.fem.petsc.NonlinearProblem, which now uses the PETSc SNES backend. See the non-linear poisson demo for details.dolfinx.fem.petsc.LinearProblemnow requires an additional argument,petsc_options_prefix. This should be a unique string identifier for eachLinearProblemthat is created.Change how one reads in GMSH data with
gmshio. See the membrane code for more details.dolfinx.fem.FiniteElement.interpolation_points()->dolfinx.fem.FiniteElement.interpolation_points.dolfinx.io.gmshiohas been renamed todolfinx.io.gmshInput to
dolfinx.fem.petsc.create_vector()has changed. One should now calldolfinx.fem.extract_function_spaces()on the input form first.
v0.9.0#
scaleinapply_liftinghas been renamed toalphaUse
dolfinx.fem.Function.x.petsc_vecas opposed todolfinx.fem.Function.vector
v0.8.0#
Replace all
ufl.FiniteElementandufl.VectorElementwith the appropriatebasix.ufl.element()Replace
dolfinx.fem.FunctionSpacewithdolfinx.fem.functionspace()
v0.7.2#
Change pyvista backend to
html, using Pyvista main branchUsing DOLFINx v0.7.2 FEniCS/dolfinx as base
v0.7.1#
No API changes, release due to various bug-fixes from the 0.7.0 release, see: FEniCS/dolfinx for more information
v0.7.0#
Renamed
dolfinx.graph.create_adjacencylisttodolfinx.graph.adjacencylist()Renamed
dolfinx.plot.create_vtk_meshtodolfinx.plot.vtk_mesh()Initialization of
dolfinx.geometry.BoundingBoxTreehas been changed todolfinx.geometry.bb_tree()create_meshwith Meshio has been modified. Note that you now need to pass dtypenp.int32to the cell_data.Update dolfinx petsc API. Now one needs to explicitly import
dolfinx.fem.petscanddolfinx.fem.nls, as PETSc is no longer a strict requirement. Replacepetsc4py.PETSc.ScalarTypewithdolfinx.default_scalar_typein demos where we do not usepetsc4pyexplicitly.
v0.6.0#
Remove
ipyganyandpythreejsas plotting backends. Usingpanel.Add gif-output to [chapter2/diffusion_code] and [chapter2/hyperelasticity].
Replace
dolfinx.fem.Function.geometric_dimensionwithlen(dolfinx.fem.Function)Improve [chapter2/ns_code2] to have better splitting scheme and density.
Improve mesh quality in [chapter3/em].
jit_paramsandform_compiler_paramsrenamed to*_options.
v0.5.0#
Using new GMSH interface in DOLFINx (
dolfinx.io.gmshio) in all demos using GMSHAdded a section on custom Newton-solvers, see [chapter4/newton-solver].
Various minor DOLFINx API updates.
dolfinx.mesh.compute_boundary_facets->dolfinx.mesh.exterior_facet_indices()with slightly different functionality. Usedolfinx.mesh.MeshTagsMetaClass.findinstead ofmt.indices[mt.values==value].Various numpy updates, use
np.full_like.Change all notebooks to use jupytext to automatically sync
.ipynbwith.pyfiles.Add example of how to use
DOLFINxin complex mode, see [chapter1/complex_mode].
0.4.1#
No changes
0.4.0 (05.02.2021)#
All
pyvistaplotting has been rewritten to useipyganyandpythreejsas well as using a cleaner interface.dolfinx.plot.create_vtk_topologyhas been renamed todolfinx.plot.create_vtk_meshand can now be directly used as input topyvista.UnstructuredGrid.dolfinx.fem.Function.compute_point_valueshas been deprecated. Interpolation into a CG-1 is now the way of getting vertex values.Instead of initializing class with
DirichletBCusedirichletbc.Updates on error computations in Error control: Computing convergence rates.
Added tutorial on interpolation of
ufl.core.expr.Exprin Deflection of a membrane.Added tutorial on how to apply constant-valued Dirichlet conditions in Deflection of a membrane.
Various API changes relating to the import structure of DOLFINx
0.3.0 (09.09.2021)#
Major improvements in Form compiler parameters, using pandas and seaborn for visualization of speed-ups gained using form compiler parameters.
API change:
dolfinx.cpp.la.scatter_forward(u.x)->u.x.scatter_forwardVarious plotting updates due to new version of pyvista.
Updating of the Hyperelasticity demo, now using DOLFINx wrappers to create the non-linear problem
Internal updates due to bumping of jupyter-book versions
Various typos and capitalizations fixed by @mscroggs in PR 35.
0.1.0 (11.05.2021)#
First tagged release of DOLFINx Tutorial, compatible with DOLFINx 0.1.0.