QMCFunctions Class Reference

#include <QMCFunctions.h>

Inheritance diagram for QMCFunctions:

QMCHarmonicOscillator QMCSCFJastrow

List of all members.

Public Member Functions

 QMCFunctions ()
 Creates a new instance of the class.
 QMCFunctions (QMCInput *input)
 Creates a new instance of the class and initializes it with the data controlling the QMC calculation.
 QMCFunctions (const QMCFunctions &rhs)
 Creates a new instance of the class that is identical to another instance of QMCFunctions.
virtual ~QMCFunctions ()
 Deallocates all memory used by the object.
virtual void evaluate (Array2D< double > &X, QMCWalkerData &data)=0
 Evaluates all of the calculated properties at X and places the calculated data into the QMCWalkerData struct provided.
virtual void evaluate (Array1D< QMCWalkerData * > &walkerData, Array1D< Array2D< double > * > &xData, int num)=0
virtual void calculate_CorrelatedSampling (Array1D< QMCWalkerData * > &walkerData, Array1D< Array2D< double > * > &xData, int num)
 This must be called after calculate_Psi_quantities.
void operator= (const QMCFunctions &rhs)
 Sets two QMCFunctions objects equal.

Protected Attributes

QMCInputInput
int nalpha
int nbeta


Detailed Description

Definition at line 25 of file QMCFunctions.h.


Constructor & Destructor Documentation

QMCFunctions::QMCFunctions (  )  [inline]

Creates a new instance of the class.

Definition at line 31 of file QMCFunctions.h.

QMCFunctions::QMCFunctions ( QMCInput input  )  [inline]

Creates a new instance of the class and initializes it with the data controlling the QMC calculation.

Parameters:
input input data for the calculation

Definition at line 39 of file QMCFunctions.h.

QMCFunctions::QMCFunctions ( const QMCFunctions rhs  )  [inline]

Creates a new instance of the class that is identical to another instance of QMCFunctions.

Parameters:
rhs object to make a copy of

Definition at line 47 of file QMCFunctions.h.

virtual QMCFunctions::~QMCFunctions (  )  [inline, virtual]

Deallocates all memory used by the object.

Definition at line 52 of file QMCFunctions.h.


Member Function Documentation

virtual void QMCFunctions::evaluate ( Array2D< double > &  X,
QMCWalkerData data 
) [pure virtual]

Evaluates all of the calculated properties at X and places the calculated data into the QMCWalkerData struct provided.

Two overloaded functions are provided, one of them processes a array of parameters, the other processes just one (useful during a QMCWalker's initialization)

Parameters:
X $3N$ dimensional configuration of electrons represented by a $N \times 3$ matrix
data all the data that a QMCWalker should require
writeConfig if the program is writing configs, we need to know here. if true, the walkerData.configOutput will be given its info

Implemented in QMCHarmonicOscillator, and QMCSCFJastrow.

Referenced by QMCWalker::initializeWalkerPosition(), QMCSurfer::mainMenu(), QMCWalker::processPropagation(), QMCRun::propagateWalkers(), QMCRun::randomlyInitializeWalkers(), QMCWalker::readXML(), and QMCSurfer::scanEnergies().

virtual void QMCFunctions::evaluate ( Array1D< QMCWalkerData * > &  walkerData,
Array1D< Array2D< double > * > &  xData,
int  num 
) [pure virtual]

Implemented in QMCHarmonicOscillator, and QMCSCFJastrow.

virtual void QMCFunctions::calculate_CorrelatedSampling ( Array1D< QMCWalkerData * > &  walkerData,
Array1D< Array2D< double > * > &  xData,
int  num 
) [inline, virtual]

This must be called after calculate_Psi_quantities.

It assumes that we're only interested Jastrow parameter modifications, recalculate the energy for each set of parameters.

Reimplemented in QMCSCFJastrow.

Definition at line 76 of file QMCFunctions.h.

Referenced by QMCRun::propagateWalkers().

void QMCFunctions::operator= ( const QMCFunctions rhs  )  [inline]

Sets two QMCFunctions objects equal.

Parameters:
rhs object to set this object equal to

Definition at line 85 of file QMCFunctions.h.

References Input, nalpha, and nbeta.


Member Data Documentation

int QMCFunctions::nalpha [protected]

int QMCFunctions::nbeta [protected]


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

Generated on Sat Jul 5 16:14:03 2008 for QMcBeaver by  doxygen 1.5.6