LandauGinzburg
|
Generate normal distributions; Compute convolutions. More...
#include <field_class.hpp>
Public Member Functions | |
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. | |
virtual void | show () const |
Output Li, field. | |
Protected Member Functions | |
void | setgauss (const int num_col, const double mean=0.0, const double dev=1.0) |
void | setgaussl (const int num_col, const double mean=0.0) |
void | setgaussmt (const int num_col, const double mean=0.0, const double dev=1.0) |
void | setgaussmtl (const int num_col, const double mean=0.0) |
void | setconf (const int num_col, const Distribution n, const double mean=0.0, const double dev=1.0) |
void | setconf (const VectorXcd &v, const int num_field=1) |
void | setconf (const VectorXd &v, const int num_field) |
void | setconf (const MatrixXcd &m) |
void | setconf (const MatrixXcd &m, const int num_field) |
MatrixXcd | vector2matrix (const int n) const |
MatrixXcd | field2matrix (const int n) const |
MatrixXcd | dfield2matrix (const int n) const |
Protected Attributes | |
int | Li |
Physical box size, N_0=N_1. | |
int | num_f |
Number of superfields. | |
MatrixXcd | field |
Superfields. | |
Generate normal distributions; Compute convolutions.
Definition at line 48 of file field_class.hpp.
|
inlineexplicit |
Constructor of Field.
Definition at line 143 of file field_class.hpp.
Set Li=n1 and num_f=n2.
n1 | Set Li |
n2 | Set num_f |
Definition at line 150 of file field_class.hpp.
|
inline |
Set Li, num_f, and field.
n1 | Set Li |
n2 | Set num_f |
n3 | Set normal distribution type |
mean | Parameter of normal distribution |
dev | Parameter of normal distribution |
Definition at line 161 of file field_class.hpp.
|
inline |
Set Li, num_f, and field; n3 is.
n1 | Set Li |
n2 | Set num_f |
n3 | Set field.cols(); It is possible that n3!=num_f |
n4 | Set normal distribution type |
mean | Parameter of normal distribution |
dev | Parameter of normal distribution |
Definition at line 178 of file field_class.hpp.
Set Li, num_f, and field from VectorXcd.
Definition at line 187 of file field_class.hpp.
Set Li and field from VectorXd; num_f!=field.cols()
Definition at line 194 of file field_class.hpp.
Set Li, num_f, and field from MatrixXcd.
Definition at line 200 of file field_class.hpp.
Set Li and field from MatrixXcd, but num_f=num_field
It is possible that num_f!=field.cols()
Definition at line 208 of file field_class.hpp.
|
inlinevirtual |
Destructor of Field.
Definition at line 211 of file field_class.hpp.
Combine with another Field object; Mutate field (Li and num_f are unchaged) except for the case that field is empty.
Definition at line 252 of file field_class.cpp.
|
inline |
All superfields
Definition at line 277 of file field_class.hpp.
n-th superfield
Definition at line 282 of file field_class.hpp.
Imaginary part of n-th superfield
Definition at line 292 of file field_class.hpp.
Real part of n-th superfield
Definition at line 287 of file field_class.hpp.
Convolution field(:,n)*conf(field(:,n))
n | n-th superfield |
Definition at line 201 of file field_class.cpp.
Convolution field(:,n1)*field(:,n2)
n1 | n1-th superfield |
n2 | n2-th superfield |
Definition at line 187 of file field_class.cpp.
Convolution field(:,n)*field(:,n)*...*field(:,n)
pw | Convolution times |
n | n-th superfield |
Definition at line 219 of file field_class.cpp.
From vector-type field(p,n) to matrix-type field(p,n)*field(q,n)
Definition at line 175 of file field_class.cpp.
From vector-type field(p,n) to matrix-type field(p-q,n)
Definition at line 154 of file field_class.cpp.
|
inlinestatic |
Definition at line 223 of file field_class.hpp.
|
inlinestatic |
Definition at line 228 of file field_class.hpp.
Definition at line 233 of file field_class.hpp.
|
inlinestatic |
Definition at line 238 of file field_class.hpp.
|
inlinestatic |
Definition at line 243 of file field_class.hpp.
|
inlinestatic |
Definition at line 248 of file field_class.hpp.
Definition at line 253 of file field_class.hpp.
|
inlinestatic |
Definition at line 258 of file field_class.hpp.
Definition at line 267 of file field_class.hpp.
Definition at line 270 of file field_class.hpp.
|
inlinevirtual |
Not identical (Li, num_f) ?
Definition at line 303 of file field_class.hpp.
|
inlinevirtual |
Multiply by a real number n.
Definition at line 309 of file field_class.hpp.
|
inlinevirtual |
Devide by a real number n.
Definition at line 314 of file field_class.hpp.
|
inlinevirtual |
Is identical (Li, num_f) ?
Definition at line 298 of file field_class.hpp.
|
protected |
Generate normal distributions with type Distribution
Definition at line 46 of file field_class.cpp.
Generate from MatrixXcd data
Definition at line 108 of file field_class.cpp.
Generate from MatrixXcd data and set number of fields with num_field
Definition at line 123 of file field_class.cpp.
Generate from VectorXcd data
Definition at line 68 of file field_class.cpp.
Generate from VectorXd data
Definition at line 84 of file field_class.cpp.
|
protected |
Generate normal distributions by random device with unit deviation;
Definition at line 10 of file field_class.cpp.
Generate normal distributions by random device with deviation Li/SQRT2
Definition at line 23 of file field_class.cpp.
|
protected |
Generate normal distributions by Mersenne twistor with unit deviation
Definition at line 27 of file field_class.cpp.
Generate normal distributions by Mersenne twistor with deviation Li/SQRT2
Definition at line 41 of file field_class.cpp.
|
virtual |
Output Li, field.
Reimplemented in Nicolai, Scalar, NicolaiSol, Potential, and PotentialNR.
Definition at line 269 of file field_class.cpp.
Definition at line 263 of file field_class.hpp.
From vector-type field(p) to matrix-type field(p_0,p_1)
Definition at line 140 of file field_class.cpp.
Definition at line 215 of file field_class.hpp.
Definition at line 219 of file field_class.hpp.
|
protected |
|
protected |
Physical box size, N_0=N_1.
Definition at line 51 of file field_class.hpp.
|
protected |
Number of superfields.
Definition at line 53 of file field_class.hpp.