WallGo.genericModel.GenericModel
- class GenericModel[source]
Bases:
ABCCommon interface for WallGo model definitions. This is basically input parameters + particle definitions + effective potential. The user should implement this and the abstract methods below with their model-specific stuff.
- __init__()
Methods
__init__()addParticle(particleToAdd)Common routine for defining a new out-of-equilibrium particle.
Empties the cached particle list
Override to return your effective potential.
Attributes
Override to return the number of classical background fields in your model.
- addParticle(particleToAdd)[source]
Common routine for defining a new out-of-equilibrium particle.
- Parameters:
particleToAdd (Particle)
- Return type:
None
- abstract property fieldCount: int
Override to return the number of classical background fields in your model.