Page MenuHomec4science

gradientgridCPU.hpp
No OneTemporary

File Metadata

Created
Wed, Oct 16, 05:59

gradientgridCPU.hpp

/*
* gradientgridCPU.hpp
*
* Created on: Dec 2, 2016
* Author: cerschae
*/
#ifndef GRADIENTGRIDCPU_HPP_
#define GRADIENTGRIDCPU_HPP_
#include "structure.h"
#include <iostream>
#include <string.h>
//#include <cuda_runtime.h>
#include <math.h>
#include <sys/time.h>
#include <fstream>
#include <immintrin.h>
void gradient_grid_CPU(double *grid_grad_x, double *grid_grad_y, const struct grid_param *frame, const struct Potential_SOA *lens, int *Nlens);
static void gradient_grid_piemd_CPU(double *grid_grad_x, double *grid_grad_y, const struct grid_param *frame, int Nlens, double * lens_x, double *lens_y, double * lens_b0, double *lens_angle, double *lens_epot, double *lens_rcore, double *lens_rcut);
static struct point rotateCoordinateSystem(struct point P, double theta);
#endif /* GRADIENTGRIDCPU_HPP_ */

Event Timeline