Closed mattngc closed 7 years ago
Hi Matt,
please revert #0e47119. The issue is addressed at the data preparation phase by configuring the plasma density to mask off regions outside the LCFS using the Blend2D function. For example:
unmasked_density = Isomapper2D(psi_function, density_profile) density = Blend2D(Constant2D(0.0), unmasked_density, inside_lcfs)
This will return 0.0 outside the LCFS and the correct density profile inside.
Best regards,
Alex
This code should go in user scripts and objects preparing plasma nodes, rather than core.
Resolved by using new Blend2D class. Psi interpolation change reverted.