/var/www2/hermes2d/hermes2d/src/refinement_type.cpp File Reference

#include "common.h"
#include "refinement_type.h"

Functions

H2D_API bool is_refin_aniso (const int refin_type)
 Retuns true if a given refinement is an ANISO-refinement.
H2D_API int get_refin_sons (const int refin_type)
 Returns a maximum number of sons that will be generated if a given refinement is applied.
H2D_API const std::string get_refin_str (const int refin_type)
 Returns a string representation of the refinement.

Function Documentation

H2D_API int get_refin_sons ( const int  refin_type  ) 

Returns a maximum number of sons that will be generated if a given refinement is applied.

Parameters:
[in] refin_type A refinement type. Possible values are defined in the enum RefinementType.
Returns:
A number of possible sons. In a case of P-refinement, the function returns 1 even thought this refinement yields just a change in orders.
H2D_API const std::string get_refin_str ( const int  refin_type  ) 

Returns a string representation of the refinement.

Used for debugging and event logging purposes.

Parameters:
[in] refin_type A refinement type. Possible values are defined in the enum RefinementType.
Returns:
A string representation of a given refinement.
H2D_API bool is_refin_aniso ( const int  refin_type  ) 

Retuns true if a given refinement is an ANISO-refinement.

Parameters:
[in] refin_type A refinement type. Possible values are defined in the enum RefinementType.
Returns:
True of a given refinement is an ANISO-refinement.
Generated on Sat Jun 5 15:17:43 2010 for Hermes2D Library: Real Version by  doxygen 1.6.3