void FEM_ADAPT_SetElementSizeField(int meshID, int elem, double size);
For the mesh specified by meshID, for the element elem,
we set the desired size for each element to be size.
void FEM_ADAPT_SetElementSizeField(int meshID, double *sizes);
For the mesh specified by meshID, for the element elem,
we set the desired size for each element from the corresonponding entry in
the sizes array.
void FEM_ADAPT_SetReferenceMesh(int meshID);
For each element int this mesh defined by meshID
set its size to the average edge length of the corresponding element.
void FEM_ADAPT_GradateMesh(int meshID, double smoothness);
Resize mesh elements to avoid jumps in element size.
i.e. avoid discontinuities in the desired sizes for elements of a mesh
by smoothing them out.
Algorithm based on h-shock correction, described in
Mesh Gradation Control, Borouchaki et al.
January 17, 2008
FEM Homepage
Charm Homepage