2009-01-13 04:40:13 +05:00
|
|
|
#ifndef VALIDATE_HPP
|
|
|
|
#define VALIDATE_HPP
|
|
|
|
|
2011-03-03 01:50:39 +05:00
|
|
|
namespace netgen
|
|
|
|
{
|
|
|
|
|
|
|
|
void GetPureBadness(Mesh & mesh, Array<double> & pure_badness,
|
|
|
|
const BitArray & isnewpoint);
|
|
|
|
double Validate(const Mesh & mesh, Array<ElementIndex> & bad_elements,
|
|
|
|
const Array<double> & pure_badness,
|
|
|
|
double max_worsening, const bool uselocalworsening,
|
|
|
|
Array<double> * quality_loss = NULL);
|
|
|
|
void RepairBisection(Mesh & mesh, Array<ElementIndex> & bad_elements,
|
|
|
|
const BitArray & isnewpoint, const Refinement & refinement,
|
|
|
|
const Array<double> & pure_badness,
|
|
|
|
double max_worsening, const bool uselocalworsening,
|
|
|
|
const Array< Array<int,PointIndex::BASE>* > & idmaps);
|
2009-01-13 04:40:13 +05:00
|
|
|
|
2011-03-03 01:50:39 +05:00
|
|
|
}
|
2009-01-13 04:40:13 +05:00
|
|
|
|
|
|
|
#endif // VALIDATE_HPP
|