#include "common.h"#include "transform.h"Defines | |
| #define | H2D_IDENTIFY_TRF { 1.0, 1.0 }, { 0.0, 0.0 } |
| Identity transformation. | |
Variables | |
| Trf | tri_trf [H2D_TRF_NUM] |
| A table of triangle sub-subdomain transforms. Only first H2D_TRF_TRI_NUM transformations are valid, the rest are identity transformation. | |
| Trf | quad_trf [H2D_TRF_NUM] |
| A table of quad sub-subdomain transforms. Only first H2D_TRF_QUAD_NUM transformations are valid, the rest are identity transformation. | |
| #define H2D_IDENTIFY_TRF { 1.0, 1.0 }, { 0.0, 0.0 } |
Identity transformation.
{
{ { 0.5, 0.5 }, { -0.5, -0.5 } },
{ { 0.5, 0.5 }, { 0.5, -0.5 } },
{ { 0.5, 0.5 }, { 0.5, 0.5 } },
{ { 0.5, 0.5 }, { -0.5, 0.5 } },
{ { 1.0, 0.5 }, { 0.0, -0.5 } },
{ { 1.0, 0.5 }, { 0.0, 0.5 } },
{ { 0.5, 1.0 }, { -0.5, 0.0 } },
{ { 0.5, 1.0 }, { 0.5, 0.0 } },
{ H2D_IDENTIFY_TRF }
}
A table of quad sub-subdomain transforms. Only first H2D_TRF_QUAD_NUM transformations are valid, the rest are identity transformation.
{
{ { 0.5, 0.5 }, { -0.5, -0.5 } },
{ { 0.5, 0.5 }, { 0.5, -0.5 } },
{ { 0.5, 0.5 }, { -0.5, 0.5 } },
{ {-0.5, -0.5 }, { -0.5, -0.5 } },
{ H2D_IDENTIFY_TRF },
{ H2D_IDENTIFY_TRF },
{ H2D_IDENTIFY_TRF },
{ H2D_IDENTIFY_TRF },
{ H2D_IDENTIFY_TRF }
}
A table of triangle sub-subdomain transforms. Only first H2D_TRF_TRI_NUM transformations are valid, the rest are identity transformation.
1.6.3