|
Stellarator and Tokamak Modeling and Meshing Software (STOMMS)
|
Functions | |
| Model | generateCoreSimModelVmec (std::vector< PlaneMetaData > mD, const VmecData &vm) |
| pGModel | simModelFromVmec (pVmecFlux vf, int npsi, int nzeta, const double *psis, const double *zetas) |
| Model generateCoreSimModelVmec | ( | std::vector< PlaneMetaData > | mD, |
| const VmecData & | vm | ||
| ) |
From a given Vmec File, generate the model of the core region of stellarator
| mD | a vector of planes with their meta data. |
| pGModel simModelFromVmec | ( | pVmecFlux | vf, |
| int | npsi, | ||
| int | nzeta, | ||
| const double * | psis, | ||
| const double * | zetas | ||
| ) |
From Vmec flux data (vf), flux indices (nrho and rhos), and, poloidal planes (nzeta and zetas) generate a Simmetrix model (pGModel model).
| vf | flux data on all the planes. |
| npsi | number of flux curves on each plane. |
| nzeta | number of poloidal planes. |
| psis | an input array holding flux normalized psi values. |
| zetas:an | input array holding toroidal angles of the poloidal planes. |