9 #ifndef __MATMANAGER_HPP__
10 #define __MATMANAGER_HPP__
51 static_assert(!std::is_same<Tag, Tag>::value,
"not implemented");
63 CHKERR createMPIAIJWithArrays<Tag>(name, &aij, verb);
64 aij_ptr.reset(aij,
false);
70 Mat *Aij,
int verb =
QUIET) {
71 static_assert(!std::is_same<Tag, Tag>::value,
"not implemented");
83 CHKERR createMPIAIJCUSPARSEWithArrays<Tag>(name, &aij, verb);
84 aij_ptr.reset(aij,
false);
90 Mat *Aij,
int verb =
QUIET) {
91 static_assert(!std::is_same<Tag, Tag>::value,
"not implemented");
103 CHKERR createSeqAIJCUSPARSEWithArrays<Tag>(name, &aij, verb);
104 aij_ptr.reset(aij,
false);
125 static_assert(!std::is_same<Tag, Tag>::value,
"not implemented");
137 CHKERR createMPIAIJ<Tag>(name, &aij, verb);
138 aij_ptr.reset(aij,
false);
168 static_assert(!std::is_same<Tag, Tag>::value,
"not implemented");
197 static_assert(!std::is_same<Tag, Tag>::value,
"not implemented");
229 CHKERR createSeqAIJWithArrays<Tag>(name, &aij, verb);
230 aij_ptr.reset(aij,
false);
247 int row_print,
int col_print, Mat
A,
266 int row_print,
int col_print,
268 static_assert(!std::is_same<Tag, Tag>::value,
"not implemented");
287 int row_print,
int col_print,
289 static_assert(!std::is_same<Tag, Tag>::value,
"not implemented");
308 static_assert(!std::is_same<Tag, Tag>::value,
"not implemented");
323 MoFEMErrorCode MatrixManager::createMPIAIJWithArrays<PetscGlobalIdx_mi_tag>(
324 const std::string name, Mat *Aij,
int verb);
328 MatrixManager::createMPIAIJCUSPARSEWithArrays<PetscGlobalIdx_mi_tag>(
329 const std::string name, Mat *Aij,
int verb);
333 MatrixManager::createMPIAIJ<PetscGlobalIdx_mi_tag>(
const std::string name,
338 MatrixManager::createMPIAdjWithArrays<Idx_mi_tag>(
const std::string name,
342 MoFEMErrorCode MatrixManager::createSeqAIJWithArrays<PetscLocalIdx_mi_tag>(
343 const std::string name, Mat *Aij,
int verb);
347 MatrixManager::createSeqAIJCUSPARSEWithArrays<PetscLocalIdx_mi_tag>(
348 const std::string name, Mat *Aij,
int verb);
352 MatrixManager::checkMPIAIJWithArraysMatrixFillIn<PetscGlobalIdx_mi_tag>(
353 const std::string problem_name,
int row_print,
int col_print,
int verb);
356 MoFEMErrorCode MatrixManager::checkMPIAIJMatrixFillIn<PetscGlobalIdx_mi_tag>(
357 const std::string problem_name,
int row_print,
int col_print,
int verb);
360 MoFEMErrorCode MatrixManager::createHybridL2MPIAIJ<PetscGlobalIdx_mi_tag>(
365 #endif // __MATMANAGER_HPP__a