PlasmaControl / Stellarator-Database

This repository includes the functions required to upload DESC or VMEC results to the stellarator database.
MIT License
2 stars 1 forks source link

Change `D_Mercier` and any other radial profile data to be computed for a grid with only radial nodes #3

Closed dpanici closed 3 weeks ago

dpanici commented 5 months ago

Right now, the grid that the Mercier stability is computed on has poloidal resolution, but Mercier stability is a flux surface average quantity, so the database column for mercier has a lot of repeated numbers since the quantity is constant on each flux surface.

Should only calculate radial profile quantities on a grid with only radial nodes (M=0 N=0)

YigitElma commented 3 weeks ago

It should have been resolved by this. https://github.com/PlasmaControl/Stellarator-Database/blob/main/stelladb/db_desc.py#L911