Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members

FDPB::Boundary Struct Reference

This struct contains symbols for the available boundary conditions. More...

#include <poissonBoltzmann.h>

List of all members.

Static Public Attributes

const String ZERO
 Boundary condition zero: boundary points have zero potential.
const String DEBYE
 Boundary condition Debye: potential at boundary points is estimated using Debye Hueckel theory.
const String COULOMB
 Boundary condition Coulomb: potential at boundary points is estimated using coulomb's law.
const String DIPOLE
 Boundary condition Dipole: potential is estimated via dipole potentials.
const String FOCUSING
 Boundary condition Focusing: potential is estimated via a larger but coarser grid.


Detailed Description

This struct contains symbols for the available boundary conditions.


Member Data Documentation

const String FDPB::Boundary::COULOMB [static]
 

Boundary condition Coulomb: potential at boundary points is estimated using coulomb's law.

const String FDPB::Boundary::DEBYE [static]
 

Boundary condition Debye: potential at boundary points is estimated using Debye Hueckel theory.

The Potential at each point of the grid boundary is estimated as the Debye Hueckel potential according to the following formula:

\[ \phi_{x,y,z} = \sum_i \frac{1}{4 \pi \varepsilon \varepsilon_0} \frac{q_i}{r} e^{-\frac{r}{d}} \]

This options tends to become very slow for large grids.

const String FDPB::Boundary::FOCUSING [static]
 

Boundary condition Focusing: potential is estimated via a larger but coarser grid.

Focusing calculates a larger grid (double extension in each direction) centered on the final grid with a four times the spacing of the final grid. Focusing also assigns an estimate of the electrostatic potential to each grid point in the final grid, thus acceleratingthe convergence.

const String FDPB::Boundary::ZERO [static]
 

Boundary condition zero: boundary points have zero potential.

A Potential of zero is assigned to all points on the grid boundary. This is the simplest and least accurate method. It's use is not recommended.