Ben Knight

Results 17 issues of Ben Knight

**Describe the bug** - What is the bug? Memory leak, where memory usage goes up each iteration. Does not occur in serial, only when running in parallel. - What version...

I'm having an issue evaluating on the swarm. I need to first do an evaluate on the mesh for the swarm evaluate to then work. No issues with the evalf...

UW is producing an index error when running on multiple processors: ``` Traceback (most recent call last): File "/Users/benknight/Documents/Research/Modelling/UW-models/UW3-dev/passive_swarm_issue.py", line 64, in test_ps.data[:,0] = 1. File "/Users/benknight/Documents/Research/GitHub/underworld3/src/underworld3/swarm.py", line 1513, in...

With increasing resolution the error is not showing a convergence order: ![AdvDiff_HP_convergence](https://github.com/underworldcode/underworld3/assets/55677727/f3c22513-b393-4939-9e02-bca3964b8ee0) The errors are concentrated at the diffusive boundary: unknown (T) degree comparison: ![Hot_pipe_l1_deg_comparison](https://github.com/underworldcode/underworld3/assets/55677727/9e8d4cd9-a421-4d55-b694-209077524fa1) diffusivity (D) value comparison: ![Hot_pipe_l1_D_comparison](https://github.com/underworldcode/underworld3/assets/55677727/7c0e2622-6c7a-4d86-90da-1961e16504e2)...

Currently has two different versions. A quick implementation that calculates the distance from the current swarm to the original swarm and adds n particles which are sorted from furtherest to...

Changes to code due to updating the _gather_data_ function. _Should_ now work for all dtypes

Do we want the user to be able to adjust the max number of iterations or always limit solves to 50? https://github.com/underworldcode/underworld3/blob/32a3e022b213aaca2732e6a516a816dea8ba247b/src/underworld3/cython/petsc_generic_snes_solvers.pyx#L2590

**Is your feature request related to a problem? Please describe.** Allow F0 and F1 to be set in a generic solver. This would allow users to create their own solvers...

**Describe the bug** unable to use/read uw options if `from petsc4py import PETSc` is imported first What version of underworld3 are you running and how to reproduce the bug. Current...

Hi team, I'm trying to set up a two-component system as follows: $$ \frac{\partial C_{\text{A}}}{\partial t} = \nabla \cdot \left( D_{\text{AA}} \nabla C_{\text{A}} + D_{\text{AB}} \nabla C_{\text{B}} \right) $$ $$...