Skip to content
Snippets Groups Projects
Commit 141591ad authored by hchou10's avatar hchou10
Browse files

forgot to push some files

parent adc7581a
No related branches found
No related tags found
No related merge requests found
Pipeline #168410 canceled
#ifdef KERNEL_TYPE
ComputeType(gaussian, gaussian_compute);
CreateType(gaussian, gaussian_create);
DestroyType(gaussian, gaussian_destroy);
#else
#ifndef GAUSSIAN_H_
#define GAUSSIAN_H_
#include <stddef.h>
typedef struct gaussian_kernel gaussian_kernel;
void* gaussian_create(char* name);
double gaussian_compute(size_t i, size_t j, size_t k, double* origin, double** basis, void* src);
void gaussian_destroy(void*);
#endif
#endif
#ifdef KERNEL_TYPE
ComputeType(lenard_jones1, lenard_jones_compute1);
CreateType(lenard_jones1, lenard_jones_create1);
DestroyType(lenard_jones1, lenard_jones_destroy1);
#else
#ifndef LENARD_JONES1_H_
#define LENARD_JONES1_H_
#include <stddef.h>
typedef struct lenard_jones_kernel1 lenard_jones_kernel1;
void* lenard_jones_create1(char* name);
double lenard_jones_compute1(size_t i, size_t j, size_t k, double* origin, double** basis, void* src);
void lenard_jones_destroy1(void*);
#endif
#endif
#ifdef KERNEL_TYPE
ComputeType(onc_elec, onc_elec_compute);
CreateType(onc_elec, onc_elec_create);
DestroyType(onc_elec, onc_elec_destroy);
#else
#ifndef ONC_ELEC_H_
#define ONC_ELEC_H_
#include <stddef.h>
typedef struct onc_elec_kernel onc_elec_kernel;
void* onc_elec_create(char* name);
double onc_elec_compute(size_t i, size_t j, size_t k, double* origin, double** basis, void* src);
void onc_elec_destroy(void*);
#endif
#endif
#ifdef KERNEL_TYPE
ComputeType(tabulated_pot, tabulated_pot_compute);
CreateType( tabulated_pot, tabulated_pot_create);
DestroyType(tabulated_pot, tabulated_pot_destroy);
#else
#ifndef TABULATED_POT_H_
#define TABULATED_POT_H_
#include <stddef.h>
typedef struct tabulated_pot_kernel tabulated_pot_kernel;
void* tabulated_pot_create(char* name);
double tabulated_pot_compute(size_t i, size_t j, size_t k, double* origin, double** basis, void* src);
void tabulated_pot_destroy(void*);
#endif
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment