Example #1
0
        public bool Transfer(Feynman ryp, FeynmanResult fr)
        {
            if (fr == null)
            {
                return(true);
            }
            bool res = true;

            try
            {
                FeynmanResultExt lfr = new FeynmanResultExt();
                countresults.Add(ryp, lfr);
                lfr.TransferRawResult(fr);
            }
            catch (OutOfMemoryException e)
            {
                ryp.reason = "Feynman transfer " + e.Message;
                res        = false;
                logger?.TraceEvent(LogLevels.Error, 87407, ryp.reason);
            }
            return(res);
        }
Example #2
0
 public bool Transfer(Feynman ryp, FeynmanResult fr)
 {
     if (fr == null)
         return true;
     bool res = true;
     try
     {
         FeynmanResultExt lfr = new FeynmanResultExt();
         countresults.Add(ryp, lfr);
         lfr.TransferRawResult(fr);
     }
     catch (OutOfMemoryException e)
     {
         ryp.reason = "Feynman transfer " + e.Message;
         res = false;
         logger.TraceEvent(LogLevels.Error, 87407, ryp.reason);
     }
     return res;
 }