Chris Richardson

Results 27 issues of Chris Richardson

### Problem description If we have a function which takes a const reference, it should be possible to do something like this: `m.def("get_dim", [](const nb::tensor& x){ return x.ndim(); });` and...

* Adds block size Could possibly use templating for `bs` in `add_csr` and `set_csr`? How to support insertion of 'block data' into an unblocked matrix?

enhancement

* Reduces code in non-local dual graph * Returns additional data: list of vertices which lie on the inter-process boundary This PR is a step towards a new strategy for...

Simple change to `mesh::Geometry` to accept multiple Coordinate Maps. Existing code often expects one map, so there are many places where we need to check and raise an error.

* Allow ffcx to produce sycl compatible output

When using P2 geometry, `CellDiameter` raises a warning in UFL followed by an error in ffc: ``` WARNING:UFL:Only know how to compute cell diameter of P1 or Q1 cell. ".../access.py",...

**[Original report](https://bitbucket.org/fenics-project/FIAT/issue/28) by Martin Sandve Alnæs (Bitbucket: [martinal](https://bitbucket.org/martinal), GitHub: [martinal](https://github.com/martinal)).** ---------------------------------------- An alternative family of quadrature points is the economical Gauss rules found here (reference at top of this file):...

enhancement
major
dev

Files in FIAT still use old long-format license in every file.

**[Original report](https://bitbucket.org/fenics-project/FIAT/issue/19) by Jan Blechta (Bitbucket: [blechta](https://bitbucket.org/blechta), GitHub: [blechta](https://github.com/blechta)).** ---------------------------------------- Information about supporting entities of dofs is thrown away in some subclasses of `FiniteElement`, e.g. `DiscontinuousLagrange`. The information is readily...

enhancement
minor

**[Original report](https://bitbucket.org/fenics-project/FIAT/issue/27) by Miklós Homolya (Bitbucket: [miklos1](https://bitbucket.org/miklos1), GitHub: [miklos1](https://github.com/miklos1)).** ---------------------------------------- FIAT has generic rules for generating arbitrary order collapsed quadrature on triangles and tetrahedra (`"canonical"`). It also has a few...

enhancement
minor