bcube-project / Bcube.jl

MIT License
5 stars 2 forks source link

Broadcast for `var_on_centers` and `var_on_vertices` #122

Open bmxam opened 3 months ago

bmxam commented 3 months ago

We should allow

values_u, values_v = var_on_centers(mesh, (u, v))

because up to now we have to call var_on_centers twice in a row for this (so we loop twice on the mesh), which is a bit stupid.