2009-01-13 04:40:13 +05:00
|
|
|
#ifndef VALIDATE_HPP
|
|
|
|
#define VALIDATE_HPP
|
|
|
|
|
2011-03-03 01:50:39 +05:00
|
|
|
namespace netgen
|
|
|
|
{
|
|
|
|
|
2019-07-09 13:39:16 +05:00
|
|
|
void GetPureBadness(Mesh & mesh, NgArray<double> & pure_badness,
|
2019-08-28 17:00:49 +05:00
|
|
|
const NgBitArray & isnewpoint);
|
2019-07-09 13:39:16 +05:00
|
|
|
double Validate(const Mesh & mesh, NgArray<ElementIndex> & bad_elements,
|
|
|
|
const NgArray<double> & pure_badness,
|
2011-03-03 01:50:39 +05:00
|
|
|
double max_worsening, const bool uselocalworsening,
|
2019-07-09 13:39:16 +05:00
|
|
|
NgArray<double> * quality_loss = NULL);
|
|
|
|
void RepairBisection(Mesh & mesh, NgArray<ElementIndex> & bad_elements,
|
2019-08-28 17:00:49 +05:00
|
|
|
const NgBitArray & isnewpoint, const Refinement & refinement,
|
2019-07-09 13:39:16 +05:00
|
|
|
const NgArray<double> & pure_badness,
|
2011-03-03 01:50:39 +05:00
|
|
|
double max_worsening, const bool uselocalworsening,
|
2019-07-09 13:39:16 +05:00
|
|
|
const NgArray< NgArray<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
|