Esempio n. 1
0
  def __init__(self, mesh, initial_mag, m_sat, where=[1], order=1):
    MumagCore.__init__(self, mesh, where, m_sat, initial_mag, order)
    self.step_calculate_h_total = None

    # Default settings
    for p in euler_defaults: self.features[p] = euler_defaults[p]

    self.ID = None # Integer assigned by the parent 'Eulers' class
    self.parent_ID = None # The 'Eulers' instance which generated this object
Esempio n. 2
0
    def __init__(self, mesh, initial_mag, m_sat, where=[1], order=1):
        MumagCore.__init__(self, mesh, where, m_sat, initial_mag, order)
        self.step_calculate_h_total = None

        # Default settings
        for p in euler_defaults:
            self.features[p] = euler_defaults[p]

        self.ID = None  # Integer assigned by the parent 'Eulers' class
        self.parent_ID = None  # The 'Eulers' instance which generated this object