Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

more::phys::BCS_solver Class Template Reference

A solver of the Bardeen–Cooper–Schrieffer (BCS) equations. More...

#include <more/phys/bcs.h>

Collaboration diagram for more::phys::BCS_solver:

Collaboration graph
[legend]
List of all members.

Public Types

Public Methods


Detailed Description

template<typename T>
class more::phys::BCS_solver< T >

A solver of the Bardeen–Cooper–Schrieffer (BCS) equations.

Energy


Member Typedef Documentation

template<typename T>
typedef T more::phys::BCS_solver::real_type
 

template<typename T>
typedef energy_container::size_type more::phys::BCS_solver::size_type
 


Constructor & Destructor Documentation

template<typename T>
more::phys::BCS_solver< T >::BCS_solver int    N,
real_type    G,
real_type    cut_low,
real_type    cut_high,
real_type    cut_width
[inline]
 

template<typename T>
more::phys::BCS_solver< T >::BCS_solver int    N,
real_type    G
[inline]
 

template<typename T>
more::phys::BCS_solver< T >::BCS_solver   [inline]
 


Member Function Documentation

template<typename T>
void more::phys::BCS_solver< T >::be_verbose bool    value = true [inline]
 

Show each step of the iteration iff value is true.

template<typename T>
real_type more::phys::BCS_solver< T >::coupling_strength   const [inline]
 

Return the coupling strength.

template<typename T>
real_type more::phys::BCS_solver< T >::cut_function real_type    epsilon [inline]
 

template<typename T>
real_type more::phys::BCS_solver< T >::Fermi_energy   [inline]
 

Return the Fermi energy λ.

Precondition:
The equations are solved.

template<typename T>
bool more::phys::BCS_solver< T >::is_verbose   const [inline]
 

Return the value of the verbosity option.

template<typename T>
real_type more::phys::BCS_solver< T >::occupied_count   const [inline]
 

Return the number of occupied states.

template<typename T>
real_type more::phys::BCS_solver< T >::pairing_Delta   [inline]
 

Return the pairing gap Δ.

Precondition:
The equations are solved.

template<typename T>
real_type more::phys::BCS_solver< T >::pairing_energy   [inline]
 

Return the pairing energy.

Precondition:
The equations are solved.

template<typename T>
real_type more::phys::BCS_solver< T >::precision   const [inline]
 

Return the precision.

template<typename T>
void more::phys::BCS_solver< T >::set_coupling_strength real_type    G [inline]
 

Set the coupling strength.

template<typename T>
void more::phys::BCS_solver< T >::set_occupied_count size_type    n [inline]
 

Set the number of occupied states = the number of particles.

template<typename T>
void more::phys::BCS_solver< T >::set_precision real_type    prec [inline]
 

Set the wanted precision for Δ and λ.

template<typename T>
void more::phys::BCS_solver< T >::set_smooth_cutoff real_type    cut_low,
real_type    cut_high,
real_type    cut_width
 

Enable smooth cut to window with energies from cut_low to cut_high, bondaries being smeared over a range cut_width.

template<typename T>
bool more::phys::BCS_solver< T >::smooth_cut real_type   cut_low,
real_type   cut_high,
real_type   cut_width
 

If doing smooth cut, return true and return the details in the arguments, else return false.

template<typename T>
template<typename Iterator>
void more::phys::BCS_solver< T >::solve Iterator    first,
Iterator    last
[inline]
 

Take the energy levels and solve the BCS equations.

template<typename T>
void more::phys::BCS_solver< T >::solve  
 

template<typename T>
real_type more::phys::BCS_solver< T >::sqr_u real_type    epsilon [inline]
 

Return $u$ for the given energy.

Precondition:
The equations are solved.

template<typename T>
real_type more::phys::BCS_solver< T >::sqr_v real_type    epsilon [inline]
 

Return $v$ for the given energy.

Precondition:
The equations are solved.

template<typename T>
void more::phys::BCS_solver< T >::write_to std::ostream &    out const
 


The documentation for this class was generated from the following file:
Generated on Sat Sep 7 19:13:02 2002 for more with Doxygen 1.2.13.1. Doxygen 1.2.13.1 is written and copyright 1997-2002 by Dimitri van Heesch.