Navigation

Main Page
Download
Support
Installation
Tutorial
Examples
Reference Manual
   Version 1.0.4
   Version 1.0.4dev
      Class Index
      File List
Publications


Hosted by Get Ion Beam Simulator at SourceForge.net. Fast, secure and Free Open Source software downloads

Boundary condition definition class. More...

#include <geometry.hpp>

List of all members.

Public Member Functions

 Bound (bound_e t, double v)
 Constructor.
 Bound (std::istream &s)
 Constructor for loading boundary condition from a file.
void save (std::ostream &os) const
 Saves data to stream os.

Public Attributes

bound_e type
double val

Friends

std::ostream & operator<< (std::ostream &os, const Bound &b)
 Outputting to stream.

Detailed Description

Boundary condition definition class.

Contains boundary condition type and numerical boundary value. Dirichlet here means fixed, preset potential at the boundary

\[ \phi = \phi_0. \]

Neumann here means that the first derivative of the potential with respect to the unit outward normal (out of solid into the vacuum) of the surface is preset

\[ - \frac{\partial \phi}{\partial \vec{n}} = - \sum_i n_i \frac{\partial \phi}{\partial x_i} = q_0. \]


Constructor & Destructor Documentation

Bound::Bound ( bound_e  t,
double  v 
) [inline]

Constructor.

Bound::Bound ( std::istream &  s  )  [inline]

Constructor for loading boundary condition from a file.


Member Function Documentation

void Bound::save ( std::ostream &  os  )  const [inline]

Saves data to stream os.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const Bound b 
) [friend]

Outputting to stream.


Member Data Documentation

double Bound::val

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


Reference manual for Ion Beam Simulator 1.0.4dev
Generated by Doxygen 1.7.1 on Wed May 18 2011 23:03:50.