Armand Touminet
Armand Touminet
Related forum topic : https://fenicsproject.discourse.group/t/create-a-function-from-cell-data/7009 With the current `XDMFFile` api, one can write any dolfinx function to a xdmf file through the `write_function` function. However, there is no way of...
Consider the following code ```rust let a = arr2(&[[1.], [0.]]); let (q, r) = a.qr().unwrap(); println!("q = {}", q); println!("r = {}", r); ``` The output is ```shell q =...
Creating a tensor function space with `len(shape) > 2` fails. MWE ```python import dolfinx.fem, dolfinx.mesh from mpi4py import MPI mesh = dolfinx.mesh.create_unit_square(MPI.COMM_SELF, 3, 3) V = dolfinx.fem.TensorFunctionSpace(mesh, ("DG", 0), shape=(2,...
Instantiating an expression from a tensor valued constant fails. MWE ```python import dolfinx.fem, dolfinx.mesh from mpi4py import MPI import numpy as np mesh = dolfinx.mesh.create_unit_square(MPI.COMM_SELF, 3, 3) V = dolfinx.fem.TensorFunctionSpace(mesh,...