(git:374b731)
Loading...
Searching...
No Matches
grid_dgemm_coefficients.c File Reference
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../common/grid_common.h"
#include "grid_dgemm_coefficients.h"
#include "grid_dgemm_private_header.h"
#include "grid_dgemm_tensor_local.h"

Go to the source code of this file.

Functions

void transform_xyz_to_triangular (const tensor *const coef, double *const coef_xyz)
 
void transform_yxz_to_triangular (const tensor *const coef, double *const coef_xyz)
 
void transform_triangular_to_xyz (const double *const coef_xyz, tensor *const coef)
 
void grid_compute_coefficients_dgemm (const int *lmin, const int *lmax, const int lp, const double prefactor, const tensor *const alpha, const tensor *const pab, tensor *coef_xyz)
 
void grid_compute_vab (const int *const lmin, const int *const lmax, const int lp, const double prefactor, const tensor *const alpha, const tensor *const coef_xyz, tensor *vab)
 
void grid_prepare_alpha_dgemm (const double ra[3], const double rb[3], const double rp[3], const int *lmax, tensor *alpha)
 
void grid_transform_coef_xzy_to_ikj (const double dh[3][3], const tensor *coef_xyz)
 
void grid_transform_coef_jik_to_yxz (const double dh[3][3], const tensor *coef_xyz)
 

Function Documentation

◆ transform_xyz_to_triangular()

void transform_xyz_to_triangular ( const tensor *const  coef,
double *const  coef_xyz 
)

Definition at line 20 of file grid_dgemm_coefficients.c.

◆ transform_yxz_to_triangular()

void transform_yxz_to_triangular ( const tensor *const  coef,
double *const  coef_xyz 
)

Definition at line 36 of file grid_dgemm_coefficients.c.

◆ transform_triangular_to_xyz()

void transform_triangular_to_xyz ( const double *const  coef_xyz,
tensor *const  coef 
)

Definition at line 51 of file grid_dgemm_coefficients.c.

◆ grid_compute_coefficients_dgemm()

void grid_compute_coefficients_dgemm ( const int *  lmin,
const int *  lmax,
const int  lp,
const double  prefactor,
const tensor *const  alpha,
const tensor *const  pab,
tensor coef_xyz 
)

Definition at line 72 of file grid_dgemm_coefficients.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ grid_compute_vab()

void grid_compute_vab ( const int *const  lmin,
const int *const  lmax,
const int  lp,
const double  prefactor,
const tensor *const  alpha,
const tensor *const  coef_xyz,
tensor vab 
)

Definition at line 120 of file grid_dgemm_coefficients.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ grid_prepare_alpha_dgemm()

void grid_prepare_alpha_dgemm ( const double  ra[3],
const double  rb[3],
const double  rp[3],
const int *  lmax,
tensor alpha 
)

Definition at line 173 of file grid_dgemm_coefficients.c.

Here is the caller graph for this function:

◆ grid_transform_coef_xzy_to_ikj()

void grid_transform_coef_xzy_to_ikj ( const double  dh[3][3],
const tensor coef_xyz 
)

Definition at line 213 of file grid_dgemm_coefficients.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ grid_transform_coef_jik_to_yxz()

void grid_transform_coef_jik_to_yxz ( const double  dh[3][3],
const tensor coef_xyz 
)

Definition at line 305 of file grid_dgemm_coefficients.c.

Here is the call graph for this function:
Here is the caller graph for this function: