LandauGinzburg
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
Nicolai Class Reference

Nicolai map; Compute Vector for NR method. More...

#include <field_nicolai.hpp>

Inheritance diagram for Nicolai:
Inheritance graph
[legend]

Public Member Functions

 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.
 
void show () const
 Output Li, in, 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 Fieldoperator*= (const double n)
 Multiply by a real number n.
 
virtual Fieldoperator/= (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.
 

Protected Attributes

int in
 ID number for the Nicolai map.
 
- Protected Attributes inherited from Field
int Li
 Physical box size, N_0=N_1.
 
int num_f
 Number of superfields.
 
MatrixXcd field
 Superfields.
 

Additional Inherited Members

- Static Public Member Functions inherited from Field
static Field Zero (const int n1, const int n2)
 
static Field Zero (const int n1, const int n2, const int n3)
 
static Field Gauss (const int n1, const int n2, const double mean=0.0, const double dev=1.0)
 
static Field Gauss (const int n1, const int n2, const int n3, const double mean=0.0, const double dev=1.0)
 
static Field GaussL (const int n1, const int n2, const double mean=0.0)
 
static Field GaussL (const int n1, const int n2, const int n3, const double mean=0.0)
 
static Field GaussMT (const int n1, const int n2, const double mean=0.0, const double dev=1.0)
 
static Field GaussMT (const int n1, const int n2, const int n3, const double mean=0.0, const double dev=1.0)
 
static Field GaussMTL (const int n1, const int n2, const double mean=0.0)
 
static Field GaussMTL (const int n1, const int n2, const int n3, const double mean=0.0)
 
static Field Vector (const VectorXcd &v, const int num_field=1)
 
static Field Matrix (const MatrixXcd &m)
 
static Field Matrix (const MatrixXcd &m, const int num_field)
 
- Protected Member Functions inherited from Field
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
 

Detailed Description

Nicolai map; Compute Vector for NR method.

See also
Field
NicolaiSol

Definition at line 68 of file field_nicolai.hpp.

Constructor & Destructor Documentation

◆ Nicolai() [1/2]

Nicolai::Nicolai ( )
inlineexplicit

Constructor of Nicolai.

Definition at line 76 of file field_nicolai.hpp.

◆ Nicolai() [2/2]

Nicolai::Nicolai ( const int n1,
const int n2,
const int n3 )
inlineexplicit

Set Li, num_f, in; Configuration is generated by random device with deviation Li/SQRT2.

Parameters
n1Set Li
n2Set num_f
n3Set in

Definition at line 86 of file field_nicolai.hpp.

◆ ~Nicolai()

Nicolai::~Nicolai ( )
inlinevirtual

Destructor of Nicolai.

Definition at line 90 of file field_nicolai.hpp.

Member Function Documentation

◆ nic_output()

void Nicolai::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.

Parameters
kPower in superpotential
lambdaCoupling
num_nrsolNumber of "convergent" trials of NR method
signsSign determinant
dmpNumber of omitting solutions because of divergence
max_errMaximum error of NR method
sptSuperpotential type

Definition at line 33 of file field_nicolai.cpp.

◆ nr_nvec()

VectorXd Nicolai::nr_nvec ( ) const

Compute Vector for NR method (Real type)

See also
Scalar
Scalar::nr_loop
PotentialNR

Definition at line 9 of file field_nicolai.cpp.

◆ nrerr_nvec()

VectorXcd Nicolai::nrerr_nvec ( ) const

Compute Vector for NR error estimate (complex type)

See also
Scalar
Scalar::nr_error_vec
Scalar::nr_error
PotentialNR

Definition at line 22 of file field_nicolai.cpp.

◆ operator!=()

bool Nicolai::operator!= ( const Nicolai & f)
inlinevirtual

Not identical (Li, num_f) ?

Definition at line 101 of file field_nicolai.hpp.

◆ operator==()

bool Nicolai::operator== ( const Nicolai & f)
inlinevirtual

Is identical (Li, num_f) ?

Definition at line 96 of file field_nicolai.hpp.

◆ show()

void Nicolai::show ( ) const
virtual

Output Li, in, field.

Reimplemented from Field.

Reimplemented in NicolaiSol.

Definition at line 99 of file field_nicolai.cpp.

Member Data Documentation

◆ in

int Nicolai::in
protected

ID number for the Nicolai map.

Definition at line 71 of file field_nicolai.hpp.


The documentation for this class was generated from the following files: