Mesh topology representation.
Copyright:
Copyright (C) 2007 Andreas Kloeckner
License:
This program is free software: you can redistribute it and/or
modify
it under the terms of the GNU General Public License as published
by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see
U{http://www.gnu.org/licenses/}.
|
make_element(class_,
id,
vertex_indices,
all_vertices) |
source code
|
|
|
_build_mesh_data_dict(points,
elements,
boundary_tagger,
periodicity,
is_rankbdry_face) |
source code
|
|
|
make_conformal_mesh(points,
elements,
boundary_tagger=<function <lambda> at 0x9196a04>,
element_tagger=<function <lambda> at 0x9196a3c>,
periodicity=None,
_is_rankbdry_face=<function <lambda> at 0x9196a74>)
Construct a simplical mesh. |
source code
|
|
|
|
|
make_1d_mesh(points,
left_tag=None,
right_tag=None,
periodic=False,
boundary_tagger=None,
element_tagger=None) |
source code
|
|
|
make_uniform_1d_mesh(a,
b,
el_count,
left_tag=None,
right_tag=None,
periodic=False,
boundary_tagger=None) |
source code
|
|
|
make_single_element_mesh(a=-0.5,
b=0.5,
boundary_tagger=<function <lambda> at 0x9196cdc>) |
source code
|
|
|
make_regular_rect_mesh(a=( 0, 0) ,
b=( 1, 1) ,
n=( 5, 5) ,
periodicity=None,
boundary_tagger=<function <lambda> at 0x9196d4c>)
Create a semi-structured rectangular mesh. |
source code
|
|
|
|
|
|
|
finish_2d_rect_mesh(points,
facets,
facet_markers,
marker2tag,
refine_func,
periodicity,
boundary_tagger)
Semi-internal bottom-half routine for generation of rectangular 2D
meshes. |
source code
|
|
|
|
|
make_rect_mesh(a=( 0, 0) ,
b=( 1, 1) ,
max_area=None,
boundary_tagger=<function <lambda> at 0x9196f0c>,
periodicity=None,
subdivisions=None,
refine_func=None)
Create an unstructured rectangular mesh. |
source code
|
|
|
make_rect_mesh_with_corner(a=( 0, 0) ,
b=( 1, 1) ,
max_area=None,
boundary_tagger=<function <lambda> at 0x9196fb4>,
corner_fraction=( 0.3, 0.3) ,
refine_func=None)
Create an unstructured rectangular mesh with a reentrant corner at
(-x, -y). |
source code
|
|
|
make_square_mesh(a=-0.5,
b=0.5,
max_area=0.004,
boundary_tagger=<function <lambda> at 0x9197064>)
Create an unstructured square mesh. |
source code
|
|
|
make_disk_mesh(r=0.5,
faces=50,
max_area=0.004,
boundary_tagger=<function <lambda> at 0x91970d4>) |
source code
|
|
|
make_ball_mesh(r=0.5,
subdivisions=10,
max_volume=None,
boundary_tagger=<function <lambda> at 0x9197144>) |
source code
|
|
|
_make_z_periodic_mesh(points,
facets,
facet_holestarts,
facet_markers,
height,
max_volume,
boundary_tagger) |
source code
|
|
|
make_cylinder_mesh(radius=0.5,
height=1,
radial_subdivisions=10,
height_subdivisions=1,
max_volume=None,
periodic=False,
boundary_tagger=<function <lambda> at 0x91971ec>) |
source code
|
|
|
make_box_mesh(a=( 0, 0, 0) ,
b=( 1, 1, 1) ,
max_volume=None,
periodicity=None,
boundary_tagger=<function <lambda> at 0x9197294>,
return_meshpy_mesh=False)
Return a mesh for a brick from the origin to `dimensions'. |
source code
|
|