LandauGinzburg
|
Compute Matrix and Vector for NR method. More...
#include <field_potential.hpp>
Public Member Functions | |
PotentialNR () | |
Constructor of PotentialNR. | |
PotentialNR (const int n1, const int n2, const Distribution n3=Distribution::Zero_conf) | |
Set Li, num_f, and field-field2-field3 with zeros. | |
PotentialNR (const int num_field, const MatrixXcd &m1, const MatrixXcd &m2, const MatrixXcd &m3) | |
Set Li, num_f, and field-field2-field3. | |
~PotentialNR () | |
Destructor of PotentialNR. | |
bool | operator== (const PotentialNR &p) |
Is identical (Li, num_f) ? | |
bool | operator!= (const PotentialNR &p) |
Not identical (Li, num_f) ? | |
VectorXd | nr_pvec () const |
Compute Vector for NR method (Real type) | |
MatrixXd | nr_mat () const |
Compute Matrix for NR method (Real type) | |
VectorXcd | nrerr_pvec () const |
Compute Vector for NR error estimate (complex type) | |
void | show () const |
Output Li, field, field2, field3. | |
Public Member Functions inherited from Potential | |
Potential () | |
Constructor of Potential. | |
Potential (const int n1, const int n2, const Distribution n3=Distribution::Zero_conf) | |
Set Li, num_f, and field. | |
Potential (const MatrixXcd &m) | |
Set Li and field from MatrixXcd, but num_f such as num_f(num_f+1)/2==field.cols() | |
Potential (const MatrixXcd &m, const int num_field) | |
Set Li and field from MatrixXcd, but num_f=num_field | |
virtual | ~Potential () |
Destructor of Potential. | |
virtual bool | operator== (const Potential &p) |
Is identical (Li, num_f) ? | |
virtual bool | operator!= (const Potential &p) |
Not identical (Li, num_f) ? | |
int | sign_det (const int debug=0) const |
Sign determinant with a fast algorithm (num_f < 4) | |
int | sign_det4multifield (const int debug=0) const |
Sign determinant for mutli-superfield. | |
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. | |
Compute Matrix and Vector for NR method.
field: partial_i partial_j W({A}) (p) with i <= j
field2: partial_i W({A}) (p)
field3: sum_j A_j partial_i partial_j W({A}) (p)
Definition at line 214 of file field_potential.hpp.
|
inlineexplicit |
Constructor of PotentialNR.
Definition at line 223 of file field_potential.hpp.
|
inlineexplicit |
Set Li, num_f, and field-field2-field3 with zeros.
n1 | Set Li |
n2 | Set num_f; n2(n2+1)/2==field.cols(); n2==field2.cols()==field3.cols() |
n3 | Set normal distribution type |
Definition at line 233 of file field_potential.hpp.
|
inlineexplicit |
Set Li, num_f, and field-field2-field3.
num_field | Set num_f; |
m1 | Set field; |
m2 | Set field2; |
m3 | Set field3; |
Definition at line 248 of file field_potential.hpp.
|
inline |
Destructor of PotentialNR.
Definition at line 264 of file field_potential.hpp.
MatrixXd PotentialNR::nr_mat | ( | ) | const |
Compute Matrix for NR method (Real type)
Definition at line 404 of file field_potential.cpp.
VectorXd PotentialNR::nr_pvec | ( | ) | const |
Compute Vector for NR method (Real type)
Definition at line 454 of file field_potential.cpp.
VectorXcd PotentialNR::nrerr_pvec | ( | ) | const |
Compute Vector for NR error estimate (complex type)
Definition at line 471 of file field_potential.cpp.
|
inline |
Not identical (Li, num_f) ?
Definition at line 275 of file field_potential.hpp.
|
inline |
Is identical (Li, num_f) ?
Definition at line 270 of file field_potential.hpp.
|
virtual |
Output Li, field, field2, field3.
Reimplemented from Potential.
Definition at line 482 of file field_potential.cpp.