Set an element in the dense 6-index integrals to a new value
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(dense_lMat_t), | intent(inout) | :: | this | |||
| integer(kind=int64), | intent(in) | :: | index |
position of the element |
||
| real(kind=dp), | intent(in) | :: | element |
new value of the element |
subroutine set_elem_dense(this, index, element) class(dense_lMat_t), intent(inout) :: this integer(int64), intent(in) :: index HElement_t(dp), intent(in) :: element this%lMat_vals%ptr(index) = element end subroutine set_elem_dense