| 420 | |
| 421 | |
| 422 | ParallelMatrix :: ParallelMatrix (shared_ptr<BaseMatrix> amat, |
| 423 | shared_ptr<ParallelDofs> arpardofs, |
| 424 | shared_ptr<ParallelDofs> acpardofs, |
| 425 | PARALLEL_OP aop) |
| 426 | : BaseMatrix((arpardofs==acpardofs) ? arpardofs : nullptr), mat(amat), |
| 427 | row_paralleldofs(arpardofs), col_paralleldofs(acpardofs) |
| 428 | { |
| 429 | op = aop; |
| 430 | if(row_paralleldofs==col_paralleldofs) |
| 431 | mat->SetParallelDofs (arpardofs); |
| 432 | if (auto spmat = dynamic_pointer_cast<BaseSparseMatrix>(mat)) { |
| 433 | #ifdef USE_MUMPS |
| 434 | spmat->SetInverseType("mumps"); |
| 435 | #else |
| 436 | spmat->SetInverseType("masterinverse"); |
| 437 | #endif |
| 438 | } |
| 439 | } |
| 440 | |
| 441 | ParallelMatrix :: ParallelMatrix (shared_ptr<BaseMatrix> amat, |
| 442 | shared_ptr<ParallelDofs> apardofs, |
nothing calls this directly
no test coverage detected