|
occ
|
Structure to hold radial grid data. More...
#include <grid_types.h>
Public Member Functions | |
| RadialGrid ()=default | |
| Default constructor. | |
| RadialGrid (size_t num_points) | |
| Constructor that pre-allocates memory. | |
| size_t | num_points () const |
| Gets the number of points in the grid. | |
Public Attributes | |
| Vec | points |
| Radial points (distances from the center) | |
| Vec | weights |
| Integration weights for each point. | |
Structure to hold radial grid data.
Contains the radial points and corresponding weights for numerical integration
|
default |
Default constructor.
| occ::numint::RadialGrid::RadialGrid | ( | size_t | num_points | ) |
Constructor that pre-allocates memory.
| num_points | Number of grid points to allocate |
|
inline |
Gets the number of points in the grid.
| Vec occ::numint::RadialGrid::points |
Radial points (distances from the center)
| Vec occ::numint::RadialGrid::weights |
Integration weights for each point.