Ejemplo n.º 1
0
        /// <summary>
        /// Step 1 of 2 for dynamic load balancing: creating a backup of this objects
        /// status in the load-balancing thing <paramref name="L"/>
        /// </summary>
        public void DataBackupBeforeBalancing(GridUpdateDataVaultBase L)
        {
            if (m_BDF_Timestepper != null)
            {
                m_BDF_Timestepper.DataBackupBeforeBalancing(L);
            }
            else if (m_RK_Timestepper != null)
            {
                throw new NotImplementedException("Load balancing and adaptive mesh refinement are not supported for Runge-Kutta XDG timestepping.");
            }
            else
            {
                throw new NotImplementedException();
            }

            this.LsTrk      = null;
            this.Parameters = null;
        }
Ejemplo n.º 2
0
 public override void DataBackupBeforeBalancing(GridUpdateDataVaultBase L)
 {
     TimeIntegration.DataBackupBeforeBalancing(L);
 }
Ejemplo n.º 3
0
 public override void DataBackupBeforeBalancing(LoadbalData L)
 {
     TimeIntegration.DataBackupBeforeBalancing(L);
 }