libxc_destroy Subroutine

public subroutine libxc_destroy(functional)

@brief Destroy internal variables of functional @author Igor S. Gerasimov @date Dec, 2020 - Initial release - @date Dec, 2022 Pass local functional instead of global

Arguments

Type IntentOptional Attributes Name
type(functional_t), intent(inout) :: functional

Calls

proc~~libxc_destroy~~CallsGraph proc~libxc_destroy libxc_destroy none~destroy~2 functional_t%destroy proc~libxc_destroy->none~destroy~2 xc_f03_func_end xc_f03_func_end none~destroy~2->xc_f03_func_end

Called by

proc~~libxc_destroy~~CalledByGraph proc~libxc_destroy libxc_destroy proc~dftclean dftclean proc~dftclean->proc~libxc_destroy proc~hf_energy hf_energy proc~hf_energy->proc~dftclean proc~hf_gradient hf_gradient proc~hf_gradient->proc~dftclean proc~oqp_tdhf_z_vector oqp_tdhf_z_vector proc~oqp_tdhf_z_vector->proc~dftclean proc~tdhf_energy tdhf_energy proc~tdhf_energy->proc~dftclean proc~tdhf_gradient tdhf_gradient proc~tdhf_gradient->proc~dftclean proc~tdhf_energy_c tdhf_energy_C proc~tdhf_energy_c->proc~tdhf_energy proc~tdhf_gradient_c tdhf_gradient_C proc~tdhf_gradient_c->proc~tdhf_gradient proc~tdhf_z_vector_c tdhf_z_vector_C proc~tdhf_z_vector_c->proc~oqp_tdhf_z_vector

Source Code

  subroutine libxc_destroy(functional)
    type(functional_t), intent(inout) :: functional
    call functional%destroy
  end subroutine libxc_destroy