Reset all values and flags in calculation_result_t
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(calculation_result_t), | intent(inout) | :: | this |
subroutine result_reset(this) !! Reset all values and flags in calculation_result_t class(calculation_result_t), intent(inout) :: this call this%energy%reset() call this%error%clear() this%has_energy = .false. this%has_gradient = .false. this%has_sigma = .false. this%has_hessian = .false. this%has_dipole = .false. this%has_dipole_derivatives = .false. this%has_error = .false. end subroutine result_reset