|
Stellarator and Tokamak Modeling and Meshing Software (STOMMS)
|
Classes | |
| struct | CurvesGroup |
| struct | Adj |
| struct | FluxCompare |
Functions | |
| std::map< int, std::vector< int > > | modelFaceClassification (const std::vector< Face > &modelFaces) |
| std::map< int, std::vector< int > > | modelVertexClassification (Vertex oPoint, std::vector< Vertex > xPoints) |
| std::vector< Flux > | curveIndexing (const std::vector< Flux > &fluxCurves) |
| std::map< std::string, CurvesGroup > | curveClassification (const std::vector< Flux > &fluxCurves, const std::vector< Edge > &wallCurve) |
| std::vector< int > | getModelEdgesTagsOnCurve (const Flux &curve) |
| std::string | getFaceType (int faceId) |
| std::string | getEdgeType (int edgeId) |
| std::string | getVertexType (int vertexId) |
| Adj | getAdjacency (int inDim, const Plane &plane) |
| Adj | getVertexAdj (const std::vector< Vertex > &vertices) |
| Adj | getEdgeAdj (const std::vector< Edge > &edges) |
| Adj | getFaceAdj (const std::vector< Face > &faces) |
| template<typename T > | |
| void | writeAdios2Array (adios2::IO &io, adios2::Engine &writer, std::vector< T > arrayData, int ncomp, std::string &name) |
| template<typename T > | |
| void | writeAdios2Value (adios2::IO &io, adios2::Engine &writer, T value, std::string &name) |
| std::map< std::string, CurvesGroup > curveClassification | ( | const std::vector< Flux > & | fluxCurves, |
| const std::vector< Edge > & | wallCurve | ||
| ) |
Function to return a map with type of curve as key (closed, open, separatrix, wall) and list of curves in that particular group (stored in class CurveGroup).
| fluxCurves | a vector of sorted flux curves (sorted in terms of psi values). |
| wallCurve | wall curve ( a vector of model edges on wall curve). |
Function to arrange and index the curves as needed in XGC.
| fluxCurves | a vector of unsorted flux curves. |
Given a vector of model edges, return both vertex and face adjacencies on all the model edges.
| edges | a vector of model edges. |
| std::string getEdgeType | ( | int | edgeId | ) |
Given the physics type id of model edge, returns the name of physics property.
| edgeId | physics Id (curve type) of the model edge. |
Given a vector of model faces, return both vertex and edge adjacencies on all the model faces.
| faces | a vector of model faces. |
| std::string getFaceType | ( | int | faceId | ) |
Given the physics type id of model face, returns the name of physics property.
| faceId | physics Id (physics region type) of the model face. |
| std::vector< int > getModelEdgesTagsOnCurve | ( | const Flux & | curve | ) |
Function to return a vector of tags of model edges that are classified on a curve.
| curve | curve on which model edges tags are needed. |
Given a vector of model vertices, return both edge and face adjacencies on all the model vertices.
| vertices | a vector of model vertices. |
| std::string getVertexType | ( | int | vertexId | ) |
Given the physics type id of model vertex, returns the name of physics property.
| vertexId | physics Id (critical point type) of the model vertex. |
| std::map< int, std::vector< int > > modelFaceClassification | ( | const std::vector< Face > & | modelFaces | ) |
Function to get a map between physics classification (int) and list of tags of model entities classified on them. int = 0-7.
| modelFaces | a vector of model faces which need classification. |
| std::map< int, std::vector< int > > modelVertexClassification | ( | Vertex | oPoint, |
| std::vector< Vertex > | xPoints | ||
| ) |
Function to get a map between physics classification (int) and list of tags of model entities classified on them. int = 0-2 (xPoint, oPoint, none).
| oPoint | model vertex classified on oPoint. |
| xPoints | a vector of x-point model vertices. |
| void writeAdios2Array | ( | adios2::IO & | io, |
| adios2::Engine & | writer, | ||
| std::vector< T > | arrayData, | ||
| int | ncomp, | ||
| std::string & | name | ||
| ) |
Function to write an array(2D) in adios2 file.
| io | adios2 IO. |
| writer | adios2 write engine. |
| arrayData | array data in vector. |
| ncomp | Number of components. The output array size = arrayData.size()/ncomp |
| name | output array name. |
| void writeAdios2Value | ( | adios2::IO & | io, |
| adios2::Engine & | writer, | ||
| T | value, | ||
| std::string & | name | ||
| ) |
Function to write a value in adios2 file.
| io | adios2 IO. |
| writer | adios2 write engine. |
| value | value to be written to adios2 file. |
| name | output variable name in adios2 file. |