Open
Description
It's not a Field
. The docstring for the struct admits as much:
Oceananigans.jl/src/Fields/background_fields.jl
Lines 33 to 41 in 7a4b3f0
and this temporary struct is always thrown away to build a "real" field:
Oceananigans.jl/src/Fields/background_fields.jl
Lines 63 to 64 in 7a4b3f0
The problem is that the name leads to confusing patterns like
where B_field
is not a field. Indeed, later on when we need a "real" field we have to write
Can we think of a better name? For example BackgroundFieldInfo
is one. That's sorta clumsy though. Maybe we can come up with something more concise and elegant.
cc @tomchor @hdrake @liuchihl because you are using this feature