/var/www2/hermes2d/hermes2d/src/linear.h File Reference

#include "common.h"
#include "solution.h"

Go to the source code of this file.

Classes

class  Linearizer
 Linearizer is a utility class which converts a higher-order FEM solution defined on a curvilinear, irregular mesh to a linear FEM solution defined on a straight-edged, regular mesh. This is done by adaptive refinement of the higher-order mesh and its subsequent regularization. The linearized mesh can then be easily displayed or exported to standard formats. The class correctly handles discontinuities in the solution (e.g., gradients or in Hcurl) by inserting double vertices where necessary. Linearizer also serves as a container for the resulting linearized mesh. More...
class  Orderizer
 Like the Linearizer, but generates a triangular mesh showing polynomial orders in a space, hence the funky name. More...
class  Vectorizer
 "Vectorizer" is a Linearizer for vector solutions. The only difference is that linearized vertices are vector-valued. Also, regularization of the resulting mesh is not attempted. The class can handle different meshes in both X and Y components. More...

Defines

#define lin_init_array(array, type, c, e)
#define lin_free_array(array, n, c)

Variables

const double H2D_EPS_LOW = 0.0014
const double H2D_EPS_NORMAL = 0.0008
const double H2D_EPS_HIGH = 0.0003
const int LIN_MAX_LEVEL = 6

Define Documentation

#define lin_free_array ( array,
n,
 ) 
Value:
if (array != NULL) { \
    ::free(array); array = NULL; \
    n = c = 0; }
#define lin_init_array ( array,
type,
c,
 ) 
Value:
if (c < e) { \
    if (array != NULL) ::free(array); \
    array = (type*) malloc(sizeof(type) * (c = e)); }

Variable Documentation

const double H2D_EPS_HIGH = 0.0003
const double H2D_EPS_LOW = 0.0014
const double H2D_EPS_NORMAL = 0.0008
const int LIN_MAX_LEVEL = 6
Generated on Sat Jun 5 15:17:43 2010 for Hermes2D Library: Real Version by  doxygen 1.6.3