fedoo.mesh.line_mesh_1D
- line_mesh_1D(n_nodes=11, x_min=0, x_max=1, elm_type='lin2', name='')
Create the Mesh of a straight line with corrdinates in 1D.
- Parameters:
n_nodes (int) – Numbers of nodes (default = 11).
x_min (int,float) – The boundary of the line (default : 0, 1).
x_max (int,float) – The boundary of the line (default : 0, 1).
elm_type ({'lin2', 'lin3', 'lin4'}) –
The shape of the elements (default=’lin2’)
’lin2’ – 2 node line
’lin3’ – 3 node line
’lin4’ – 4 node line
- Returns:
The generated geometry in Mesh format. See the Mesh class for more details.
- Return type:
See also
line_mesh
Mesh of a line whith choosen dimension
rectangle_mesh
Surface mesh of a rectangle
box_mesh
Volume mesh of a box
grid_mesh_cylindric
Surface mesh of a grid in cylindrical coodrinate
line_mesh_cylindric
Line mesh in cylindrical coordinate