dolfin.cpp.mesh¶
Mesh library module
Functions
|
Overloaded function. |
|
Overloaded function. |
|
Overloaded function. |
|
Overloaded function. |
|
Overloaded function. |
|
|
|
Overloaded function. |
Classes
DOLFIN BoundaryMesh object |
|
DOLFIN Cell object |
|
DOLFIN CellIterator object |
|
|
|
DOLFIN Edge object |
|
DOLFIN EdgeIterator object |
|
DOLFIN Face object |
|
DOLFIN FaceIterator object |
|
DOLFIN Facet object |
|
DOLFIN FacetIterator object |
|
DOLFIN Mesh object |
|
|
|
DOLFIN MeshConnectivity object |
|
Mesh data object |
|
Mesh domains object |
|
DOLFIN MeshEditor object |
|
DOLFIN MeshEntity object |
|
DOLFIN MeshEntityIterator object |
|
DOLFIN MeshFunction object |
|
DOLFIN MeshFunction object |
|
DOLFIN MeshFunction object |
|
DOLFIN MeshFunction object |
|
DOLFIN MeshGeometry object |
|
|
|
DOLFIN MeshQuality class |
|
DOLFIN MeshTopology object |
|
|
|
DOLFIN MeshValueCollection object |
|
DOLFIN MeshValueCollection object |
|
DOLFIN MeshValueCollection object |
|
DOLFIN MeshValueCollection object |
|
|
|
DOLFIN SubDomain object |
|
DOLFIN SubMesh |
|
|
|
DOLFIN Vertex object |
|
DOLFIN VertexIterator object |
-
class
dolfin.cpp.mesh.BoundaryMesh¶ Bases:
dolfin.cpp.mesh.MeshDOLFIN BoundaryMesh object
-
entity_map(*args, **kwargs)¶ Overloaded function.
entity_map(self: dolfin.cpp.mesh.BoundaryMesh, arg0: int) -> dolfin::MeshFunction<unsigned long>
entity_map(self: dolfin.cpp.mesh.BoundaryMesh, arg0: int) -> dolfin::MeshFunction<unsigned long>
-
-
class
dolfin.cpp.mesh.Cell¶ Bases:
dolfin.cpp.mesh.MeshEntityDOLFIN Cell object
-
cell_normal(self: dolfin.cpp.mesh.Cell) → dolfin::Point¶
-
circumradius(self: dolfin.cpp.mesh.Cell) → float¶
-
collides(*args, **kwargs)¶ Overloaded function.
collides(self: dolfin.cpp.mesh.Cell, arg0: dolfin::Point) -> bool
collides(self: dolfin.cpp.mesh.Cell, arg0: dolfin.cpp.mesh.MeshEntity) -> bool
-
contains(self: dolfin.cpp.mesh.Cell, arg0: dolfin::Point) → bool¶
-
distance(self: dolfin.cpp.mesh.Cell, arg0: dolfin::Point) → float¶
-
facet_area(self: dolfin.cpp.mesh.Cell, arg0: int) → float¶
-
get_cell_data(self: dolfin.cpp.mesh.Cell, arg0: dolfin.cpp.function.ufc_cell, arg1: int) → None¶
-
get_cell_topology(self: dolfin.cpp.mesh.Cell, arg0: dolfin.cpp.function.ufc_cell) → None¶
-
get_coordinate_dofs(self: dolfin.cpp.mesh.Cell) → List[float]¶ Get the coordinates of the dofs in this cell
-
get_vertex_coordinates(self: dolfin.cpp.mesh.Cell) → List[float]¶ Get cell vertex coordinates
-
h(self: dolfin.cpp.mesh.Cell) → float¶
-
inradius(self: dolfin.cpp.mesh.Cell) → float¶
-
normal(self: dolfin.cpp.mesh.Cell, arg0: int) → dolfin::Point¶
-
orientation(*args, **kwargs)¶ Overloaded function.
orientation(self: dolfin.cpp.mesh.Cell) -> int
orientation(self: dolfin.cpp.mesh.Cell, arg0: dolfin::Point) -> int
-
radius_ratio(self: dolfin.cpp.mesh.Cell) → float¶
-
volume(self: dolfin.cpp.mesh.Cell) → float¶
-
-
class
dolfin.cpp.mesh.CellIterator¶ Bases:
pybind11_builtins.pybind11_objectDOLFIN CellIterator object
-
class
dolfin.cpp.mesh.DomainBoundary¶ Bases:
dolfin.cpp.mesh.SubDomain
-
class
dolfin.cpp.mesh.Edge¶ Bases:
dolfin.cpp.mesh.MeshEntityDOLFIN Edge object
-
dot(self: dolfin.cpp.mesh.Edge, arg0: dolfin.cpp.mesh.Edge) → float¶
-
length(self: dolfin.cpp.mesh.Edge) → float¶
-
-
class
dolfin.cpp.mesh.EdgeIterator¶ Bases:
pybind11_builtins.pybind11_objectDOLFIN EdgeIterator object
-
class
dolfin.cpp.mesh.Face¶ Bases:
dolfin.cpp.mesh.MeshEntityDOLFIN Face object
-
area(self: dolfin.cpp.mesh.Face) → float¶
-
normal(*args, **kwargs)¶ Overloaded function.
normal(self: dolfin.cpp.mesh.Face) -> dolfin::Point
normal(self: dolfin.cpp.mesh.Face, arg0: int) -> float
-
-
class
dolfin.cpp.mesh.FaceIterator¶ Bases:
pybind11_builtins.pybind11_objectDOLFIN FaceIterator object
-
class
dolfin.cpp.mesh.Facet¶ Bases:
dolfin.cpp.mesh.MeshEntityDOLFIN Facet object
-
exterior(self: dolfin.cpp.mesh.Facet) → bool¶
-
normal(*args, **kwargs)¶ Overloaded function.
normal(self: dolfin.cpp.mesh.Facet) -> dolfin::Point
normal(self: dolfin.cpp.mesh.Facet, arg0: int) -> float
-
-
class
dolfin.cpp.mesh.FacetIterator¶ Bases:
pybind11_builtins.pybind11_objectDOLFIN FacetIterator object
-
class
dolfin.cpp.mesh.Mesh¶ Bases:
dolfin.cpp.common.VariableDOLFIN Mesh object
-
bounding_box_tree(self: dolfin.cpp.mesh.Mesh) → dolfin::BoundingBoxTree¶
-
cell_name(self: dolfin.cpp.mesh.Mesh) → str¶
-
cell_orientations(self: dolfin.cpp.mesh.Mesh) → List[int]¶
-
cells(self: dolfin.cpp.mesh.Mesh) → array¶
-
color(*args, **kwargs)¶ Overloaded function.
color(self: dolfin.cpp.mesh.Mesh, arg0: str) -> List[int]
color(self: dolfin.cpp.mesh.Mesh, arg0: List[int]) -> List[int]
-
coordinates(self: dolfin.cpp.mesh.Mesh) → numpy.ndarray[float64[m, n], flags.writeable, flags.c_contiguous]¶
-
data(self: dolfin.cpp.mesh.Mesh) → dolfin::MeshData¶ Data associated with a mesh
-
domains(self: dolfin.cpp.mesh.Mesh) → dolfin::MeshDomains¶
-
geometric_dimension()¶ Returns geometric dimension for ufl interface
-
geometry(self: dolfin.cpp.mesh.Mesh) → dolfin.cpp.mesh.MeshGeometry¶ Mesh geometry
-
hash(self: dolfin.cpp.mesh.Mesh) → int¶
-
hmax(self: dolfin.cpp.mesh.Mesh) → float¶
-
hmin(self: dolfin.cpp.mesh.Mesh) → float¶
-
id(self: dolfin.cpp.mesh.Mesh) → int¶
-
init(*args, **kwargs)¶ Overloaded function.
init(self: dolfin.cpp.mesh.Mesh) -> None
init(self: dolfin.cpp.mesh.Mesh, arg0: int) -> int
init(self: dolfin.cpp.mesh.Mesh, arg0: int, arg1: int) -> None
-
init_cell_orientations(*args, **kwargs)¶ Overloaded function.
init_cell_orientations(self: dolfin.cpp.mesh.Mesh, arg0: dolfin.cpp.function.Expression) -> None
init_cell_orientations(self: dolfin.cpp.mesh.Mesh, arg0: object) -> None
-
init_global(self: dolfin.cpp.mesh.Mesh, arg0: int) → None¶
-
mpi_comm(self: dolfin.cpp.mesh.Mesh) → MPICommWrapper¶
-
num_cells(self: dolfin.cpp.mesh.Mesh) → int¶ Number of cells
-
num_edges(self: dolfin.cpp.mesh.Mesh) → int¶ Number of edges
-
num_entities(self: dolfin.cpp.mesh.Mesh, arg0: int) → int¶ Number of mesh entities
-
num_entities_global(self: dolfin.cpp.mesh.Mesh, arg0: int) → int¶
-
num_faces(self: dolfin.cpp.mesh.Mesh) → int¶ Number of faces
-
num_facets(self: dolfin.cpp.mesh.Mesh) → int¶ Number of facets
-
num_vertices(self: dolfin.cpp.mesh.Mesh) → int¶ Number of vertices
-
order(self: dolfin.cpp.mesh.Mesh) → None¶
-
ordered(self: dolfin.cpp.mesh.Mesh) → bool¶
-
rmax(self: dolfin.cpp.mesh.Mesh) → float¶
-
rmin(self: dolfin.cpp.mesh.Mesh) → float¶
-
rotate(*args, **kwargs)¶ Overloaded function.
rotate(self: dolfin.cpp.mesh.Mesh, arg0: float, arg1: int, arg2: dolfin::Point) -> None
rotate(self: dolfin.cpp.mesh.Mesh, angle: float, axis: int=2) -> None
-
scale(self: dolfin.cpp.mesh.Mesh, arg0: float) → None¶
-
smooth(self: dolfin.cpp.mesh.Mesh, num_iterations: int=1) → None¶
-
smooth_boundary(self: dolfin.cpp.mesh.Mesh, arg0: int, arg1: bool) → None¶
-
snap_boundary(self: dolfin.cpp.mesh.Mesh, subdomain: dolfin::SubDomain, harmonic_smoothing: bool=True) → None¶
-
topology(self: dolfin.cpp.mesh.Mesh) → dolfin.cpp.mesh.MeshTopology¶ Mesh topology
-
translate(self: dolfin.cpp.mesh.Mesh, arg0: dolfin::Point) → None¶
-
type(self: dolfin.cpp.mesh.Mesh) → dolfin.cpp.mesh.CellType¶
-
ufl_coordinate_element()¶ Return the finite element of the coordinate vector field of this domain.
-
ufl_domain()¶ Returns the ufl domain corresponding to the mesh.
-
ufl_id(self: dolfin.cpp.mesh.Mesh) → int¶
-
-
class
dolfin.cpp.mesh.MeshConnectivity¶ Bases:
pybind11_builtins.pybind11_objectDOLFIN MeshConnectivity object
-
size(*args, **kwargs)¶ Overloaded function.
size(self: dolfin.cpp.mesh.MeshConnectivity) -> int
size(self: dolfin.cpp.mesh.MeshConnectivity, arg0: int) -> int
-
-
class
dolfin.cpp.mesh.MeshData¶ Bases:
dolfin.cpp.common.VariableMesh data object
-
array(self: dolfin.cpp.mesh.MeshData, arg0: str, arg1: int) → numpy.ndarray[uint64]¶
-
create_array(self: dolfin.cpp.mesh.MeshData, arg0: str, arg1: int) → List[int]¶
-
-
class
dolfin.cpp.mesh.MeshDomains¶ Bases:
pybind11_builtins.pybind11_objectMesh domains object
-
get_marker(self: dolfin.cpp.mesh.MeshDomains, arg0: int, arg1: int) → int¶
-
init(self: dolfin.cpp.mesh.MeshDomains, arg0: int) → None¶
-
markers(self: dolfin.cpp.mesh.MeshDomains, arg0: int) → Dict[int, int]¶
-
set_marker(self: dolfin.cpp.mesh.MeshDomains, arg0: Tuple[int, int], arg1: int) → bool¶
-
-
class
dolfin.cpp.mesh.MeshEditor¶ Bases:
pybind11_builtins.pybind11_objectDOLFIN MeshEditor object
-
add_cell(self: dolfin.cpp.mesh.MeshEditor, arg0: int, arg1: List[int]) → None¶
-
add_vertex(*args, **kwargs)¶ Overloaded function.
add_vertex(self: dolfin.cpp.mesh.MeshEditor, arg0: int, arg1: dolfin::Point) -> None
add_vertex(self: dolfin.cpp.mesh.MeshEditor, arg0: int, arg1: List[float]) -> None
-
add_vertex_global(*args, **kwargs)¶ Overloaded function.
add_vertex_global(self: dolfin.cpp.mesh.MeshEditor, arg0: int, arg1: int, arg2: dolfin::Point) -> None
add_vertex_global(self: dolfin.cpp.mesh.MeshEditor, arg0: int, arg1: int, arg2: List[float]) -> None
-
close(self: dolfin.cpp.mesh.MeshEditor, order: bool=True) → None¶
-
init_cells(self: dolfin.cpp.mesh.MeshEditor, arg0: int) → None¶
-
init_cells_global(self: dolfin.cpp.mesh.MeshEditor, arg0: int, arg1: int) → None¶
-
init_vertices(self: dolfin.cpp.mesh.MeshEditor, arg0: int) → None¶
-
init_vertices_global(self: dolfin.cpp.mesh.MeshEditor, arg0: int, arg1: int) → None¶
-
open(self: dolfin.cpp.mesh.MeshEditor, mesh: dolfin.cpp.mesh.Mesh, type: str, tdim: int, gdim: int, degree: int=1) → None¶
-
-
class
dolfin.cpp.mesh.MeshEntity¶ Bases:
pybind11_builtins.pybind11_objectDOLFIN MeshEntity object
-
dim(self: dolfin.cpp.mesh.MeshEntity) → int¶ Topological dimension
-
entities(self: dolfin.cpp.mesh.MeshEntity, arg0: int) → numpy.ndarray[uint32[m, 1]]¶
-
global_index(self: dolfin.cpp.mesh.MeshEntity) → int¶ Global index
-
index(self: dolfin.cpp.mesh.MeshEntity) → int¶ Index
-
is_ghost(self: dolfin.cpp.mesh.MeshEntity) → bool¶
-
mesh(self: dolfin.cpp.mesh.MeshEntity) → dolfin.cpp.mesh.Mesh¶ Associated mesh
-
midpoint(self: dolfin.cpp.mesh.MeshEntity) → dolfin::Point¶ Midpoint of Entity
-
num_entities(self: dolfin.cpp.mesh.MeshEntity, arg0: int) → int¶ Number of incident entities of given dimension
-
num_global_entities(self: dolfin.cpp.mesh.MeshEntity, arg0: int) → int¶ Global number of incident entities of given dimension
-
sharing_processes(self: dolfin.cpp.mesh.MeshEntity) → Set[int]¶
-
-
class
dolfin.cpp.mesh.MeshEntityIterator¶ Bases:
pybind11_builtins.pybind11_objectDOLFIN MeshEntityIterator object
-
class
dolfin.cpp.mesh.MeshFunctionBool¶ Bases:
dolfin.cpp.common.VariableDOLFIN MeshFunction object
-
array(self: dolfin.cpp.mesh.MeshFunctionBool) → numpy.ndarray[bool[m, 1], flags.writeable]¶
-
dim(self: dolfin.cpp.mesh.MeshFunctionBool) → int¶
-
id(self: dolfin.cpp.mesh.MeshFunctionBool) → int¶
-
mesh(self: dolfin.cpp.mesh.MeshFunctionBool) → dolfin.cpp.mesh.Mesh¶
-
set_all(self: dolfin.cpp.mesh.MeshFunctionBool, arg0: bool) → None¶
-
set_value(*args, **kwargs)¶ Overloaded function.
set_value(self: dolfin.cpp.mesh.MeshFunctionBool, arg0: int, arg1: bool) -> None
set_value(self: dolfin.cpp.mesh.MeshFunctionBool, arg0: int, arg1: bool, arg2: dolfin.cpp.mesh.Mesh) -> None
-
set_values(self: dolfin.cpp.mesh.MeshFunctionBool, arg0: List[bool]) → None¶
-
size(self: dolfin.cpp.mesh.MeshFunctionBool) → int¶
-
ufl_id(self: dolfin.cpp.mesh.MeshFunctionBool) → int¶
-
where_equal(self: dolfin.cpp.mesh.MeshFunctionBool, arg0: bool) → List[int]¶
-
-
class
dolfin.cpp.mesh.MeshFunctionDouble¶ Bases:
dolfin.cpp.common.VariableDOLFIN MeshFunction object
-
array(self: dolfin.cpp.mesh.MeshFunctionDouble) → numpy.ndarray[float64[m, 1], flags.writeable]¶
-
dim(self: dolfin.cpp.mesh.MeshFunctionDouble) → int¶
-
id(self: dolfin.cpp.mesh.MeshFunctionDouble) → int¶
-
mesh(self: dolfin.cpp.mesh.MeshFunctionDouble) → dolfin.cpp.mesh.Mesh¶
-
set_all(self: dolfin.cpp.mesh.MeshFunctionDouble, arg0: float) → None¶
-
set_value(*args, **kwargs)¶ Overloaded function.
set_value(self: dolfin.cpp.mesh.MeshFunctionDouble, arg0: int, arg1: float) -> None
set_value(self: dolfin.cpp.mesh.MeshFunctionDouble, arg0: int, arg1: float, arg2: dolfin.cpp.mesh.Mesh) -> None
-
set_values(self: dolfin.cpp.mesh.MeshFunctionDouble, arg0: List[float]) → None¶
-
size(self: dolfin.cpp.mesh.MeshFunctionDouble) → int¶
-
ufl_id(self: dolfin.cpp.mesh.MeshFunctionDouble) → int¶
-
where_equal(self: dolfin.cpp.mesh.MeshFunctionDouble, arg0: float) → List[int]¶
-
-
class
dolfin.cpp.mesh.MeshFunctionInt¶ Bases:
dolfin.cpp.common.VariableDOLFIN MeshFunction object
-
array(self: dolfin.cpp.mesh.MeshFunctionInt) → numpy.ndarray[int32[m, 1], flags.writeable]¶
-
dim(self: dolfin.cpp.mesh.MeshFunctionInt) → int¶
-
id(self: dolfin.cpp.mesh.MeshFunctionInt) → int¶
-
mesh(self: dolfin.cpp.mesh.MeshFunctionInt) → dolfin.cpp.mesh.Mesh¶
-
set_all(self: dolfin.cpp.mesh.MeshFunctionInt, arg0: int) → None¶
-
set_value(*args, **kwargs)¶ Overloaded function.
set_value(self: dolfin.cpp.mesh.MeshFunctionInt, arg0: int, arg1: int) -> None
set_value(self: dolfin.cpp.mesh.MeshFunctionInt, arg0: int, arg1: int, arg2: dolfin.cpp.mesh.Mesh) -> None
-
set_values(self: dolfin.cpp.mesh.MeshFunctionInt, arg0: List[int]) → None¶
-
size(self: dolfin.cpp.mesh.MeshFunctionInt) → int¶
-
ufl_id(self: dolfin.cpp.mesh.MeshFunctionInt) → int¶
-
where_equal(self: dolfin.cpp.mesh.MeshFunctionInt, arg0: int) → List[int]¶
-
-
class
dolfin.cpp.mesh.MeshFunctionSizet¶ Bases:
dolfin.cpp.common.VariableDOLFIN MeshFunction object
-
array(self: dolfin.cpp.mesh.MeshFunctionSizet) → numpy.ndarray[uint64[m, 1], flags.writeable]¶
-
dim(self: dolfin.cpp.mesh.MeshFunctionSizet) → int¶
-
id(self: dolfin.cpp.mesh.MeshFunctionSizet) → int¶
-
mesh(self: dolfin.cpp.mesh.MeshFunctionSizet) → dolfin.cpp.mesh.Mesh¶
-
set_all(self: dolfin.cpp.mesh.MeshFunctionSizet, arg0: int) → None¶
-
set_value(*args, **kwargs)¶ Overloaded function.
set_value(self: dolfin.cpp.mesh.MeshFunctionSizet, arg0: int, arg1: int) -> None
set_value(self: dolfin.cpp.mesh.MeshFunctionSizet, arg0: int, arg1: int, arg2: dolfin.cpp.mesh.Mesh) -> None
-
set_values(self: dolfin.cpp.mesh.MeshFunctionSizet, arg0: List[int]) → None¶
-
size(self: dolfin.cpp.mesh.MeshFunctionSizet) → int¶
-
ufl_id(self: dolfin.cpp.mesh.MeshFunctionSizet) → int¶
-
where_equal(self: dolfin.cpp.mesh.MeshFunctionSizet, arg0: int) → List[int]¶
-
-
class
dolfin.cpp.mesh.MeshGeometry¶ Bases:
pybind11_builtins.pybind11_objectDOLFIN MeshGeometry object
-
degree(self: dolfin.cpp.mesh.MeshGeometry) → int¶ Degree
-
dim(self: dolfin.cpp.mesh.MeshGeometry) → int¶ Geometrical dimension
-
get_entity_index(self: dolfin.cpp.mesh.MeshGeometry, arg0: int, arg1: int, arg2: int) → int¶
-
num_entity_coordinates(self: dolfin.cpp.mesh.MeshGeometry, arg0: int) → int¶
-
-
class
dolfin.cpp.mesh.MeshQuality¶ Bases:
pybind11_builtins.pybind11_objectDOLFIN MeshQuality class
-
aspect_ratio_gamma(arg0: dolfin.cpp.mesh.Mesh) → dolfin.cpp.mesh.MeshFunctionDouble¶
-
dihedral_angles_matplotlib_histogram(arg0: dolfin.cpp.mesh.Mesh, arg1: int) → str¶
-
dihedral_angles_min_max(arg0: dolfin.cpp.mesh.Mesh) → Tuple[float, float]¶
-
radius_ratio_histogram_data(arg0: dolfin.cpp.mesh.Mesh, arg1: int) → Tuple[List[float], List[float]]¶
-
radius_ratio_matplotlib_histogram(mesh: dolfin.cpp.mesh.Mesh, num_bins: int=50) → str¶
-
radius_ratio_min_max(arg0: dolfin.cpp.mesh.Mesh) → Tuple[float, float]¶
-
radius_ratios(arg0: dolfin.cpp.mesh.Mesh) → dolfin.cpp.mesh.MeshFunctionDouble¶
-
-
class
dolfin.cpp.mesh.MeshTopology¶ Bases:
dolfin.cpp.common.VariableDOLFIN MeshTopology object
-
cell_owner(self: dolfin.cpp.mesh.MeshTopology) → List[int]¶
-
clear(*args, **kwargs)¶ Overloaded function.
clear(self: dolfin.cpp.mesh.MeshTopology) -> None
clear(self: dolfin.cpp.mesh.MeshTopology, arg0: int, arg1: int) -> None
-
dim(self: dolfin.cpp.mesh.MeshTopology) → int¶ Topological dimension
-
ghost_offset(self: dolfin.cpp.mesh.MeshTopology, arg0: int) → int¶
-
global_indices(self: dolfin.cpp.mesh.MeshTopology, arg0: int) → numpy.ndarray[int64]¶
-
hash(self: dolfin.cpp.mesh.MeshTopology) → int¶
-
have_global_indices(self: dolfin.cpp.mesh.MeshTopology, arg0: int) → bool¶
-
init(*args, **kwargs)¶ Overloaded function.
init(self: dolfin.cpp.mesh.MeshTopology, arg0: int) -> None
init(self: dolfin.cpp.mesh.MeshTopology, arg0: int, arg1: int, arg2: int) -> None
-
init_global_indices(self: dolfin.cpp.mesh.MeshTopology, arg0: int, arg1: int) → None¶
-
set_global_index(self: dolfin.cpp.mesh.MeshTopology, arg0: int, arg1: int, arg2: int) → None¶
-
size(self: dolfin.cpp.mesh.MeshTopology, arg0: int) → int¶
-
str(self: dolfin.cpp.mesh.MeshTopology, arg0: bool) → str¶
-
-
class
dolfin.cpp.mesh.MeshValueCollection_bool¶ Bases:
dolfin.cpp.common.VariableDOLFIN MeshValueCollection object
-
assign(*args, **kwargs)¶ Overloaded function.
assign(self: dolfin.cpp.mesh.MeshValueCollection_bool, arg0: dolfin.cpp.mesh.MeshFunctionBool) -> None
assign(self: dolfin.cpp.mesh.MeshValueCollection_bool, arg0: dolfin.cpp.mesh.MeshValueCollection_bool) -> None
-
dim(self: dolfin.cpp.mesh.MeshValueCollection_bool) → int¶
-
get_value(self: dolfin.cpp.mesh.MeshValueCollection_bool, arg0: int, arg1: int) → bool¶
-
set_value(*args, **kwargs)¶ Overloaded function.
set_value(self: dolfin.cpp.mesh.MeshValueCollection_bool, arg0: int, arg1: bool) -> bool
set_value(self: dolfin.cpp.mesh.MeshValueCollection_bool, arg0: int, arg1: int, arg2: bool) -> bool
-
size(self: dolfin.cpp.mesh.MeshValueCollection_bool) → int¶
-
values(self: dolfin.cpp.mesh.MeshValueCollection_bool) → Dict[Tuple[int, int], bool]¶
-
-
class
dolfin.cpp.mesh.MeshValueCollection_double¶ Bases:
dolfin.cpp.common.VariableDOLFIN MeshValueCollection object
-
assign(*args, **kwargs)¶ Overloaded function.
assign(self: dolfin.cpp.mesh.MeshValueCollection_double, arg0: dolfin.cpp.mesh.MeshFunctionDouble) -> None
assign(self: dolfin.cpp.mesh.MeshValueCollection_double, arg0: dolfin.cpp.mesh.MeshValueCollection_double) -> None
-
dim(self: dolfin.cpp.mesh.MeshValueCollection_double) → int¶
-
get_value(self: dolfin.cpp.mesh.MeshValueCollection_double, arg0: int, arg1: int) → float¶
-
set_value(*args, **kwargs)¶ Overloaded function.
set_value(self: dolfin.cpp.mesh.MeshValueCollection_double, arg0: int, arg1: float) -> bool
set_value(self: dolfin.cpp.mesh.MeshValueCollection_double, arg0: int, arg1: int, arg2: float) -> bool
-
size(self: dolfin.cpp.mesh.MeshValueCollection_double) → int¶
-
values(self: dolfin.cpp.mesh.MeshValueCollection_double) → Dict[Tuple[int, int], float]¶
-
-
class
dolfin.cpp.mesh.MeshValueCollection_int¶ Bases:
dolfin.cpp.common.VariableDOLFIN MeshValueCollection object
-
assign(*args, **kwargs)¶ Overloaded function.
assign(self: dolfin.cpp.mesh.MeshValueCollection_int, arg0: dolfin.cpp.mesh.MeshFunctionInt) -> None
assign(self: dolfin.cpp.mesh.MeshValueCollection_int, arg0: dolfin.cpp.mesh.MeshValueCollection_int) -> None
-
dim(self: dolfin.cpp.mesh.MeshValueCollection_int) → int¶
-
get_value(self: dolfin.cpp.mesh.MeshValueCollection_int, arg0: int, arg1: int) → int¶
-
set_value(*args, **kwargs)¶ Overloaded function.
set_value(self: dolfin.cpp.mesh.MeshValueCollection_int, arg0: int, arg1: int) -> bool
set_value(self: dolfin.cpp.mesh.MeshValueCollection_int, arg0: int, arg1: int, arg2: int) -> bool
-
size(self: dolfin.cpp.mesh.MeshValueCollection_int) → int¶
-
values(self: dolfin.cpp.mesh.MeshValueCollection_int) → Dict[Tuple[int, int], int]¶
-
-
class
dolfin.cpp.mesh.MeshValueCollection_sizet¶ Bases:
dolfin.cpp.common.VariableDOLFIN MeshValueCollection object
-
assign(*args, **kwargs)¶ Overloaded function.
assign(self: dolfin.cpp.mesh.MeshValueCollection_sizet, arg0: dolfin.cpp.mesh.MeshFunctionSizet) -> None
assign(self: dolfin.cpp.mesh.MeshValueCollection_sizet, arg0: dolfin.cpp.mesh.MeshValueCollection_sizet) -> None
-
dim(self: dolfin.cpp.mesh.MeshValueCollection_sizet) → int¶
-
get_value(self: dolfin.cpp.mesh.MeshValueCollection_sizet, arg0: int, arg1: int) → int¶
-
set_value(*args, **kwargs)¶ Overloaded function.
set_value(self: dolfin.cpp.mesh.MeshValueCollection_sizet, arg0: int, arg1: int) -> bool
set_value(self: dolfin.cpp.mesh.MeshValueCollection_sizet, arg0: int, arg1: int, arg2: int) -> bool
-
size(self: dolfin.cpp.mesh.MeshValueCollection_sizet) → int¶
-
values(self: dolfin.cpp.mesh.MeshValueCollection_sizet) → Dict[Tuple[int, int], int]¶
-
-
class
dolfin.cpp.mesh.MultiMesh¶ Bases:
dolfin.cpp.common.Variable-
add(self: dolfin.cpp.mesh.MultiMesh, arg0: dolfin.cpp.mesh.Mesh) → None¶
-
auto_cover(self: dolfin.cpp.mesh.MultiMesh, arg0: int, arg1: dolfin::Point) → None¶ Marks all uncut and cut cells connected to the given point as covered.
-
build(self: dolfin.cpp.mesh.MultiMesh, quadrature_order: int=2) → None¶
-
compute_area(self: dolfin.cpp.mesh.MultiMesh) → float¶
-
compute_volume(self: dolfin.cpp.mesh.MultiMesh) → float¶
-
covered_cells(self: dolfin.cpp.mesh.MultiMesh, arg0: int) → List[int]¶
-
cut_cells(self: dolfin.cpp.mesh.MultiMesh, arg0: int) → List[int]¶
-
mark_covered(self: dolfin.cpp.mesh.MultiMesh, arg0: int, arg1: List[int]) → None¶ Function that marks a set of cells, given by indicies in a list, as covered.
-
num_parts(self: dolfin.cpp.mesh.MultiMesh) → int¶
-
part(self: dolfin.cpp.mesh.MultiMesh, arg0: int) → dolfin.cpp.mesh.Mesh¶
-
quadrature_rules_cut_cells(self: dolfin.cpp.mesh.MultiMesh, arg0: int, arg1: int) → Tuple[List[float], List[float]]¶
-
quadrature_rules_interface(*args, **kwargs)¶ Overloaded function.
quadrature_rules_interface(self: dolfin.cpp.mesh.MultiMesh, arg0: int) -> Dict[int, List[Tuple[List[float], List[float]]]]
quadrature_rules_interface(self: dolfin.cpp.mesh.MultiMesh, arg0: int, arg1: int) -> List[Tuple[List[float], List[float]]]
-
ufl_cell()¶ Returns the ufl cell of the mesh.
-
ufl_coordinate_element()¶ Return the finite element of the coordinate vector field of this domain.
-
ufl_domain()¶ Returns the ufl domain corresponding to the mesh.
-
ufl_id()¶ Returns an id that UFL can use to decide if two objects are the same.
-
uncut_cells(self: dolfin.cpp.mesh.MultiMesh, arg0: int) → List[int]¶
-
-
class
dolfin.cpp.mesh.SubDomain¶ Bases:
pybind11_builtins.pybind11_objectDOLFIN SubDomain object
-
get_property(self: dolfin.cpp.mesh.SubDomain, arg0: str) → float¶
-
inside(self: dolfin.cpp.mesh.SubDomain, arg0: numpy.ndarray[float64[m, 1]], arg1: bool) → bool¶
-
map(self: dolfin.cpp.mesh.SubDomain, arg0: numpy.ndarray[float64[m, 1]], arg1: numpy.ndarray[float64[m, 1], flags.writeable]) → None¶
-
mark(*args, **kwargs)¶ Overloaded function.
mark(self: dolfin.cpp.mesh.SubDomain, meshfunction: dolfin.cpp.mesh.MeshFunctionSizet, marker: int, check_midpoint: bool=True) -> None
mark(self: dolfin.cpp.mesh.SubDomain, meshfunction: dolfin.cpp.mesh.MeshFunctionDouble, marker: float, check_midpoint: bool=True) -> None
mark(self: dolfin.cpp.mesh.SubDomain, meshfunction: dolfin.cpp.mesh.MeshFunctionBool, marker: bool, check_midpoint: bool=True) -> None
-
mark_cells(self: dolfin.cpp.mesh.SubDomain, mesh: dolfin.cpp.mesh.Mesh, sub_domain: int, check_midpoint: bool=True) → None¶
-
mark_facets(self: dolfin.cpp.mesh.SubDomain, mesh: dolfin.cpp.mesh.Mesh, sub_domain: int, check_midpoint: bool=True) → None¶
-
set_property(self: dolfin.cpp.mesh.SubDomain, arg0: str, arg1: float) → None¶
-
-
class
dolfin.cpp.mesh.SubMesh¶ Bases:
dolfin.cpp.mesh.MeshDOLFIN SubMesh
-
class
dolfin.cpp.mesh.Vertex¶ Bases:
dolfin.cpp.mesh.MeshEntityDOLFIN Vertex object
-
point(self: dolfin.cpp.mesh.Vertex) → dolfin::Point¶
-
x(self: dolfin.cpp.mesh.Vertex, arg0: int) → float¶
-
-
class
dolfin.cpp.mesh.VertexIterator¶ Bases:
pybind11_builtins.pybind11_objectDOLFIN VertexIterator object
-
dolfin.cpp.mesh.cells(*args, **kwargs)¶ Overloaded function.
cells(mesh: dolfin.cpp.mesh.Mesh, type: str=’regular’) -> dolfin.cpp.mesh.CellIterator
cells(arg0: dolfin.cpp.mesh.MeshEntity) -> dolfin.cpp.mesh.CellIterator
-
dolfin.cpp.mesh.edges(*args, **kwargs)¶ Overloaded function.
edges(mesh: dolfin.cpp.mesh.Mesh, type: str=’regular’) -> dolfin.cpp.mesh.EdgeIterator
edges(arg0: dolfin.cpp.mesh.MeshEntity) -> dolfin.cpp.mesh.EdgeIterator
-
dolfin.cpp.mesh.entities(*args, **kwargs)¶ Overloaded function.
entities(arg0: dolfin.cpp.mesh.Mesh, arg1: int) -> dolfin.cpp.mesh.MeshEntityIterator
entities(arg0: dolfin.cpp.mesh.MeshEntity, arg1: int) -> dolfin.cpp.mesh.MeshEntityIterator
-
dolfin.cpp.mesh.faces(*args, **kwargs)¶ Overloaded function.
faces(mesh: dolfin.cpp.mesh.Mesh, type: str=’regular’) -> dolfin.cpp.mesh.FaceIterator
faces(arg0: dolfin.cpp.mesh.MeshEntity) -> dolfin.cpp.mesh.FaceIterator
-
dolfin.cpp.mesh.facets(*args, **kwargs)¶ Overloaded function.
facets(mesh: dolfin.cpp.mesh.Mesh, type: str=’regular’) -> dolfin.cpp.mesh.FacetIterator
facets(arg0: dolfin.cpp.mesh.MeshEntity) -> dolfin.cpp.mesh.FacetIterator
-
dolfin.cpp.mesh.make_dolfin_subdomain(arg0: int) → dolfin::SubDomain¶
-
dolfin.cpp.mesh.vertices(*args, **kwargs)¶ Overloaded function.
vertices(mesh: dolfin.cpp.mesh.Mesh, type: str=’regular’) -> dolfin.cpp.mesh.VertexIterator
vertices(arg0: dolfin.cpp.mesh.MeshEntity) -> dolfin.cpp.mesh.VertexIterator