| 602 | } |
| 603 | |
| 604 | AutoVector ParallelMatrix :: CreateVector () const |
| 605 | { |
| 606 | if(row_paralleldofs != col_paralleldofs) { |
| 607 | throw Exception("ParallelMatrix::CreateVector called for nonsymmetric case (use CreateRowVector of CreateColVector)!"); |
| 608 | } |
| 609 | if (IsComplex()) { |
| 610 | return make_unique<S_ParallelBaseVectorPtr<Complex>> |
| 611 | (mat->Width(), paralleldofs->GetEntrySize(), paralleldofs, DISTRIBUTED); |
| 612 | } |
| 613 | else { |
| 614 | return make_unique<S_ParallelBaseVectorPtr<double>> |
| 615 | (mat->Width(), paralleldofs->GetEntrySize(), paralleldofs, DISTRIBUTED); |
| 616 | } |
| 617 | } |
| 618 | |
| 619 | ostream & ParallelMatrix :: Print (ostream & ost) const |
| 620 | { |
nothing calls this directly
no test coverage detected