quad_mesh_test
quad_mesh_test,
an Octave code which
calls quad_mesh(), which
carries out operations involving meshes of quadrilaterals.
Licensing:
The computer code and data files described and made available on this web page
are distributed under
the MIT license
Related Data and Programs:
quad_mesh,
an Octave code which
handles meshes of quadrilaterals over a 2D region;
Source Code:
-
example1_q4_mesh_test.m
-
example2_q4_mesh_test.m
-
example3_q4_mesh_test.m
-
example4_q4_mesh_test.m
-
quad_mesh_test01.m,
tests ADJ_SIZE_Q4_MESH.
-
quad_mesh_test02.m,
tests AREA_Q4_MESH.
-
quad_mesh_test03.m,
tests AREA_QUAD.
-
quad_mesh_test04.m,
tests BOUNDARY_EDGE_COUNT_Q4_MESH.
-
quad_mesh_test05.m,
tests BOUNDARY_EDGE_COUNT_EULER_Q4_MESH.
-
quad_mesh_test08.m,
tests NEIGHBOR_ELEMENTS_Q4_MESH.
-
quad_mesh_test09.m,
writes data to files.
-
quad_mesh_test10.m,
tests NODE_ORDER_Q4_MESH.
-
quad_mesh_test105.m,
tests SAMPLE_Q4_MESH.
-
quad_mesh_test11.m,
tests SAMPLE_QUAD.
EXAMPLE1 is a mesh made up of squares of uniform size. The squares
are arranged in a grid with a few irregularities, however. In particular,
there is an interior hole.
EXAMPLE2 is a mesh made up of quadrilaterals that are "trying" to tile a
semicircle. The row of elements that touches the origin is degenerate, and
are essentially triangles. The elements vary in area.
SAMPLE_QUAD demonstrates how a single quadrilateral can be randomly sampled.
-
sample_quad.txt,
node coordinates for random sample points in a quadrilateral.
-
sample_quad.png,
a PNG image of the random sample points in a quadrilateral.
Last revised on 28 April 2023.