Re: [deal.II] How to compute derivatives of the composite function with the reference cell mapping

2023-08-05 Thread Anton Evgrafov
Thank you Wolfgang, this does look relevant! /Anton On Sat, Aug 5, 2023 at 12:37 PM Wolfgang Bangerth wrote: > > On 8/5/23 04:30, Anton Evgrafov wrote: > > I have a problem involving a > > field living in R^{dim^2} and a field in R^{dim}. > > This may or may not be relevant to you, but it might

Re: [deal.II] How to compute derivatives of the composite function with the reference cell mapping

2023-08-05 Thread Wolfgang Bangerth
On 8/5/23 04:30, Anton Evgrafov wrote: I have a problem involving a field living in R^{dim^2} and a field in R^{dim}. This may or may not be relevant to you, but it might be worth taking a look at hyper.deal: https://github.com/hyperdeal/hyperdeal Best W. --

Re: [deal.II] How to compute derivatives of the composite function with the reference cell mapping

2023-08-05 Thread Anton Evgrafov
Simon, > That sounds doable and cheaper. If you are going for this, FEFieldFunction > might be useful: > https://www.dealii.org/developer/doxygen/deal.II/classFunctions_1_1FEFieldFunction.html I have now compared the implementation using UnitToReal function wrapper + QuadratureGenerator vs

Re: [deal.II] Neumann Boundary condition in MeshWorker for Automatic Differentiation

2023-08-05 Thread Wolfgang Bangerth
Also following this cause I want to know what are the MeshWorker alternatives since I am relying heavily on it in my code The problem with MeshWorker is that it was never well documented or tested, and that the people who wrote it are no longer affiliated with the project. We simply don't

Re: [deal.II] How to compute derivatives of the composite function with the reference cell mapping

2023-08-05 Thread Simon Sticko
Hi. If my element is not aligned with the axes, [...] is this what meant by the "perfect Cartesian" situation? Yes, exactly. If this is not what you have, I'm afraid the idea of generating the quadratures in real space is not an option. Another option I was contemplating is to apply the