Gradients in 1D kernels


I would like to introduce the gradients at solution points in a 1D kernel (.e.g entropyfilter) to access them in the form:

gradu='in fpdtype_t[${str(nupts)}][${str(nvars)}][${str(ndims)}]'

Is it possible? If so, how?


This is not currently possible.

Adding this would require modifying the code generator to support arrays with three constant dimensions (as opposed to the current limit of two).

Regards, Freddie.

1 Like