[firedrake] Difference between u.split() and split(u)
Andrew McRae
A.T.T.McRae at bath.ac.uk
Wed Nov 4 14:55:39 GMT 2015
Use split(u) when you're going to use the constituent parts in symbolic
forms.
Use u.split() when you want to, e.g., look at the separate fields or
manipulate them.
(you're about the 10,000th person to meet the split/split confusion!)
On 4 November 2015 at 14:51, Buesing, Henrik <HBuesing at eonerc.rwth-aachen.de
> wrote:
> Dear all,
>
>
>
> I have a multi-physics problem and u is my unknown. I was wondering what
> the difference between
>
>
>
> u.split() and split(u)
>
>
>
> is.
>
>
>
> It seems that the Jacobian is only right, when I use split(u) and then
> further use this in subroutines. If I use u.split() my Jacobian is zero…
>
>
>
> Thank you!
>
> Henrik
>
>
>
>
>
> --
>
> Dipl.-Math. Henrik Büsing
>
> Institute for Applied Geophysics and Geothermal Energy
>
> E.ON Energy Research Center
>
> RWTH Aachen University
>
> ------------------------------------------------------
>
> Mathieustr. 10 | Tel +49 (0)241 80 49907
>
> 52074 Aachen, Germany | Fax +49 (0)241 80 49889
>
> ------------------------------------------------------
>
> http://www.eonerc.rwth-aachen.de/GGE
>
> hbuesing at eonerc.rwth-aachen.de
>
> ------------------------------------------------------
>
>
>
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the firedrake
mailing list