LandauGinzburg
Loading...
Searching...
No Matches
Classes | Functions | Variables
field_conf.cpp File Reference

Execute the NR method and Compute sign of determinant. More...

#include "field_nicolai.hpp"
Include dependency graph for field_conf.cpp:

Go to the source code of this file.

Classes

struct  lg_params_t
 Structure lg_params_t. More...
 

Functions

void NicolaiConf (const lg_params_t lp)
 Solve a Landau–Ginzburg model by NR method; Parallel computing with openmp.
 
void Test_SignDet (const int Li, const int num_f, const int loop)
 Test program: computation of sign_det() in Potential; Compare signs and times, which are computed by using two forms of jacobian.
 
int main (int argc, char *argv[])
 Main function.
 

Variables

const double SOL_ID_MAXVAL = 1.0e-11
 Identification of scalar solutions.
 
const double MAX_NRERR = 1.0e-14
 Max error of NR iteration.
 
const double NR_INTERRUPTION = 1.0e9
 Interruption of NR iteration.
 

Detailed Description

Execute the NR method and Compute sign of determinant.

See also
field_class.hpp
field_potential.hpp
field_nicolai.hpp
Author
Okuto Morikawa

Definition in file field_conf.cpp.

Function Documentation

◆ main()

int main ( int argc,
char * argv[] )

Main function.

Definition at line 275 of file field_conf.cpp.

◆ NicolaiConf()

void NicolaiConf ( const lg_params_t params)

Solve a Landau–Ginzburg model by NR method; Parallel computing with openmp.

See also
lg_params_t

Definition at line 75 of file field_conf.cpp.

◆ Test_SignDet()

void Test_SignDet ( const int Li,
const int num_f,
const int loop )

Test program: computation of sign_det() in Potential; Compare signs and times, which are computed by using two forms of jacobian.

Parameters
LiPhysical box size, N_0=N_1, which must be even integer
num_fNumber of superfields
loopNumber of trials

Definition at line 150 of file field_conf.cpp.

Variable Documentation

◆ MAX_NRERR

const double MAX_NRERR = 1.0e-14

Max error of NR iteration.

See also
NicolaiSol
NicolaiSol::nr_method
NicolaiSol::test_nr_method

Definition at line 25 of file field_conf.cpp.

◆ NR_INTERRUPTION

const double NR_INTERRUPTION = 1.0e9

Interruption of NR iteration.

Interrupt NR iteration if nr_err / min(nr_err) >= this parameter

See also
NicolaiSol
NicolaiSol::nr_method
NicolaiSol::test_nr_method

Definition at line 33 of file field_conf.cpp.

◆ SOL_ID_MAXVAL

const double SOL_ID_MAXVAL = 1.0e-11

Identification of scalar solutions.

If the norm of difference between two Scalars < SOL_ID_MAXVAL, we regard those configurations as identical ones

See also
Scalar

Definition at line 18 of file field_conf.cpp.