Created and updated (2011.05.20)

To create a new input variable you need to edit the following
routines:

--------------------------------------------------------------------------------
1. Define the new variable inside the  (type dataset_type)
   follow the alphabetic ordering for each kind of
   variable

FILENAME: src/44_abitypes_defs/defs_abitypes.F90

EXAMPLES:

Scalars

 integer :: ntypat

Pointers to arrays

 integer, pointer ::  typat(:)      ! typat(natom)

--------------------------------------------------------------------------------
2. Add the line to copy the dtset (dtsetcopy.F90)

src/53_abiutil/dtsetcopy.F90

EXAMPLES

Scalars

 dtout%ntypat             = dtin%ntypat

Pointers to arrays

#define DTSET_AREA_NAME_STR "typat"
#define DTSET_AREA_NAME  typat
#define DTSET_AREA_SIZE1  natom
 if (associated(dtin%DTSET_AREA_NAME)) then
   write(name,*) DTSET_AREA_NAME_STR
   call tells_sizes(chosen_size1,name,1,dtin%DTSET_AREA_SIZE1,size(dtin%DTSET_AREA_NAME,1))
   allocate (dtout%DTSET_AREA_NAME(chosen_size1))
   dtout%DTSET_AREA_NAME(:)=dtin%DTSET_AREA_NAME(:)
 end if
#undef DTSET_AREA_NAME
#undef DTSET_AREA_SIZE1
#undef DTSET_AREA_NAME_STR

--------------------------------------------------------------------------------
3. Add the line for the checking of input variables (chkinp.F90)
   Use the routines chkint_eq, chkint_ne, chkint_ge, chkint_le, chkdpr


src/57_iovars/chkinp.F90

--------------------------------------------------------------------------------
4. Add the line for the checking of variables (chkvars:.F90) 
   Follow the alphabetic ordering


src/57_iovars/chkvars.F90

--------------------------------------------------------------------------------
5. Add the default value on (indefo.F90)

src/57_iovars/indefo.F90

--------------------------------------------------------------------------------
6. Initialize variables for the ABINIT code, for one particular dataset

src/57_iovars/invars2.F90

--------------------------------------------------------------------------------
7. NOT NEEDED Include the variable in the list of input variables
(is_input_variable.F90), thi is done automatically by a perl script

src/57_iovars/is_input_variable.F90

--------------------------------------------------------------------------------
8. Add the variable for printing (outvars.F90)

src/57_iovars/outvars.F90

