LandauGinzburg
|
An solution of Nicolai map; Update to a new solution with NR method; Compute some types of superpotential; Identify solutions. More...
#include <field_nicolai.hpp>
Public Member Functions | |
Scalar () | |
Constructor of Scalar. | |
Scalar (const int n1, const int n2, const VectorXi n3, const VectorXd n4, const SuperPotentialType t=SuperPotentialType::AlgebraA) | |
Set Li, num_f, k, lambda, spt_type, and field configuration generated by Mersenne twistor with unit deviation. | |
Scalar (const VectorXcd &v, const VectorXi n3, const VectorXd n4, const int num_field=1, const SuperPotentialType t=SuperPotentialType::AlgebraA) | |
Generate from VectorXcd; Set num_f, k, lambda, and spt_type. | |
Scalar (const Scalar &f, const VectorXcd &v) | |
Set parameters identical to Scalar f; Configuration is given by VectorXcd. | |
Scalar (const Scalar &f, const VectorXd &v) | |
Set parameters identical to Scalar f; Configuration is given by VectorXd. | |
~Scalar () | |
Destructor of Scalar. | |
bool | operator== (const Scalar &f) |
Is identical (Li, num_f, k, lambda, spt_type) ? | |
bool | operator!= (const Scalar &f) |
Not identical (Li, num_f, k, lambda, spt_type) ? | |
bool | is_identical (const Scalar &f) const |
Identify two solutions. | |
VectorXcd | nrerr_svec () const |
Compute Vector for NR error (complex type) | |
Potential | superpotential () const |
Compute superpotential (class Potential) | |
PotentialNR | superpotential_nr () const |
Compute superpotential (class PotentialNR) | |
Scalar | nr_loop (const Nicolai &nic) |
An iteration of NR method; Compute LU decompositon; Overwrite own members. | |
VectorXcd | nr_error_vec (const Nicolai &nic) const |
Compute error of NR method for each momentum. | |
double | nr_error (const Nicolai &nic) const |
Compute error of NR method. | |
void | scl_output (const int in, const int num_sol, const int i, const int sign, const double err) const |
Output to file. | |
void | show () const |
Output Li, k, lambda, field. | |
Public Member Functions inherited from Field | |
Field () | |
Constructor of Field. | |
Field (const int n1, const int n2) | |
Set Li=n1 and num_f=n2. | |
Field (const int n1, const int n2, const Distribution n3, const double mean=0.0, const double dev=1.0) | |
Set Li, num_f, and field. | |
Field (const int n1, const int n2, const int n3, const Distribution n4, const double mean=0.0, const double dev=1.0) | |
Set Li, num_f, and field; n3 is. | |
Field (const VectorXcd &v, const int num_field=1) | |
Set Li, num_f, and field from VectorXcd. | |
Field (const VectorXd &v, const int num_field) | |
Set Li and field from VectorXd; num_f!=field.cols() | |
Field (const MatrixXcd &m) | |
Set Li, num_f, and field from MatrixXcd. | |
Field (const MatrixXcd &m, const int num_field) | |
Set Li and field from MatrixXcd, but num_f=num_field | |
virtual | ~Field () |
Destructor of Field. | |
MatrixXcd | conf () const |
VectorXcd | conf (const int n) const |
VectorXd | conf_real (const int n) const |
VectorXd | conf_imag (const int n) const |
virtual bool | operator== (const Field &f) |
Is identical (Li, num_f) ? | |
virtual bool | operator!= (const Field &f) |
Not identical (Li, num_f) ? | |
virtual Field & | operator*= (const double n) |
Multiply by a real number n. | |
virtual Field & | operator/= (const double n) |
Devide by a real number n. | |
Field | conv (const int n1, const int n2) const |
Convolution field(:,n1)*field(:,n2) | |
Field | conjconv (const int n) const |
Convolution field(:,n)*conf(field(:,n)) | |
Field | conv_pw (const int pw, const int n=0) const |
Convolution field(:,n)*field(:,n)*...*field(:,n) | |
Field | combine_with (const Field &f) |
Combine with another Field object; Mutate field (Li and num_f are unchaged) except for the case that field is empty. | |
An solution of Nicolai map; Update to a new solution with NR method; Compute some types of superpotential; Identify solutions.
Definition at line 160 of file field_nicolai.hpp.
|
inlineexplicit |
Constructor of Scalar.
Definition at line 220 of file field_nicolai.hpp.
|
inlineexplicit |
Set Li, num_f, k, lambda, spt_type, and field configuration generated by Mersenne twistor with unit deviation.
n1 | Set Li |
n2 | Set num_f |
n3 | Set k |
n4 | Set lambda |
t | Set spt_type |
Definition at line 232 of file field_nicolai.hpp.
|
inlineexplicit |
Generate from VectorXcd; Set num_f, k, lambda, and spt_type.
v | Set Li and field |
n3 | Set k |
n4 | Set lambda |
num_field | Set num_f |
t | Set spt_type |
Definition at line 249 of file field_nicolai.hpp.
Set parameters identical to Scalar f; Configuration is given by VectorXcd.
Definition at line 260 of file field_nicolai.hpp.
Set parameters identical to Scalar f; Configuration is given by VectorXd.
Definition at line 270 of file field_nicolai.hpp.
|
inline |
Destructor of Scalar.
Definition at line 278 of file field_nicolai.hpp.
Identify two solutions.
f | Another configuration to be compared with this |
Threshold: sol_id_maxval
Definition at line 109 of file field_nicolai.cpp.
Compute error of NR method.
nic | Nicolai map |
Definition at line 350 of file field_nicolai.hpp.
Compute error of NR method for each momentum.
nic | Nicolai map |
Definition at line 344 of file field_nicolai.cpp.
An iteration of NR method; Compute LU decompositon; Overwrite own members.
nic | Nicolai map |
Definition at line 335 of file field_nicolai.cpp.
VectorXcd Scalar::nrerr_svec | ( | ) | const |
Compute Vector for NR error (complex type)
Definition at line 115 of file field_nicolai.cpp.
|
inline |
Not identical (Li, num_f, k, lambda, spt_type) ?
Definition at line 294 of file field_nicolai.hpp.
|
inline |
Is identical (Li, num_f, k, lambda, spt_type) ?
Definition at line 285 of file field_nicolai.hpp.
void Scalar::scl_output | ( | const int | in, |
const int | num_sol, | ||
const int | i, | ||
const int | sign, | ||
const double | err ) const |
Output to file.
in | ID number of the Nicolai map |
num_sol | Number of solutions |
i | ID number of the solution |
sign | Sign determinant |
err | Error of NR method |
Definition at line 352 of file field_nicolai.cpp.
|
virtual |
Output Li, k, lambda, field.
Reimplemented from Field.
Definition at line 411 of file field_nicolai.cpp.
Potential Scalar::superpotential | ( | ) | const |
Compute superpotential (class Potential)
Definition at line 188 of file field_nicolai.cpp.
PotentialNR Scalar::superpotential_nr | ( | ) | const |
Compute superpotential (class PotentialNR)
Definition at line 316 of file field_nicolai.cpp.