transformToSpatialDomainWithFAllDerivatives
Developer documentation: this item describes internal implementation details.
Declaration
[u,ux,uy,uz] = transformToSpatialDomainWithFAllDerivatives(u_bar)
Parameters
u_barvariable with dimensions \((k,l,j)\)
Returns
uvariable u with dimensions \((x,y,z)\)uxvariable du/dx with dimensions \((x,y,z)\)uyvariable du/dy with dimensions \((x,y,z)\)uzvariable du/dz with dimensions \((x,y,z)\)
Discussion
This performs the same operation as transformToSpatialDomainWithF, but also returns the first-derivative in all three spatial directions.
The computation of these derivatives can be performed more efficiently if done simultaneously. So when performance is a requirement, it can be useful to call this function rather than request the derivatives individually.