k-dot-p 0.1

kdotp::libkdotp::wavefunction::cartesian_effective_mass Class Reference

#include <wavefunction_cartesian_effective_mass.h++>

List of all members.

Public Member Functions

 cartesian_effective_mass (double *eigenvector_block, unsigned int eigvec, double dx, unsigned int L, double energy)

Public Attributes

double * wf
double E
double dx
unsigned int L

Detailed Description

Class to deal with eigenfunctions of effective mass Hamiltonians

Note:
a "block" is as returned by LAPACK; N eigenvectors, placed into an array one after the other (index with L*eigvec + i)

Definition at line 37 of file wavefunction_cartesian_effective_mass.h++.


Constructor & Destructor Documentation

kdotp::libkdotp::wavefunction::cartesian_effective_mass::cartesian_effective_mass ( double *  eigenvector_block,
unsigned int  eigvec,
double  dx,
unsigned int  L,
double  energy 
)

Constructor from a block of eigenvectors

Definition at line 31 of file wavefunction_cartesian_effective_mass.c++.

References L, and wf.

                                                                                                                                                 : E(energy), dx(dx), L(L) {
  wf = new double[L];
  for(unsigned int i=0; i<L; i++) wf[i] = eigenvector_block[L*eigvec+i];
      }

Member Data Documentation

The energy of this wavefunction

Definition at line 42 of file wavefunction_cartesian_effective_mass.h++.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines