occ
Loading...
Searching...
No Matches
occ::dft::RadialGrid Struct Reference

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.
 

Detailed Description

Structure to hold radial grid data.

Contains the radial points and corresponding weights for numerical integration

Constructor & Destructor Documentation

◆ RadialGrid() [1/2]

occ::dft::RadialGrid::RadialGrid ( )
default

Default constructor.

◆ RadialGrid() [2/2]

occ::dft::RadialGrid::RadialGrid ( size_t  num_points)

Constructor that pre-allocates memory.

Parameters
num_pointsNumber of grid points to allocate

Member Function Documentation

◆ num_points()

size_t occ::dft::RadialGrid::num_points ( ) const
inline

Gets the number of points in the grid.

Returns
The number of grid points

Member Data Documentation

◆ points

Vec occ::dft::RadialGrid::points

Radial points (distances from the center)

◆ weights

Vec occ::dft::RadialGrid::weights

Integration weights for each point.


The documentation for this struct was generated from the following file: