STARS-H
Software for Testing Accuracy, Reliability and Scalability of Hierarchical computations
|
Set of applications. More...
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... | |
Set of applications.
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
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.
[out] | data | Address of pointer for structure, holding all data. |
[out] | kernel | STARSH_kernel function. |
[in] | count | Desired size of corresponding matrix. |
[in] | dtype | Precision of each element of a matrix ('d' for double). |
[in] | problem_type | Type of problem. |
[in] | kernel_type | Type of kernel, depends on problem. |