6#ifndef formulaexceptions_hh
7#define formulaexceptions_hh
27 template<
typename F,
typename G>
31 s <<
"element " << elm <<
" is not in the domain of " << frm;
32 errorMessage_ = s.str();
38 s <<
"element " << elm <<
" is not in the domain";
39 errorMessage_ = s.str();
42 virtual ~ElementNotInDomainOfFormula()
throw() {}
44 virtual std::ostream&
info(std::ostream&
os)
const throw();
46 std::string errorMessage_;
60 errorMessage_ =
"Empty RCP<ElementFormula>";
64 virtual std::ostream&
info(std::ostream&
os)
const throw();
66 std::string errorMessage_;
80 errorMessage_ =
"Empty RCP<Formula>";
84 virtual std::ostream&
info(std::ostream&
os)
const throw();
86 std::string errorMessage_;
ElementNotInDomainOfFormula(const Element< G > &elm, const ElementFormula< F, G > &frm)
Constructor.
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
Set< F > makeSet(uint n, const F &first,...)
GenericElement< KarniadakisMixin< F > > Element
template aliases for backwards compatibility