#include <grid_files.hpp>
|
void | convert_to_x_rgn_format (const View< double **, CLayout, HostType > &tmp_nodes, View< RZPair *, HostType > &x, View< int *, HostType > &rgn) |
|
void | convert_to_node_format (const View< int **, CLayout, HostType > &tmp_ele, View< Vertex *, HostType > &nodes) |
|
View< int *, HostType > | pack_scalars (int max_nodes_on_surface, int n_xpts, int n_separatrices) const |
|
void | unpack_scalars (const View< int *, HostType > &scalars, int &max_nodes_on_surface, int &n_xpts, int &n_separatrices) |
|
| PlaneFiles () |
|
void | construct_hex_grid (int nshells, double raxis, double zaxis, double rscale, double zscale) |
|
double | node_to_node_dist (RZPair a, RZPair b) |
|
void | construct_circular_grid (int nshells, double raxis, double zaxis, double rscale, double zscale) |
|
| PlaneFiles (int nshells, double raxis, double zaxis, double rscale, double zscale, GridCreateOpt grid_opt=Hexagonal) |
|
| PlaneFiles (MagneticField< HostType > &magnetic_field, int nshells, GridCreateOpt grid_opt=Hexagonal) |
|
int | n_specified_xpts () const |
|
View< Equil::XPoint *, HostType > | get_xpts () const |
|
|
int | nnodes |
|
View< RZPair *, HostType > | x |
|
View< int *, HostType > | rgn |
|
int | ntriangles |
|
View< Vertex *, HostType > | nodes |
|
View< int *, HostType > | i_x |
|
int | nsurfaces |
|
int | nsurfaces1 |
|
int | nsurfaces2 |
|
int | nsurfaces3a |
|
int | nsurfaces3b |
|
View< int *, HostType > | i_surf_separatrices |
|
View< int *, HostType > | nnodes_on_surface |
|
int | sum_nnodes_on_surfaces |
|
int | num_non_aligned |
|
View< int *, HostType > | non_aligned_vert |
|
View< int *, HostType > | non_aligned_nsurf |
|
View< int **, CLayout, HostType > | non_aligned_surf_idx |
|
View< int **, CLayout, HostType > | surf_idx |
|
Enumerator |
---|
Hexagonal |
|
Circular |
|
PlaneFiles::PlaneFiles |
( |
| ) |
|
|
inline |
PlaneFiles::PlaneFiles |
( |
int |
nshells, |
|
|
double |
raxis, |
|
|
double |
zaxis, |
|
|
double |
rscale, |
|
|
double |
zscale, |
|
|
GridCreateOpt |
grid_opt = Hexagonal |
|
) |
| |
|
inline |
Constructor to create analytic grid (hexagonal shells) given center and triangle scale
- Parameters
-
[in] | nshells | is the number of concentric hexagons to be constructed |
[in] | raxis | is where the grid is to be centered (r coord) |
[in] | zaxis | is where the grid is to be centered (z coord) |
[in] | rscale | is the length of the triangles |
[in] | zscale | is the height of the triangles |
Constructor to create analytic grid (hexagonal shells) to fit the magnetic field provided
- Parameters
-
[in] | magnetic_field | is the magnetic field that the grid should fit |
[in] | nshells | is the number of concentric hexagons to be constructed |
void PlaneFiles::construct_circular_grid |
( |
int |
nshells, |
|
|
double |
raxis, |
|
|
double |
zaxis, |
|
|
double |
rscale, |
|
|
double |
zscale |
|
) |
| |
|
inline |
Construct the circular grid
- Parameters
-
[in] | nshells | is the number of concentric circles to be constructed |
[in] | raxis | is where the grid is to be centered (r coord) |
[in] | zaxis | is where the grid is to be centered (z coord) |
[in] | rscale | is the length of the triangles |
[in] | zscale | is the height of the triangles |
void PlaneFiles::construct_hex_grid |
( |
int |
nshells, |
|
|
double |
raxis, |
|
|
double |
zaxis, |
|
|
double |
rscale, |
|
|
double |
zscale |
|
) |
| |
|
inline |
Construct the analytic hexagonal grid
- Parameters
-
[in] | nshells | is the number of concentric hexagons to be constructed |
[in] | raxis | is where the grid is to be centered (r coord) |
[in] | zaxis | is where the grid is to be centered (z coord) |
[in] | rscale | is the length of the triangles |
[in] | zscale | is the height of the triangles |
int PlaneFiles::n_specified_xpts |
( |
| ) |
const |
|
inline |
Determine distance between two node points
- Parameters
-
[in] | a | is the first point |
[in] | b | is the second point |
static int PlaneFiles::nshells_from_nnodes |
( |
int |
nnodes | ) |
|
|
inlinestatic |
View<int*, HostType> PlaneFiles::pack_scalars |
( |
int |
max_nodes_on_surface, |
|
|
int |
n_xpts, |
|
|
int |
n_separatrices |
|
) |
| const |
|
inline |
void PlaneFiles::unpack_scalars |
( |
const View< int *, HostType > & |
scalars, |
|
|
int & |
max_nodes_on_surface, |
|
|
int & |
n_xpts, |
|
|
int & |
n_separatrices |
|
) |
| |
|
inline |
View<int*, HostType> PlaneFiles::i_surf_separatrices |
View<int*, HostType> PlaneFiles::nnodes_on_surface |
View<int*, HostType> PlaneFiles::non_aligned_nsurf |
View<int*, HostType> PlaneFiles::non_aligned_vert |
int PlaneFiles::nsurfaces |
int PlaneFiles::nsurfaces1 |
int PlaneFiles::nsurfaces2 |
int PlaneFiles::nsurfaces3a |
int PlaneFiles::nsurfaces3b |
int PlaneFiles::ntriangles |
int PlaneFiles::num_non_aligned |
int PlaneFiles::sum_nnodes_on_surfaces |
The documentation for this struct was generated from the following file:
- /u/gitlab-xgc/builds/YGMz2TJ8/0/xgc/XGC-Devel/XGC_core/cpp/grid_files.hpp