38 enum boundaryTypes { FREE = 0, DIRICHLET, NEUMANN, CONNECT, SPHERESURFACEQUAD,MAX_TYPE };
82 bool isNull() {
return frm_.get()==0; }
101 virtual std::ostream&
info(std::ostream&
os)
const;
106 std::unique_ptr<const Formula<Real> > frm_;
Real operator()(const Real2d &x, const Real t=0.0) const
Real operator()(const Real3d &x, const Real t=0.0) const
Boundary(const enum boundaryTypes type)
boundaryTypes
The different boundary condition types.
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
enum boundaryTypes type() const
Returns the type of the boundary condition.
Boundary(const enum boundaryTypes type, const char *frm)
virtual Boundary & operator=(const Boundary &bnd)
Assignment operator.
std::string typeStr() const
Return the type of the boundary condition as output string.
Real operator()(const Real x, const Real t=0.0) const
Boundary(const Boundary &bnd)
Copy constructor.
Boundary(const enum boundaryTypes type, const Formula< Real > &frm)
Set< F > makeSet(uint n, const F &first,...)