PlasmaControl / DESC

Stellarator Equilibrium and Optimization Suite
MIT License
87 stars 22 forks source link

Weight all objective residuals by area element #944

Open f0uriest opened 6 months ago

f0uriest commented 6 months ago

Some objectives (like force) properly weight by the area/volume element but this isn't true for many of the others (such as geometry, QS error etc), which can allow the optimizer to "cheat" by stretching and compressing things in areas of low/high error

dpanici commented 5 months ago

Must also update objective units when this weighting is added

dpanici commented 2 months ago

Easy for target=0 case