Set the basis set for this fragment
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(physical_fragment_t), | intent(inout) | :: | this | |||
| type(molecular_basis_type), | intent(in) | :: | basis |
subroutine fragment_set_basis(this, basis) !! Set the basis set for this fragment class(physical_fragment_t), intent(inout) :: this type(molecular_basis_type), intent(in) :: basis if (allocated(this%basis)) then call this%basis%destroy() deallocate (this%basis) end if allocate (this%basis) this%basis = basis end subroutine fragment_set_basis