| 1 |
// @HEADER |
| 2 |
// ***************************************************************************** |
| 3 |
// ShyLU: Scalable Hybrid LU Preconditioner and Solver |
| 4 |
// |
| 5 |
// Copyright 2011 NTESS and the ShyLU contributors. |
| 6 |
// SPDX-License-Identifier: BSD-3-Clause |
| 7 |
// ***************************************************************************** |
| 8 |
// @HEADER |
| 9 |
|
| 10 |
/* Internal functions in shylu */ |
| 11 |
#ifndef SHYLU_INTERNAL_H |
| 12 |
#define SHYLU_INTERNAL_H |
| 13 |
|
| 14 |
#if defined(ShyLU_DDCore_SHOW_DEPRECATED_WARNINGS) |
| 15 |
#ifdef __GNUC__ |
| 16 |
#warning "The ShyLU_DDCore package is deprecated" |
| 17 |
#endif |
| 18 |
#endif |
| 19 |
|
| 20 |
int create_matrices |
| 21 |
( |
| 22 |
Epetra_CrsMatrix *A, // i/p: A matrix |
| 23 |
shylu_symbolic *ssym, // symbolic structure |
| 24 |
shylu_data *data, // numeric structure, TODO: Required ? |
| 25 |
shylu_config *config // i/p: library configuration |
| 26 |
); |
| 27 |
|
| 28 |
int extract_matrices |
| 29 |
( |
| 30 |
Epetra_CrsMatrix *A, // i/p: A matrix |
| 31 |
shylu_symbolic *ssym, // symbolic structure |
| 32 |
shylu_data *data, // numeric structure, TODO: Required ? |
| 33 |
shylu_config *config, // i/p: library configuration |
| 34 |
bool insertValues // true if we need to insert the values into the |
| 35 |
// matrices, false if fillComplete is already called |
| 36 |
// and we need to replace the local values |
| 37 |
); |
| 38 |
|
| 39 |
#endif //SHYLU_INTERNAL_H |