clwainwright / CosmoTransitions

A package for analyzing finite or zero-temperature cosmological phase transitions driven by single or multiple scalar fields.
MIT License
25 stars 19 forks source link

INPUT REHEATING TEMPERATURE #22

Closed DarkKnight6777 closed 4 years ago

DarkKnight6777 commented 4 years ago

I am trying to change the default reheating temperature T_max to a high temperature value and this is creating errors. This is for a beyond the SM high temperature model for a additional Complex scalar field. File "C:\Users\AppData\Local\Programs\Python\Python38-32\lib\site-packages\cosmoTransitions\transitionFinder.py", line 921, in findAllTransitions start_phase = phases[getStartPhase(phases, V)] File "C:\Users\AppData\Local\Programs\Python\Python38-32\lib\site-packages\cosmoTransitions\transitionFinder.py", line 619, in getStartPhase assert len(phases) > 0 AssertionError I have changed inside the generic_potential line(102-120)

  `def __init__(self, *args, **dargs):
    self.Ndim = 0
    self.x_eps = .001
    self.T_eps = .001
    self.deriv_order = 4
    self.renormScaleSq = 1.e13**2
    self.Tmax = 1.e13

    self.num_boson_dof = self.num_fermion_dof = None

    self.phases = self.transitions = None  # These get set by getPhases
    self.TcTrans = None  # Set by calcTcTrans()
    self.TnTrans = None  # Set by calcFullTrans()

    self.init(*args, **dargs)

    if self.Ndim <= 0:
        raise ValueError("The number of dimensions in the potential must "
                         "be at least 1.")`

Since such calculation takes alot of computing time. I thought to change the step size but due to this the program is not even running