Boundary condition definition class. More...
#include <geometry.hpp>
Public Member Functions | |
Bound (bound_e t, double v) | |
Constructor. More... | |
Bound (std::istream &s) | |
Constructor for loading boundary condition from a file. More... | |
void | save (std::ostream &os) const |
Saves data to stream os. More... | |
Public Attributes | |
bound_e | type |
double | val |
Friends | |
std::ostream & | operator<< (std::ostream &os, const Bound &b) |
Outputting to stream. More... | |
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
|
inline |
Constructor.
|
inline |
Constructor for loading boundary condition from a file.
|
inline |
Saves data to stream os.
|
friend |
Outputting to stream.
bound_e Bound::type |
double Bound::val |