Changelog#
v0.9.0#
scale
inapply_lifting
has been renamed toalpha
Use
dolfinx.fem.Function.x.petsc_vec
as opposed todolfinx.fem.Function.vector
v0.8.0#
Replace all
ufl.FiniteElement
andufl.VectorElement
with the appropriatebasix.ufl.element
Replace
dolfinx.fem.FunctionSpace
withdolfinx.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_adjacencylist
todolfinx.graph.adjacencylist
Renamed
dolfinx.plot.create_vtk_mesh
todolfinx.plot.vtk_mesh
dolfinx.geometry.BoundingBoxTree
has been changed todolfinx.geometry.bb_tree
create_mesh
with Meshio has been modified. Note that you now need to pass dtypenp.int32
to the cell_data.Update dolfinx petsc API. Now one needs to explicitly import
dolfinx.fem.petsc
anddolfinx.fem.nls
, as PETSc is no longer a strict requirement. Replacepetsc4py.PETSc.ScalarType
withdolfinx.default_scalar_type
in demos where we do not usepetsc4py
explicitly.
v0.6.0#
Remove
ipygany
andpythreejs
as plotting backends. Usingpanel
.Add gif-output to [chapter2/diffusion_code] and [chapter2/hyperelasticity].
Replace
dolfinx.fem.Function.geometric_dimension
withlen(dolfinx.fem.Function)
Improve [chapter2/ns_code2] to have better splitting scheme and density.
Improve mesh quality in [chapter3/em].
jit_params
andform_compiler_params
renamed 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.find
instead ofmt.indices[mt.values==value]
.Various numpy updates, use
np.full_like
.Change all notebooks to use jupytext to automatically sync
.ipynb
with.py
files.Add example of how to use
DOLFINx
in complex mode, see [chapter1/complex_mode].
0.4.1#
No changes
0.4.0 (05.02.2021)#
All
pyvista
plotting has been rewritten to useipygany
andpythreejs
as well as using a cleaner interface.dolfinx.plot.create_vtk_topology
has been renamed todolfinx.plot.create_vtk_mesh
and can now be directly used as input topyvista.UnstructuredGrid
.dolfinx.fem.Function.compute_point_values
has been deprecated. Interpolation into a CG-1 is now the way of getting vertex values.API updates wrt. DOLFINx.
Form
->form
,DirichletBC
->dirichletbc
.Updates on error computations in Error control: Computing convergence rates.
Added tutorial on interpolation of
ufl.Expression
in 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_forward
Various 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.