Welcome to PSyclone Discussions! #1030
Replies: 3 comments 9 replies
-
I've only recently started learning PSyclone, so this question is probably quite silly, but why do LFRic (Dynamo0.3) API built-ins only operate on DoFs? What if I want to do an operation column-wise? |
Beta Was this translation helpful? Give feedback.
-
Hi Dennis, it is certainly not a silly question. As you probably know, there are coded kernels, that the scientist writes and there are builtin's that PSyclone recognises and adds the required code (so the scientist does not need to write the code). It was decided that it did not make sense for scientists to have to write algebraic operations as kernels so we added support for these as builtins. It so happens that these iterates over dofs. Similarly it so happens that coded kernels are written over columns. I think that PSyclone has checks that enforce this at the moment (but would need to check). However, there is no fundamental reason to limit builtins to iterating over dofs and coded kernels to iterating over columns (it would just require some additional tests and checks in PSyclone). So, to answer your question ... at the moment, if you want to do a columnwise operation you write a kernel to do it. |
Beta Was this translation helpful? Give feedback.
-
And another question: what is the significance of using the vs |
Beta Was this translation helpful? Give feedback.
-
👋 Welcome!
We’re using Discussions as a place to connect with other members of our community. We hope that you:
build together 💪
Beta Was this translation helpful? Give feedback.
All reactions