Closed OsbertWang closed 1 year ago
You can use either: https://packages.ubuntu.com/kinetic/python3-dolfinx-real or https://packages.ubuntu.com/kinetic/python3-dolfinx-complex as they are an either or dependency of https://packages.ubuntu.com/kinetic/python3-dolfinx
After reading the tutorial, I understand that Docker has the ability to switch between float64 and complex128. However, I am unsure of how to do this on Ubuntu 22.04. To begin, I ran the command
dpkg -l | grep petsc
and obtained a list of packages.From this list, I can see that
pyhon3-petsc4py-complex
is already installed. But the current scalar type in python3 is still<class 'numpy.float64'>
. What steps should I take next to switch betweenfloat64
andcomplex128
?