| 578 | } |
| 579 | |
| 580 | void ParallelMatrix :: MultTransAdd (double s, const BaseVector & x, BaseVector & y) const |
| 581 | { |
| 582 | // const auto & xpar = dynamic_cast_ParallelBaseVector(x); |
| 583 | // auto & ypar = dynamic_cast_ParallelBaseVector(y); |
| 584 | // if (op & char(1)) |
| 585 | if (ColType(op)==CUMULATED) |
| 586 | x.Distribute(); |
| 587 | else |
| 588 | x.Cumulate(); |
| 589 | |
| 590 | //if (op & char(2)) |
| 591 | if (RowType(op)==CUMULATED) |
| 592 | y.Distribute(); |
| 593 | else |
| 594 | y.Cumulate(); |
| 595 | // mat->MultTransAdd (s, *xpar.GetLocalVector(), *ypar.GetLocalVector()); |
| 596 | mat->MultTransAdd (s, *x.GetLocalVector(), *y.GetLocalVector()); |
| 597 | } |
| 598 | |
| 599 | shared_ptr<BaseMatrix> ParallelMatrix :: CreateMatrix () const |
| 600 | { |
nothing calls this directly
no test coverage detected