| 1577 | |
| 1578 | template <> |
| 1579 | IntegrationRuleTP<1> :: IntegrationRuleTP (const ElementTransformation & eltrans, |
| 1580 | IVec<1> vorder, bool compute_duffy, bool compute_points) |
| 1581 | { |
| 1582 | int order = vorder[0]; |
| 1583 | irx = &SelectIntegrationRule (ET_SEGM, order); |
| 1584 | int nip = irx->GetNIP(); |
| 1585 | |
| 1586 | SetSize(nip); |
| 1587 | dxdxi_duffy.SetSize(nip); |
| 1588 | |
| 1589 | for (int i = 0; i < irx->GetNIP(); i++) |
| 1590 | { |
| 1591 | (*this)[i] = IntegrationPoint ((*irx)[i](0), 0, 0, |
| 1592 | (*irx)[i].Weight()); |
| 1593 | } |
| 1594 | |
| 1595 | for (int i = 0; i < nip; i++) |
| 1596 | dxdxi_duffy[i] = 1; |
| 1597 | } |
| 1598 | |
| 1599 | |
| 1600 | template <> |
nothing calls this directly
no test coverage detected