7#ifndef fluxes_estimator_hh
8#define fluxes_estimator_hh
39 virtual std::ostream&
info(std::ostream&
os)
const throw () {
44 std::string errorMessage_;
77 void compress(Real eps = EPS);
97 Real getWeight(uint E, uint K)
const {
100 if(iter->second[0].elm->support().key().key()==K)
122 virtual Fluxes* clone()
const {
123 return new hp2D::Fluxes(*
this);
135 std::ostream& info(std::ostream& os)
const {
138 for( ;iter != coeffs_.end(); ++iter) {
139 os<<
"Edge("<<iter->first<<
") --> (";
141 for( ; i< iter->second.size()-1;++i){
142 os<< iter->second[i] <<
" , ";
144 os << iter->second[i] <<
")"<<std::endl;
146 return os<<
"]"<<std::endl;
210 virtual ~LocalFluxes() {
214 virtual LocalFluxes* clone()
const {
215 return new hp2D::LocalFluxes(*
this);
220 std::ostream& info(std::ostream& os)
const {
223 for( ;iter != coeffs_.end(); ++iter) {
224 os<<
"Edge("<<iter->first<<
") --> (";
226 for( ; i< iter->second.size()-1;++i){
227 os<< iter->second[i] <<
" , ";
229 os << iter->second[i] <<
")"<<std::endl;
231 return os<<
"]"<<std::endl;
257 const hp2D::Fluxes& globFlux_;
FluxesError(const std::string &errorMessage)
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
#define conceptsAssert(cond, exc)
std::string typeOf(const T &t)
Set< F > makeSet(uint n, const F &first,...)