| 469 | |
| 470 | template <class FEL, ELEMENT_TYPE ET> |
| 471 | void T_HDivFiniteElement<FEL,ET> :: |
| 472 | AddDivTrans (const SIMD_BaseMappedIntegrationRule & bmir, BareVector<SIMD<double>> values, |
| 473 | BareSliceVector<> coefs) const |
| 474 | { |
| 475 | auto & mir = static_cast<const SIMD_MappedIntegrationRule<DIM,DIM>&> (bmir); |
| 476 | for (size_t i = 0; i < mir.Size(); i++) |
| 477 | { |
| 478 | SIMD<double> vali = values(i); |
| 479 | static_cast<const FEL*> (this) -> |
| 480 | T_CalcShape (GetTIP(mir[i]), |
| 481 | SBLambda ([coefs,vali] (size_t j, THDiv2DivShape<DIM,SIMD<double>> divshape) |
| 482 | { |
| 483 | coefs(j) += HSum(divshape.Get()*vali); |
| 484 | })); |
| 485 | } |
| 486 | } |
| 487 | |
| 488 | |
| 489 |
nothing calls this directly
no test coverage detected