STARS-H
Software for Testing Accuracy, Reliability and Scalability of Hierarchical computations
starsh-acoustic.h File Reference
#include "starsh.h"
#include "starsh-particles.h"
Include dependency graph for starsh-acoustic.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  starsh_acdata
 Structure for mesh deformation problems. More...
 

Typedefs

typedef struct starsh_acdata STARSH_acdata
 Structure for mesh deformation problems.
 

Functions

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)
 
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)
 
void starsh_generate_acoustic_rhs (int nip, int ntrain, double _Complex *crhs, int m, int n, int local_nt, int nb)
 
void starsh_generate_acoustic_near_sca (double _Complex *rhs, int nip, int ntrian)
 
void generate_mesh_points_serials (int *nip, int *ntrain, char *file_name, int *filelength1, char *file_name_interpl, int *filelength2)
 
void acoustic_generate_kernel (int *nip, int *ntrian, double _Complex *zz, int *q, int *p, int *local_nt, int *nb)
 
void acoustic_generate_rhs (int *nip, int *ntrain, double _Complex *crhs, int *m, int *n, int *local_nt, int *nb)
 
void acoustic_generate_near_sca (double _Complex *rhs, int *nip, int *ntrian)
 

Detailed Description

STARS-H is a software package, provided by King Abdullah University of Science and Technology (KAUST)

Version
0.3.0 Rabab Alomairy
Author
Aleksandr Mikhalev
Date
2020-06-09

Function Documentation

◆ starsh_generate_3d_acoustic()

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 
)

Fills matrix \( A \) with values

Parameters
[in]nrowsNumber of rows of \( A \).
[in]ncolsNumber of columns of \( A \).
[in]irowArray of row indexes.
[in]icolArray of column indexes.
[in]row_dataPointer to physical data (STARSH_acdata object).
[in]col_dataPointer to physical data (STARSH_acdata object).
[out]resultPointer to memory of \( A \).
[in]ldLeading dimension of result.

◆ starsh_generate_3d_acoustic_coordinates()

int starsh_generate_3d_acoustic_coordinates ( STARSH_acdata **  data,
STARSH_int  mesh_points,
int  ndim,
int  trian,
int  nipp,
int  mordering,
char *  file_name,
char *  file_name_interpl 
)

It reads mesh points from file

Parameters
[in,out]dataSTARSH_acdata acoustic scattering
[in]meshpoints: number of mesh points
[in]ndimproblem dimension.
[in]trainnumber of traingles
[in]nippnumber of quadrature points
[in]mordering0: no ordering, 1: Morton ordering.

◆ starsh_generate_acoustic_near_sca()

void starsh_generate_acoustic_near_sca ( double _Complex *  x,
int  nip,
int  ntrian 
)

Fills matrix (RHS) \( A \) with near scattered values

Parameters
[out]xPointer to memory of \( solution \).
[in]nippnumber of quadrature points
[in]trainnumber of traingles
[in]nipnumber of quadrature points

◆ starsh_generate_acoustic_rhs()

void starsh_generate_acoustic_rhs ( int  nip,
int  ntrain,
double _Complex *  crhs,
int  m,
int  n,
int  local_nt,
int  nb 
)

Fills matrix (RHS) \( A \) with values

Parameters
[in]trainnumber of traingles
[in]nipnumber of quadrature points
[out]crhsPointer to memory of \( RHS \).
[in]mNumber of rows of \( RHS \).
[in]nNumber of columns of \( RHS \).
[in]local_ntnumber of triangles interactions \( RHS \).
[in]nbtile size \( RHS \)