DedalusProject / dedalus

A flexible framework for solving PDEs with modern spectral methods.
http://dedalus-project.org/
GNU General Public License v3.0
513 stars 121 forks source link

Converting between bases of different shapes #180

Open kburns opened 2 years ago

kburns commented 2 years ago

It currently looks like conversions are skipped when the input/output bases are the same type, regardless of whether they are the same shape. This should be fixed so that fields that are constant along some directions in e.g. spherical coordinates can be used in arithmetic with other fields.