* Added a new overloaded function for the MakeSecondOrder function: void MakeSecondOrder (Mesh & mesh) const;

This commit is contained in:
Philippose Rajan 2010-09-14 21:21:04 +00:00
parent 168782c54f
commit a249e8a42e
2 changed files with 6 additions and 1 deletions

View File

@ -49,6 +49,8 @@ public:
void Refine (Mesh & mesh) const; void Refine (Mesh & mesh) const;
void Refine (Mesh & mesh); void Refine (Mesh & mesh);
void Bisect (Mesh & mesh, class BisectionOptions & opt, Array<double> * quality_loss = NULL); void Bisect (Mesh & mesh, class BisectionOptions & opt, Array<double> * quality_loss = NULL);
void MakeSecondOrder (Mesh & mesh) const;
void MakeSecondOrder (Mesh & mesh); void MakeSecondOrder (Mesh & mesh);
virtual void PointBetween (const Point<3> & p1, const Point<3> & p2, double secpoint, virtual void PointBetween (const Point<3> & p1, const Point<3> & p2, double secpoint,

View File

@ -5,7 +5,10 @@
namespace netgen namespace netgen
{ {
void Refinement :: MakeSecondOrder (Mesh & mesh) const
{
const_cast<Refinement&> (*this).MakeSecondOrder(mesh);
}
void Refinement :: MakeSecondOrder (Mesh & mesh) void Refinement :: MakeSecondOrder (Mesh & mesh)