discretize 0.7.0 Release Notes¶
This Minor release has several new features, including support for boundary conditions,
quiver vector plotting for
TreeMesh.plot_slice(), and a rather large change in
properties requirement from
Starting with the largest change, we have made the decision to remove the properties backend of discretize. Our main motivation for this was to give ourselves more control over the documentation of classes. Our goal was to recreate the functionality without any adverse effects to our users, and have taken many steps to hopefully address any possible issues with the conversion. That being said, please raise an issue on the github page if you run into any unexpected issues.
The next step here is to finalize the documentation..
discretize often makes use of the following two identities for the weak
form of the finite volume:
Previously we focused on approximating the volume integrals in the above equations, however to implement boundary conditions, we use the boundary face integrals!
As part of this, meshes now have a few new properties:
Together these are used in a few items that are correspond to the mass matrices,
operators.InnerProducts.get_face_inner_product(). These relate to the item that
they are operating on, and return the necessary matrix to integrate that quantity on
the default boundaries of the meshes.
You can investigate the source code of these functions to see how they are built if you need to design your own customized boundary.
All together we have also implemented two helper operators that can be used to reproduce common types of boundary conditions for a few PDE’s. These are based on Robin type conditions that can flexibly support multiple types of boundary conditions depending on the discrete value’s locations.
With the removal of
properties we will be updating the documentation to be more
explicit, but in the meantime this will make some items look less clear.
We will also be pushing out some tutorials on how to use the boundary conditions
to solve the boundary value PDE’s. In the meantime though, you can look at the boundary
condition test codes where we form a few PDE’s for convergence tests.
With reviews from: