STARS-H
Software for Testing Accuracy, Reliability and Scalability of Hierarchical computations
starsh-acoustic.h
Go to the documentation of this file.
1 
14 #ifndef __STARSH_ACOUSTIC_H__
15 #define __STARSH_ACOUSTIC_H__
16 
25 // Add definitions for size_t, va_list, STARSH_kernel and STARSH_particles
26 #include "starsh.h"
27 #include "starsh-particles.h"
28 
29 typedef struct starsh_acdata
31 {
32  char dtype;
34  int train; // number of traingles
35  int nipp; //number of quadrature points
36  int mesh_points;
37  int mordering;
39 
40 
41 void starsh_generate_3d_acoustic(int nrows, int ncols,
42  STARSH_int *irow, STARSH_int *icol, void *row_data, void *col_data,
43  void *result, int lda);
44 
46  int ndim, int train, int nipp, int mordering, char* file_name, char* file_name_interpl);
47 void starsh_generate_acoustic_rhs(int nip, int ntrain, double _Complex *crhs, int m, int n, int local_nt, int nb);
48 void starsh_generate_acoustic_near_sca(double _Complex *rhs, int nip, int ntrian);
49 
50 
51 // C wrapper for Fortran
52 void generate_mesh_points_serials(int *nip, int *ntrain, char* file_name, int* filelength1, char* file_name_interpl, int* filelength2);
53 void acoustic_generate_kernel(int *nip, int *ntrian, double _Complex *zz, int *q, int *p, int *local_nt, int *nb);
54 void acoustic_generate_rhs(int *nip, int *ntrain, double _Complex *crhs, int *m, int *n, int *local_nt, int *nb);
55 void acoustic_generate_near_sca(double _Complex *rhs, int *nip, int *ntrian);
56 
57 #endif // __STARSH_ACOUSTIC_H__
ssize_t STARSH_int
STARSH signed integer to support more, than MAX_INT rows/columns.
Definition: starsh.h:64
#define ndim
Replace variable ndim with static integer value.
Definition: kernel_sin_1d.c:28
void starsh_generate_3d_acoustic(int nrows, int ncols, STARSH_int *irow, STARSH_int *icol, void *row_data, void *col_data, void *result, int lda)
Definition: acoustic.c:40
void starsh_generate_acoustic_rhs(int nip, int ntrain, double _Complex *crhs, int m, int n, int local_nt, int nb)
Definition: acoustic.c:67
void starsh_generate_acoustic_near_sca(double _Complex *rhs, int nip, int ntrian)
Definition: acoustic.c:80
struct starsh_acdata STARSH_acdata
Structure for mesh deformation problems.
int starsh_generate_3d_acoustic_coordinates(STARSH_acdata **data, STARSH_int mesh_points, int ndim, int train, int nipp, int mordering, char *file_name, char *file_name_interpl)
Definition: mesh_acoustic.c:35
Structure for mesh deformation problems.
Definition: starsh-acoustic.h:29