Search Site | Contact Details | FAQ

ADAS Subroutine i4ndec


      FUNCTION I4NDEC(IDEC)
C---------------------------------------------------------------------
C
C  ****************** FORTRAN77 FUNCTION: I4NDEC  ********************
C
C  PURPOSE: RETURNS N QUANTUM NUMBER OF AN ORBITAL GIVEN IN THE
C           DECIMAL FORM
C
C
C  INPUT :  (I*4)   IDEC   = DECIMAL ORBITAL NUMBER (EG.'10')
C
C  OUTPUT:  (I*4)   I4NDEC = PRINCIPAL QUANTUM NUMBER FOR ORBITAL
C
C           (I*4)   NGRPA()= SET OF N-VALUES FOR DECIMAL ORBITALS
C
C  SUBROUTINES:  NONE
C
C  AUTHOR:  H. P. SUMMERS, UNIVERSITY OF STRATHCLYDE
C           JA8.08
C           TEL. 0141-553-4196
C
C  DATE:    06/06/96
C
C  UPDATE:  24/07/96  PEB - REMOVE SPURIOUS EXTRA 'END' STATEMENT.
C
C  UPDATE:  19/02/03  H.P. SUMMERS - EXTENDED RANGE 
C
C
C UNIX-IDL PORT:
C	   WILLIAM OSBORN, TESSELLA SUPPORT SERVICES PLC.
C
C DATE:    20TH AUGUST 1996
C
C VERSION: 1.1				DATE: 20-08-96
C MODIFIED: WILLIAM OSBORN
C	    - FIRST VERSION
C
C VERSION: 1.2				DATE: 19-02-03
C MODIFIED: H.P. SUMMERS 
C		- EXTENDED RANGE 
C
C-----------------------------------------------------------------------
      INTEGER             IDEC
© Copyright 1995-2024 The ADAS Project
Comments and questions to: adas-at-adas.ac.uk