#include <ising.h>

Public Member Functions | |
| IsingFrame () | |
| virtual | ~IsingFrame () |
| void | initparser () |
| int | exec (char *name) |
| void | initvars () |
| void | runcommand () |
| void | Alloc () |
| void | initspin () |
| void | initpath (int pn) |
| void | copypath (int pdes, int psrc) |
| void | cutpath (int pn, int istart, int newlen) |
| void | reversepath (int pn) |
| void | mergepath (int phead, int ptail) |
| void | MCrun () |
| double | Energy () |
| void | SampleMCpath (double smin, double smax, int nmax, int pn) |
| void | WalkonChain (double smin, double smax, int nmax) |
| int | ComputeSuccessRate (int nsample, double smin, double smax, int nmax) |
| void | AnalyzeConfigs (int nstart, int nend, int nsample, double smin, double smax, int nmax) |
| void | copyPathtoS (int pn, int nstep) |
| void | copyStoS0 () |
| void | copyS0toS () |
| int | FFSprocess () |
| void | calcrystalorder () |
| void | allocDFS () |
| void | assign_Lam () |
| void | DFS (int) |
| virtual void | saveintercn (int) |
| int | readcn () |
| int | setfilecounter () |
| int | setFFSfilecounter () |
| int | openintercnfile () |
| int | openFFScnfile () |
| int | openpropfile () |
| int | writefinalcnfile (int zip=1, bool bg=true) |
| int | writeintercnfile (int zip=1, bool bg=false) |
| int | writeFFScnfile (int zip=1, bool bg=false) |
| int | writepath (int pn) |
| int | readpath (int pn) |
| void | writefortraninifile (char *fname) |
| void | fortranrelax () |
| void | winplot () |
| void | winplot (int) |
| void | openwin () |
| void | plot () |
| int | openwindow (int w, int h, const char *n) |
| void | closewindow () |
| void | wintogglepause () |
| void | alloccolors () |
| void | alloccolorsX () |
| void | rotate () |
| void | saverot () |
Public Attributes | |
| int | _NX |
| int | _NY |
| int | _NZ |
| int * | _S |
| int * | _S0 |
| int | Stot |
| int | Ntot |
| double | kBT |
| double | J |
| double | H |
| double | E |
| int | totalsteps |
| int | curstep |
| int | continue_curstep |
| int | step0 |
| double | MC_spin |
| double | MC_accept |
| double | MC_accept_tot |
| double | MC_accept_ratio |
| int | _RANDSEED |
| int | _NSAMPLE |
| int | _NSUCCESS |
| class Path pathA pathB | pathC |
| int | N_lgst_cluster |
| int | N_lgst_avg |
| int | N_cluster_temp |
| int * | DFS_mark |
| int * | _Lam_array |
| int * | _Lam_check |
| int | saveFFScn |
| int | FFSoption |
| int | FFSpruning |
| double | FFScn_weight |
| double | FFS_Pp |
| int | FFS0_check |
| int | lambda_A |
| int | lambda_B |
| int | FFScurstep |
| int | FFSautoend |
| YWindow * | win |
| int | win_width |
| int | win_height |
| double | rotateangles [5] |
| int | plotfreq |
| double | atomradius [MAXSPECIES] |
| double | bondradius |
| double | bondlength |
| char | atomcolor [MAXSPECIES][30] |
| char | bondcolor [30] |
| char | fixatomcolor [30] |
| char | highlightcolor [30] |
| char | backgroundcolor [30] |
| char | colornames [MAXCOLORS][30] |
| unsigned | colors [MAXCOLORS+15] |
| double | input [20000] |
| class CNFile initcn intercn FFScn | finalcn |
| class PropFile | pf |
| char | incnfile [200] |
| char | finalcnfile [200] |
| char | intercnfile [200] |
| char | FFScnfile [200] |
| char | outpropfile [200] |
| char | myname [200] |
| char | pathfile [200] |
| char | command [1000] |
| int | ncom |
| int | savecn |
| int | savecnfreq |
| int | saveprop |
| int | savepropfreq |
| int | printfreq |
| int | calcryfreq |
| int | filecounter |
| int | FFSfilecounter |
| int | zipfiles |
Definition at line 83 of file ising.h.
| virtual IsingFrame::~IsingFrame | ( | ) | [inline, virtual] |
| void IsingFrame::Alloc | ( | ) |
| void IsingFrame::alloccolors | ( | ) |
Referenced by exec().
| void IsingFrame::alloccolorsX | ( | ) |
Referenced by exec().
| void IsingFrame::allocDFS | ( | ) |
Referenced by exec().
| void IsingFrame::AnalyzeConfigs | ( | int | nstart, | |
| int | nend, | |||
| int | nsample, | |||
| double | smin, | |||
| double | smax, | |||
| int | nmax | |||
| ) |
Referenced by exec().
| void IsingFrame::assign_Lam | ( | ) |
Referenced by exec().
| void IsingFrame::calcrystalorder | ( | ) |
Referenced by exec().
| void IsingFrame::closewindow | ( | ) |
| int IsingFrame::ComputeSuccessRate | ( | int | nsample, | |
| double | smin, | |||
| double | smax, | |||
| int | nmax | |||
| ) |
Referenced by exec().
| void IsingFrame::copypath | ( | int | pdes, | |
| int | psrc | |||
| ) |
| void IsingFrame::copyPathtoS | ( | int | pn, | |
| int | nstep | |||
| ) |
Referenced by exec().
| void IsingFrame::copyS0toS | ( | ) |
| void IsingFrame::copyStoS0 | ( | ) |
| void IsingFrame::cutpath | ( | int | pn, | |
| int | istart, | |||
| int | newlen | |||
| ) |
| void IsingFrame::DFS | ( | int | ) |
| double IsingFrame::Energy | ( | ) |
| int IsingFrame::exec | ( | char * | name | ) | [virtual] |
Reimplemented from Organizer.
Definition at line 81 of file ising.cpp.
References _NSAMPLE, _NSUCCESS, _RANDSEED, alloccolors(), alloccolorsX(), allocDFS(), AnalyzeConfigs(), assign_Lam(), bindcommand, calcrystalorder(), ComputeSuccessRate(), copyPathtoS(), Organizer::exec(), FFSprocess(), initpath(), initspin(), input, MCrun(), NULL, openFFScnfile(), openintercnfile(), openpropfile(), openwin(), plot(), readcn(), readpath(), SYWindow::reversergb(), rotate(), runcommand(), SampleMCpath(), saverot(), setFFSfilecounter(), setfilecounter(), WalkonChain(), win, wintogglepause(), writeFFScnfile(), writefinalcnfile(), writeintercnfile(), and writepath().
| int IsingFrame::FFSprocess | ( | ) |
Referenced by exec().
| void IsingFrame::fortranrelax | ( | ) |
| void IsingFrame::initparser | ( | ) |
Definition at line 5 of file ising.cpp.
References _NSAMPLE, _NSUCCESS, _NX, _NY, _NZ, _RANDSEED, atomcolor, atomradius, backgroundcolor, Organizer::bindvar(), calcryfreq, colornames, command, continue_curstep, curstep, DOUBLE, FFS0_check, FFS_Pp, FFSautoend, FFScn_weight, FFScnfile, FFScurstep, FFSfilecounter, FFSoption, FFSpruning, filecounter, finalcnfile, H, incnfile, input, INT, intercnfile, J, kBT, lambda_A, lambda_B, MAXCOLORS, MAXSPECIES, myname, N_lgst_avg, N_lgst_cluster, outpropfile, plotfreq, printfreq, rotateangles, s, savecn, savecnfreq, saveFFScn, saveprop, savepropfreq, STRING, totalsteps, win_height, win_width, and zipfiles.
Referenced by initvars().
| void IsingFrame::initpath | ( | int | pn | ) |
Referenced by exec().
| void IsingFrame::initspin | ( | ) |
Referenced by exec().
| void IsingFrame::initvars | ( | ) |
Definition at line 160 of file ising.cpp.
References atomcolor, atomradius, bondcolor, colornames, command, FFScnfile, finalcnfile, highlightcolor, incnfile, initparser(), intercnfile, MAXCOLORS, MAXSPECIES, and outpropfile.
| void IsingFrame::MCrun | ( | ) |
Referenced by exec().
| void IsingFrame::mergepath | ( | int | phead, | |
| int | ptail | |||
| ) |
| int IsingFrame::openFFScnfile | ( | ) |
Referenced by exec().
| int IsingFrame::openintercnfile | ( | ) |
Referenced by exec().
| int IsingFrame::openpropfile | ( | ) |
Referenced by exec().
| void IsingFrame::openwin | ( | ) |
Referenced by exec().
| int IsingFrame::openwindow | ( | int | w, | |
| int | h, | |||
| const char * | n | |||
| ) |
| void IsingFrame::plot | ( | ) |
Referenced by exec().
| int IsingFrame::readcn | ( | ) |
Referenced by exec().
| int IsingFrame::readpath | ( | int | pn | ) |
Referenced by exec().
| void IsingFrame::reversepath | ( | int | pn | ) |
| void IsingFrame::rotate | ( | ) |
Referenced by exec().
| void IsingFrame::runcommand | ( | ) |
Definition at line 137 of file ising.cpp.
References command, ncom, Organizer::nolog, and LFile::SubHomeDir().
Referenced by exec().
| void IsingFrame::SampleMCpath | ( | double | smin, | |
| double | smax, | |||
| int | nmax, | |||
| int | pn | |||
| ) |
Referenced by exec().
| virtual void IsingFrame::saveintercn | ( | int | ) | [virtual] |
| void IsingFrame::saverot | ( | ) |
Referenced by exec().
| int IsingFrame::setFFSfilecounter | ( | ) |
Referenced by exec().
| int IsingFrame::setfilecounter | ( | ) |
Referenced by exec().
| void IsingFrame::WalkonChain | ( | double | smin, | |
| double | smax, | |||
| int | nmax | |||
| ) |
Referenced by exec().
| void IsingFrame::winplot | ( | int | ) |
| void IsingFrame::winplot | ( | ) |
| void IsingFrame::wintogglepause | ( | ) |
Referenced by exec().
| int IsingFrame::writeFFScnfile | ( | int | zip = 1, |
|
| bool | bg = false | |||
| ) |
Referenced by exec().
| int IsingFrame::writefinalcnfile | ( | int | zip = 1, |
|
| bool | bg = true | |||
| ) |
Referenced by exec().
| void IsingFrame::writefortraninifile | ( | char * | fname | ) |
| int IsingFrame::writeintercnfile | ( | int | zip = 1, |
|
| bool | bg = false | |||
| ) |
Referenced by exec().
| int IsingFrame::writepath | ( | int | pn | ) |
Referenced by exec().
| int * IsingFrame::_Lam_check |
| int IsingFrame::_NX |
| int IsingFrame::_NY |
| int IsingFrame::_NZ |
| int* IsingFrame::_S |
| int * IsingFrame::_S0 |
| char IsingFrame::atomcolor[MAXSPECIES][30] |
| double IsingFrame::atomradius[MAXSPECIES] |
| char IsingFrame::backgroundcolor[30] |
| char IsingFrame::bondcolor[30] |
| double IsingFrame::bondlength |
| double IsingFrame::bondradius |
| char IsingFrame::colornames[MAXCOLORS][30] |
| unsigned IsingFrame::colors[MAXCOLORS+15] |
| char IsingFrame::command[1000] |
| int* IsingFrame::DFS_mark |
| double IsingFrame::E |
| double IsingFrame::FFS_Pp |
| double IsingFrame::FFScn_weight |
| char IsingFrame::FFScnfile[200] |
| class CNFile initcn intercn FFScn IsingFrame::finalcn |
| char IsingFrame::finalcnfile[200] |
| char IsingFrame::fixatomcolor[30] |
| double IsingFrame::H |
| char IsingFrame::highlightcolor[30] |
| char IsingFrame::incnfile[200] |
| double IsingFrame::input[20000] |
| char IsingFrame::intercnfile[200] |
| double IsingFrame::J |
| double IsingFrame::kBT |
| double IsingFrame::MC_accept |
| double IsingFrame::MC_accept_ratio |
| double IsingFrame::MC_accept_tot |
| double IsingFrame::MC_spin |
| char IsingFrame::myname[200] |
| int IsingFrame::ncom |
| int IsingFrame::Ntot |
| char IsingFrame::outpropfile[200] |
| class Path pathA pathB IsingFrame::pathC |
| char IsingFrame::pathfile[200] |
| class PropFile IsingFrame::pf |
| double IsingFrame::rotateangles[5] |
| int IsingFrame::Stot |
1.5.7.1