sc::WriteElectronDensity Class Reference

The WriteElectronDensity class writes the electron density at user defined grid points to the standard output or to a separate file. More...

#include <density.h>

Inheritance diagram for sc::WriteElectronDensity:

Inheritance graph
[legend]
Collaboration diagram for sc::WriteElectronDensity:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 WriteElectronDensity (const Ref< KeyVal > &)
 The KeyVal constructor.

Protected Member Functions

void initialize ()
 Prepares some pre-caculated values before the repetitive grid calculations are perfomed.
void label (char *buffer)
 A label that identifies the scalar function evaluated at the grid points, is written to the buffer argument.
Ref< Moleculeget_molecule ()
 Returns the molecule around which the grid values are calculated.
double calculate_value (SCVector3 point)
 Returns the value of the scalar function at the given coordinate.

Protected Attributes

Ref< Wavefunctionwfn_
Ref< BatchElectronDensitybed_
double accuracy_
char * type_
double(WriteElectronDensity::* density_function_ )(double, double)

Detailed Description

The WriteElectronDensity class writes the electron density at user defined grid points to the standard output or to a separate file.


Constructor & Destructor Documentation

sc::WriteElectronDensity::WriteElectronDensity ( const Ref< KeyVal > &   ) 

The KeyVal constructor.

wfn
The Wavefunction of which the density is calculated. There is no default for this option.

type
Four types of densities can be written to the output: 'sum', 'alpha', 'beta' or 'spin'. The default is 'sum'.

accuracy
The accuracy to which the density is calculated. The default is maximum accuracy.


Member Function Documentation

void sc::WriteElectronDensity::initialize (  )  [protected, virtual]

Prepares some pre-caculated values before the repetitive grid calculations are perfomed.

Implements sc::WriteGrid.

void sc::WriteElectronDensity::label ( char *  buffer  )  [protected, virtual]

A label that identifies the scalar function evaluated at the grid points, is written to the buffer argument.

The classname, concatenated with some important properties should be sufficient. No whitespace allowed, length of the string is limited to 256 characters.

Implements sc::WriteGrid.


The documentation for this class was generated from the following file:
Generated at Wed Sep 5 14:03:21 2007 for MPQC 3.0.0-alpha using the documentation package Doxygen 1.5.2.
These pages are hosted on SourceForge.net