Public Member Functions | |
Quartic (String str, Parameters p) | |
Constructs a potential term. | |
Quartic (double m, double c4) | |
Constructs a quartic potential term. | |
double | eval_V (double psi, double T) |
Evaluates the potential term. | |
double | eval_dVdpsi (double psi, double T) |
Evaluates the derivative of the potential. |
gridripper::phys::scalar::Quartic::Quartic | ( | String | str, | |
Parameters | p | |||
) | [inline] |
Constructs a potential term.
str | the parameter string containing "m=..." and "c4=..." | |
p | parameters |
gridripper::phys::scalar::Quartic::Quartic | ( | double | m, | |
double | c4 | |||
) | [inline] |
Constructs a quartic potential term.
m | the mass | |
c4 | the coupling constant |
double gridripper::phys::scalar::Quartic::eval_V | ( | double | psi, | |
double | T | |||
) | [inline, virtual] |
Evaluates the potential term.
psi | the scalar field | |
T | effective temperature (unused here) |
Implements gridripper::phys::scalar::ScalarPotential.
double gridripper::phys::scalar::Quartic::eval_dVdpsi | ( | double | psi, | |
double | T | |||
) | [inline, virtual] |
Evaluates the derivative of the potential.
psi | the scalar field | |
T | effective temperature (unused here) |
Implements gridripper::phys::scalar::ScalarPotential.