code: def set_IC(self, values):
          r
          self[self.settings['quantity']] = values
          converted_array = self[self.settings['quantity']].astype('float64')
          self[self.settings['quantity']] = converted_array
docs: r"""
          A method to set simulation initial conditions
  
          Parameters
          ----------
          values : ND-array or scalar
              Set the initial conditions using an 'Np' long array. 'Np' being
              the number of pores. If a scalar is given, the same value is
              imposed to all pores.