@brief Deallocate the sampler and the mapping ab -> (a,b)
PropVec_PCHB_DoublesSpatOrbFastWeightExcGen_t
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(PropVec_PCHB_DoublesSpatOrbFastWeightExcGen_t), | intent(inout) | :: | this |
subroutine PropVec_doubles_PCHB_finalize(this) class(PropVec_PCHB_DoublesSpatOrbFastWeightExcGen_t), intent(inout) :: this if (allocated(this%particle_selector)) then call this%pchb_samplers%finalize() call this%particle_selector%finalize() ! Yes we assume that either all or none are allocated. deallocate(this%particle_selector, this%tgtOrbs, this%pExch, this%indexer) if (this%create_lookup) then deallocate(lookup_property_indexer) end if end if end subroutine PropVec_doubles_PCHB_finalize