IBSimu 1.0.4
|
Boundary condition definition class. More...
#include <geometry.hpp>
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 &fout) const |
Saves boundary data to stream. | |
Public Attributes | |
bound_e | type |
double | val |
Boundary condition definition class.
Contains boundary condition type and numerical boundary value. Dirichlet here means fixed, preset potential at the boundary
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
Bound::Bound | ( | bound_e | t, |
double | v | ||
) | [inline] |
Constructor.
Bound::Bound | ( | std::istream & | s | ) | [inline] |
Constructor for loading boundary condition from a file.
void Bound::save | ( | std::ostream & | fout | ) | const [inline] |
Saves boundary data to stream.
double Bound::val |