* ************************************************************************ logical function analg(elst) * ************************************************************************ * Purpose : * --------- * This function checks if the status ELST corresponds to the * status of an element function whose analytical gradient is * available. * Parameters : * ------------ * elst ( int ) * input : the status of the considered element function. * output : unmodified. * analg ( log ) * input : meaningless. * output : .true. iff the status ELST corresponds to the * status of an element function whose * analytical gradient is available. * .false. otherwise. * Routines used : * --------------- * None. * Programming : * ------------- * D. Tuyttens * ======================================================================== * Routine parameter integer elst * Internal variable integer aux aux = elst / 8 analg = mod(aux,2).eq.1 return end