|
Stellarator and Tokamak Modeling and Meshing Software (STOMMS)
|
Functions | |
| Model | generateSimModelVmec (std::vector< PlaneMetaData > md, const PhysicalGeometry &pg, const VmecData &vm) |
| void | generateWallFaceVmec (pGModel model, std::vector< PlaneMetaData > md, const PhysicalGeometry &pg, const VmecData &vm) |
| std::vector< Point > | convertFromCylindricalToCartesian (const std::vector< Point > &points, double phi) |
| pGModel | generateCoreSimModelVmec (std::vector< PlaneMetaData > mD, const VmecData &vm) |
| pGModel | simModelFromVmec (pVmecFlux vf, int npsi, int nzeta, const double *psis, const double *zetas) |
| std::vector< Point > convertFromCylindricalToCartesian | ( | const std::vector< Point > & | points, |
| double | phi | ||
| ) |
Given a vector of points in RZ coordinate, and an input toroidal angle phi, convert the points to Cartesian coordinates.
| points | a vector of RZ points (in Cylindrical coordinates). |
| phi | toroidal angle phi. |
| pGModel 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. |
| vm | an object of vmec data class. |
| Model generateSimModelVmec | ( | std::vector< PlaneMetaData > | md, |
| const PhysicalGeometry & | pg, | ||
| const VmecData & | vm | ||
| ) |
From given Vmec data and meta data, generate the model of the stellarator.
| mD | a vector of planes with their meta data. |
| pg | Information related to phsyical geometry (wall curve for now). |
| vm | vmec class containing all the vmec data. |
| void generateWallFaceVmec | ( | pGModel | model, |
| std::vector< PlaneMetaData > | md, | ||
| const PhysicalGeometry & | pg, | ||
| const VmecData & | vm | ||
| ) |
Given a pGModel and wall data, add wall curves and model face to the model.
| mD | a vector of planes with their meta data. |
| pg | Information related to phsyical geometry (wall curve for now). |
| vm | vmec class containing all the vmec 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. |