(git:ed6f26b)
Loading...
Searching...
No Matches
grpp_spherical_harmonics.h
Go to the documentation of this file.
1/*----------------------------------------------------------------------------*/
2/* CP2K: A general program to perform molecular dynamics simulations */
3/* Copyright 2000-2025 CP2K developers group <https://cp2k.org> */
4/* */
5/* SPDX-License-Identifier: MIT */
6/*----------------------------------------------------------------------------*/
7
8/*
9 * libgrpp - a library for the evaluation of integrals over
10 * generalized relativistic pseudopotentials.
11 *
12 * Copyright (C) 2021-2023 Alexander Oleynichenko
13 */
14
15#ifndef LIBGRPP_SPHERICAL_HARMONICS_H
16#define LIBGRPP_SPHERICAL_HARMONICS_H
17
18/*
19 * Tables with pretabulated expansion coefficients
20 */
21typedef struct {
22 int L;
25 double *coeffs;
27
28double libgrpp_spherical_to_cartesian_coef(int l, int m, int lx, int ly);
29
30double libgrpp_evaluate_real_spherical_harmonic(int l, int m, const double *k);
31
32void libgrpp_evaluate_real_spherical_harmonics_array(int l, const double *k,
33 double *rsh_array);
34
36
38
39#endif // LIBGRPP_SPHERICAL_HARMONICS_H
rsh_coef_table_t * libgrpp_get_real_spherical_harmonic_table(int L)
double libgrpp_evaluate_real_spherical_harmonic(int l, int m, const double *k)
void libgrpp_create_real_spherical_harmonic_coeffs_tables(int Lmax)
double libgrpp_spherical_to_cartesian_coef(int l, int m, int lx, int ly)
void libgrpp_evaluate_real_spherical_harmonics_array(int l, const double *k, double *rsh_array)