libkernels.cpp 667 B

12345678910111213141516171819
  1. #include <kernels.h>
  2. #include <template-kernels.hpp>
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. void helm3d_d_(const int32_t* nd, const double* zk, const double* sources, const double* charge, const int32_t* ns, const double* ztarg, const int32_t* nt, double* pot, const double* thresh) {
  7. helm3d<double>(nd, zk, sources, charge, ns, ztarg, nt, pot, thresh);
  8. }
  9. void helm3d_vec_d_(const int32_t* nd, const double* zk, const double* sources, const double* charge, const int32_t* ns, const double* ztarg, const int32_t* nt, double* pot, const double* thresh) {
  10. helm3d_vec<double,4>(nd, zk, sources, charge, ns, ztarg, nt, pot, thresh);
  11. }
  12. #ifdef __cplusplus
  13. }
  14. #endif