|
LandauGinzburg
|
Execute the Newton–Raphson method; Combine solutions; Obtain sign det for each Scalar. More...
#include <field_nicolai.hpp>

Public Member Functions | |
| NicolaiSol () | |
| Constructor of NicolaiSol. | |
| NicolaiSol (const int n1, const int n2, const int n3) | |
| Set members of the class Nicolai: | |
| ~NicolaiSol () | |
| Destructor of NicolaiSol. | |
| bool | operator== (const NicolaiSol &f) |
| Is identical (Li, num_f, field) ? | |
| bool | operator!= (const NicolaiSol &f) |
| Not identical (Li, num_f, field) ? | |
| NicolaiSol & | add_sol (const Scalar &f, const double &err) |
| Add a new solution; Ignore identical one. | |
| NicolaiSol & | add_sol (const NicolaiSol &sol) |
| Add a new solution; Ignore identical ones. | |
| int | num_sol () const |
| Number of solutions. | |
| double | max_err () const |
| Maximum error of NR method. | |
| double | nr_method (const VectorXi k, const VectorXd lambda, const int num_nrsol, const int LOOP, const SuperPotentialType t=SuperPotentialType::AlgebraA) |
| Newton–Raphson method. | |
| void | test_nr_method (const VectorXi k, const VectorXd lambda, const int LOOP, const int TRIAL, const SuperPotentialType t=SuperPotentialType::AlgebraA) |
| Observe the numerical convergence of NR method for each system. | |
| int | sign_det (const int n) const |
| Sign determinant (Jacobian) | |
| void | phi_output (const int in, const VectorXi signs) const |
| Output to file. | |
| void | show () const |
| Output Scalars. | |
Public Member Functions inherited from Nicolai | |
| Nicolai () | |
| Constructor of Nicolai. | |
| Nicolai (const int n1, const int n2, const int n3) | |
| Set Li, num_f, in; Configuration is generated by random device with deviation Li/SQRT2. | |
| virtual | ~Nicolai () |
| Destructor of Nicolai. | |
| virtual bool | operator== (const Nicolai &f) |
| Is identical (Li, num_f) ? | |
| virtual bool | operator!= (const Nicolai &f) |
| Not identical (Li, num_f) ? | |
| VectorXd | nr_nvec () const |
| Compute Vector for NR method (Real type) | |
| VectorXcd | nrerr_nvec () const |
| Compute Vector for NR error estimate (complex type) | |
| void | nic_output (const VectorXi k, const VectorXd lambda, const int num_nrsol, const VectorXi signs, const int dmp, const double max_err, const SuperPotentialType spt) const |
| Output to file. | |
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. | |
Execute the Newton–Raphson method; Combine solutions; Obtain sign det for each Scalar.
Definition at line 382 of file field_nicolai.hpp.
|
inlineexplicit |
Constructor of NicolaiSol.
Definition at line 391 of file field_nicolai.hpp.
Set members of the class Nicolai:
| n1 | Set Li |
| n2 | Set num_f |
| n3 | Set in |
Definition at line 399 of file field_nicolai.hpp.
|
inline |
Destructor of NicolaiSol.
Definition at line 403 of file field_nicolai.hpp.
| NicolaiSol & NicolaiSol::add_sol | ( | const NicolaiSol & | sol | ) |
Add a new solution; Ignore identical ones.
Definition at line 436 of file field_nicolai.cpp.
| NicolaiSol & NicolaiSol::add_sol | ( | const Scalar & | f, |
| const double & | err ) |
Add a new solution; Ignore identical one.
Definition at line 422 of file field_nicolai.cpp.
|
inline |
Maximum error of NR method.
Definition at line 440 of file field_nicolai.hpp.
| double NicolaiSol::nr_method | ( | const VectorXi | k, |
| const VectorXd | lambda, | ||
| const int | num_nrsol, | ||
| const int | LOOP, | ||
| const SuperPotentialType | t = SuperPotentialType::AlgebraA ) |
Newton–Raphson method.
| k | Power in superpotential |
| lambda | Coupling |
| num_nrsol | Number of "convergent" trials of NR method |
| LOOP | Maximum number of iteration |
| t | Type of SuperPotential |
Definition at line 443 of file field_nicolai.cpp.
|
inline |
Number of solutions.
Definition at line 437 of file field_nicolai.hpp.
|
inline |
Not identical (Li, num_f, field) ?
Note that the operator compares fields
Definition at line 422 of file field_nicolai.hpp.
|
inline |
Is identical (Li, num_f, field) ?
Note that the operator compares fields
Definition at line 410 of file field_nicolai.hpp.
Output to file.
Definition at line 515 of file field_nicolai.cpp.
|
virtual |
Sign determinant (Jacobian)
Definition at line 477 of file field_nicolai.hpp.
| void NicolaiSol::test_nr_method | ( | const VectorXi | k, |
| const VectorXd | lambda, | ||
| const int | LOOP, | ||
| const int | TRIAL, | ||
| const SuperPotentialType | t = SuperPotentialType::AlgebraA ) |
Observe the numerical convergence of NR method for each system.
| k | Power in superpotential |
| lambda | Coupling |
| LOOP | Maximum number of iteration |
| TRIAL | Maximum number of trials |
| t | Type of SuperPotential |
Definition at line 466 of file field_nicolai.cpp.