2009-01-12 23:40:13 +00:00
|
|
|
#ifndef VALIDATE_HPP
|
|
|
|
#define VALIDATE_HPP
|
|
|
|
|
2011-03-02 20:50:39 +00:00
|
|
|
namespace netgen
|
|
|
|
{
|
|
|
|
|
2019-07-09 10:39:16 +02:00
|
|
|
void GetPureBadness(Mesh & mesh, NgArray<double> & pure_badness,
|
2024-12-23 19:24:48 +01:00
|
|
|
const TBitArray<PointIndex> & isnewpoint);
|
2019-07-09 10:39:16 +02:00
|
|
|
double Validate(const Mesh & mesh, NgArray<ElementIndex> & bad_elements,
|
|
|
|
const NgArray<double> & pure_badness,
|
2011-03-02 20:50:39 +00:00
|
|
|
double max_worsening, const bool uselocalworsening,
|
2019-07-09 10:39:16 +02:00
|
|
|
NgArray<double> * quality_loss = NULL);
|
|
|
|
void RepairBisection(Mesh & mesh, NgArray<ElementIndex> & bad_elements,
|
2024-12-23 19:24:48 +01:00
|
|
|
const TBitArray<PointIndex> & isnewpoint, const Refinement & refinement,
|
2019-07-09 10:39:16 +02:00
|
|
|
const NgArray<double> & pure_badness,
|
2011-03-02 20:50:39 +00:00
|
|
|
double max_worsening, const bool uselocalworsening,
|
2024-12-22 21:38:50 +01:00
|
|
|
const NgArray< idmap_type* > & idmaps);
|
2009-01-12 23:40:13 +00:00
|
|
|
|
2011-03-02 20:50:39 +00:00
|
|
|
}
|
2009-01-12 23:40:13 +00:00
|
|
|
|
|
|
|
#endif // VALIDATE_HPP
|