#include "adh.h"
This file collects methods of the SLIN_SYS structure
◆ slin_sys_alloc_array()
void slin_sys_alloc_array |
( |
SLIN_SYS ** |
lin_sys, |
|
|
int |
nlin_sys |
|
) |
| |
Allocates and intializes an AdH Linear System.
- Author
- Corey Trahan, Ph.D.
- Bug:
- none
- Warning
- none
- Copyright
- AdH
- Parameters
-
[in,out] | dmod | (SDMODEL **) a pointer to an AdH design-level model |
[in] | nSuperModels | (int) the total number of supermodels in the design model |
[in] | nSubModels | (int*) the total number of submodels in each supermodel |
[in] | nFluxInterfaces | (int*) the total number of flux interfaces between supermodels |
- Note
◆ slin_sys_CSR_printScreen()
void slin_sys_CSR_printScreen |
( |
SLIN_SYS * |
lin_sys | ) |
|
Prints CSR format matrix to screen.
- Author
- Count Corey J. Trahan
-
Mark Loveland
- Bug:
- none
- Warning
- none
- Copyright
- AdH
- Parameters
-
[in,out] | Ax | (double*) - the matrix-vector product Ax |
[in] | indptr | (int*) - the first/last index of each row in CSR format |
[in] | cols | (int*) - column locations of each nonzero in CSR format |
[in] | vals | (double*) - nonzero values in CSR matrix |
[in] | nrows | (int) - the number of rows on this process (same as # owned d.o.fs) |
- Note
◆ slin_sys_init_array()
void slin_sys_init_array |
( |
SLIN_SYS * |
lin_sys, |
|
|
int |
nlin_sys |
|
) |
| |
Allocates and intializes an AdH Linear System.
- Author
- Corey Trahan, Ph.D.
- Bug:
- none
- Warning
- none
- Copyright
- AdH
- Parameters
-
[in,out] | dmod | (SDMODEL **) a pointer to an AdH design-level model |
[in] | nSuperModels | (int) the total number of supermodels in the design model |
[in] | nSubModels | (int*) the total number of submodels in each supermodel |
[in] | nFluxInterfaces | (int*) the total number of flux interfaces between supermodels |
- Note