Hermes2D  3.0
Hermes::Hermes2D::Mesh::ReferenceMeshCreator Class Reference

Class for creating reference mesh. More...

#include <mesh.h>

Public Member Functions

 ReferenceMeshCreator (MeshSharedPtr coarse_mesh, int refinement=0)
 
virtual MeshSharedPtr create_ref_mesh ()
 

Detailed Description

Class for creating reference mesh.

Definition at line 209 of file mesh.h.

Constructor & Destructor Documentation

Hermes::Hermes2D::Mesh::ReferenceMeshCreator::ReferenceMeshCreator ( MeshSharedPtr  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 56 of file mesh.cpp.

Member Function Documentation

MeshSharedPtr 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 60 of file mesh.cpp.

Referenced by Hermes::Hermes2D::Adapt< Scalar >::adapt(), and Hermes::Hermes2D::AdaptSolver< Scalar, SolverType >::solve().


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