Create stress field¶
make_stress_field_dofs is a function defined in triangle_mesh.c.
Synopsis:
-
double *
make_stress_field_dofs(int edge_ct_x, int edge_ct_y)¶
Formal Arguments:
edge_ct_x: number of edges inXdirectionedge_ct_y: number of edges inYdirection
Description: Creates a stress field on a rectangular array of triangles. Used to test instantiation of st2 field; values of
field are meaningless. Number of nodes in X direction is edge_ct_x``+1 and similarly for ``Y direction.
Preconditions:
- There must be at least 1 edge in the x direction. (low-cost)
- There must be at least 1 edge in the y direction. (low-cost)
See Also:
- Triangle Mesh: Introduction for current chapter