Exemplo n.º 1
0
 /// <summary>
 ///  Stop logging messages.
 /// </summary>
 public void Stop()
 {
     GMshNativeMethods.gmshLoggerTime(ref ierr);
     if (ierr != 0)
     {
         throw new GMshException(ierr);
     }
 }
Exemplo n.º 2
0
        /// <summary>
        /// Return wall clock time.
        /// </summary>
        public double Time()
        {
            var time = GMshNativeMethods.gmshLoggerTime(ref ierr);

            if (ierr != 0)
            {
                throw new GMshException(ierr);
            }
            return(time);
        }