STARS-H
Software for Testing Accuracy, Reliability and Scalability of Hierarchical computations
Applications

Set of applications. More...

Collaboration diagram for Applications:

Modules

 Spatial statistics problem
 Template for spatial statistics problems.
 
 deformation problem
 Template for mesh deformation problems.
 
 Electrostatics problem
 Template for electrostatics problems.
 
 Electrodynamics problem
 Template for electrodynamics problems.
 
 Random TLR matrix
 Synthetic random TLR matrix routines.
 
 Minimal working example
 Minimal working example.
 
 N-body
 Template for particle-to-particle interactions.
 
 Cauchy example
 Cauchy example.
 
 scattering problem
 Template for acoustics scattering problems.
 

Typedefs

typedef void STARSH_kernel(int nrows, int ncols, STARSH_int *irow, STARSH_int *icol, void *row_data, void *col_data, void *result, int ld)
 

Functions

int starsh_application (void **data, STARSH_kernel **kernel, STARSH_int count, char dtype, int problem_type, int kernel_type,...)
 Generates data and matrix kernel for one of predefined applications. More...
 

Detailed Description

Set of applications.

Typedef Documentation

◆ STARSH_kernel

typedef void STARSH_kernel(int nrows, int ncols, STARSH_int *irow, STARSH_int *icol, void *row_data, void *col_data, void *result, int ld)

Typedef for kernels

Function Documentation

◆ starsh_application()

int starsh_application ( void **  data,
STARSH_kernel **  kernel,
STARSH_int  count,
char  dtype,
int  problem_type,
int  kernel_type,
  ... 
)

Generates data and matrix kernel for one of predefined applications.

All parameters in ... go by pairs: integer, indicating what kind of parameter is following after it, with the value of parameter. This list ends with integer 0. Parameter dtype is ignored as of now, but it is here to support different precisions.

Parameters
[out]dataAddress of pointer for structure, holding all data.
[out]kernelSTARSH_kernel function.
[in]countDesired size of corresponding matrix.
[in]dtypePrecision of each element of a matrix ('d' for double).
[in]problem_typeType of problem.
[in]kernel_typeType of kernel, depends on problem.
See also
starsh_ssdata_generate(), starsh_ssdata_get_kernel(), starsh_randtlr_generate(), starsh_randtlr_get_kernel(), starsh_esdata_generate(), starsh_esdata_get_kernel(), starsh_eddata_generate(), starsh_eddata_get_kernel(), starsh_cauchy_new(), starsh_cauchy_get_kernel(), starsh_mindata_new(), starsh_mindata_get_kernel().