Hermes2D  2.0
Hermes::Hermes2D::Mesh::ReferenceMeshCreator Class Reference

Class for creating reference mesh. More...

#include <mesh.h>

Public Member Functions

 ReferenceMeshCreator (Mesh *coarse_mesh, int refinement=0)
 
virtual Meshcreate_ref_mesh ()
 

Detailed Description

Class for creating reference mesh.

Definition at line 371 of file mesh.h.

Constructor & Destructor Documentation

Hermes::Hermes2D::Mesh::ReferenceMeshCreator::ReferenceMeshCreator ( Mesh coarse_mesh,
int  refinement = 0 
)

Constructor.

Parameters
[in]coarse_meshThe 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.

Definition at line 270 of file mesh.cpp.

Member Function Documentation

Mesh * Hermes::Hermes2D::Mesh::ReferenceMeshCreator::create_ref_mesh ( )
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().


The documentation for this class was generated from the following files: