A single wavefunction in the plane-wave basis: c_G coefficients on a GVectorGrid. More...
#include <init.hpp>
Inheritance diagram for q3::PlanewaveWavefunction:Public Member Functions | |
| PlanewaveWavefunction ()=default | |
| Complex * | coefficient_data () |
| Raw coefficient data pointer (for BLAS/LAPACK interop). | |
| const Complex * | coefficient_data () const |
| Complex | evaluate (const ReciprocalSpaceVector &g_vector) const override |
| Evaluate the wavefunction at a reciprocal-space vector. | |
| int | number_of_components () const override |
| Number of components per wavefunction (always 1 for scalar states). | |
| int | number_of_plane_waves () const |
| Number of plane-wave coefficients. | |
| void | resize (int number_of_plane_waves) |
| Resize the coefficient storage. | |
Public Member Functions inherited from q3::ReciprocalSpaceWavefunction | |
| ~ReciprocalSpaceWavefunction () override=default | |
Public Member Functions inherited from q3::Wavefunction | |
| virtual | ~Wavefunction ()=default |
Public Member Functions inherited from q3::OnGridFunctionMixin< GVectorsGrid, Complex > | |
| const GVectorsGrid & | grid () const |
| Access the grid this function is defined on. | |
| int | number_of_grid_points () const |
| Number of grid points. | |
| Complex & | value_at_index (int index) |
| const Complex & | value_at_index (int index) const |
| Access a single value by grid point index. | |
| const std::vector< Complex > & | values () const |
| Access all values on the grid. | |
Additional Inherited Members | |
Protected Attributes inherited from q3::OnGridFunctionMixin< GVectorsGrid, Complex > | |
| GVectorsGrid | grid_ |
| std::vector< Complex > | values_ |
A single wavefunction in the plane-wave basis: c_G coefficients on a GVectorGrid.
|
default |
|
inline |
Raw coefficient data pointer (for BLAS/LAPACK interop).
Definition at line 48 of file init.hpp.
References q3::OnGridFunctionMixin< GVectorsGrid, Complex >::values_.
|
inline |
Definition at line 51 of file init.hpp.
References q3::OnGridFunctionMixin< GVectorsGrid, Complex >::values_.
|
inlineoverridevirtual |
Evaluate the wavefunction at a reciprocal-space vector.
Implements q3::ReciprocalSpaceWavefunction.
|
inlineoverridevirtual |
Number of components per wavefunction (always 1 for scalar states).
Implements q3::Wavefunction.
|
inline |
Number of plane-wave coefficients.
Definition at line 43 of file init.hpp.
References q3::OnGridFunctionMixin< GVectorsGrid, Complex >::number_of_grid_points().
Referenced by resize().
|
inline |
Resize the coefficient storage.
Definition at line 56 of file init.hpp.
References number_of_plane_waves(), and q3::OnGridFunctionMixin< GVectorsGrid, Complex >::values_.