#include <Quartic.h>
Public Member Functions | |
Quartic (const string &str, const Parameters &p) throw (IllegalArgumentException&) | |
Constructs a potential term. | |
Quartic (GReal_t m, GReal_t c4) | |
Constructs a quartic potential term. | |
GReal_t | eval_V (GReal_t psi, GReal_t T) |
Evaluates the potential term. | |
GReal_t | eval_dVdpsi (GReal_t psi, GReal_t T) |
Evaluates the derivative of the potential. |
gridripper::phys::scalar::Quartic::Quartic | ( | const string & | str, | |
const Parameters & | p | |||
) | throw (IllegalArgumentException&) |
Constructs a potential term.
str | the parameter string containing "m=..." and "c4=..." | |
p | parameters |
Constructs a quartic potential term.
m | the mass | |
c4 | the coupling constant |
Evaluates the potential term.
psi | the scalar field | |
T | effective temperature (unused here) |
Implements gridripper::phys::scalar::ScalarPotential.
Evaluates the derivative of the potential.
psi | the scalar field | |
T | effective temperature (unused here) |
Implements gridripper::phys::scalar::ScalarPotential.