Hermes2D
2.0
|
Class for creating reference mesh. More...
#include <mesh.h>
Public Member Functions | |
ReferenceMeshCreator (Mesh *coarse_mesh, int refinement=0) | |
virtual Mesh * | create_ref_mesh () |
Hermes::Hermes2D::Mesh::ReferenceMeshCreator::ReferenceMeshCreator | ( | Mesh * | coarse_mesh, |
int | refinement = 0 |
||
) |
Constructor.
[in] | coarse_mesh | The coarse (original) mesh. |
refinement[in] | Ignored for triangles. If the element is a quad, 0 means refine in both directions, 1 means refine horizontally (with respect to the reference domain), 2 means refine vertically. |
|
virtual |
Method that does the creation. THIS IS THE METHOD TO OVERLOAD FOR CUSTOM CREATING OF A REFERENCE MESH.
Definition at line 274 of file mesh.cpp.
Referenced by Hermes::Hermes2D::Adapt< Scalar >::calc_err_exact().