Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FEniCS/dolfinx
/ functions
Functions
2,084 in github.com/FEniCS/dolfinx
⨍
Functions
2,084
◇
Types & classes
247
↳
Endpoints
10
↓ 10 callers
Method
num_bboxes
Return number of bounding boxes
cpp/dolfinx/geometry/BoundingBoxTree.h:371
↓ 10 callers
Method
rank
@brief Rank of the form. bilinear form = 2, linear form = 1, functional = 0, etc. @return The rank of the form.
cpp/dolfinx/fem/Form.h:358
↓ 10 callers
Method
sub_topology_to_topology
Map entities between the sub-topology and the parent topology. If `inverse` is False, this function maps a list of `self.dim()`-dimen
python/dolfinx/mesh.py:528
↓ 9 callers
Function
_create_form
Recursively convert ufl.Forms to dolfinx.fem.Form. Args: form: UFL form or list of UFL forms to extract DOLFINx forms
python/dolfinx/fem/forms.py:457
↓ 9 callers
Function
assemble_matrix
cpp/dolfinx/fem/assembler.h:461
↓ 9 callers
Method
cell_shape
cpp/dolfinx/fem/CoordinateElement.cpp:41
↓ 9 callers
Method
cell_type
cpp/dolfinx/fem/FiniteElement.cpp:279
↓ 9 callers
Function
check_cell_volume
(points, cell, domain, volume, dtype)
python/test/unit/mesh/test_higher_order_mesh.py:28
↓ 9 callers
Method
comm
@brief Get MPI communicator that matrix is defined on.
cpp/dolfinx/la/MatrixCSR.h:527
↓ 9 callers
Function
compute_distance_gjk
Compute the distance between two convex bodies. Each body is defined by a set of points. Uses the Gilbert-Johnson-Keerthi (GJK) distance algo
python/dolfinx/geometry.py:274
↓ 9 callers
Function
curl_2d
Compute the 2D curl of a vector field a.
python/demo/demo_pml.py:302
↓ 9 callers
Method
dof_indices
Dof indices to which a Dirichlet condition is applied. Note: Returned array is read-only. Returns: (i) Sort
python/dolfinx/fem/bcs.py:161
↓ 9 callers
Method
exterior_facet_indices
-----------------------------------------------------------------------------
cpp/dolfinx/mesh/utils.cpp:59
↓ 9 callers
Method
index_map
@brief Return the row (`dim == 0`) or column (`dim == 1`) `IndexMap`.
cpp/dolfinx/la/matmul.h:79
↓ 9 callers
Function
inner_product
cpp/dolfinx/la/Vector.h:432
↓ 9 callers
Method
interpolation_points
cpp/dolfinx/fem/FiniteElement.cpp:463
↓ 9 callers
Method
map_type
cpp/dolfinx/fem/FiniteElement.cpp:425
↓ 9 callers
Method
read_mesh
Read mesh data from file. Note: Changing `max_facet_to_cell_links` from the default value should only be required whe
python/dolfinx/io/utils.py:188
↓ 9 callers
Method
scatter_end
@brief Complete non-blocking MPI point-to-point sends. This function completes the communication started by ::scatter_fwd_begin or ::scatter_rev_begi
cpp/dolfinx/common/Scatterer.h:406
↓ 9 callers
Function
squared_norm
cpp/dolfinx/la/Vector.h:463
↓ 9 callers
Method
tabulate_dof_coordinates
Tabulate coordinates of function space degrees-of-freedom. Returns: Coordinates of the degrees-of-freedom. Note:
python/dolfinx/fem/function.py:855
↓ 9 callers
Method
transpose
Compute transpose matrix.
python/dolfinx/la/__init__.py:198
↓ 9 callers
Method
values
Values associated with tagged mesh entities.
python/dolfinx/mesh.py:486
↓ 9 callers
Function
write_mesh
Write a mesh to file in VTKHDF format. Args: filename: File to write to. mesh: Mesh.
python/dolfinx/io/vtkhdf.py:72
↓ 8 callers
Method
X
Evaluation points on the reference cell.
python/dolfinx/fem/function.py:295
↓ 8 callers
Function
adjacencylist
Create an :class:`AdjacencyList` for `int32` or `int64` datasets. Args: data: The adjacency array. If the array is one-dimensional,
python/dolfinx/graph.py:122
↓ 8 callers
Function
assemble_vector
cpp/dolfinx/fem/petsc.h:268
↓ 8 callers
Method
basix_element
Return underlying Basix C++ element (if it exists). Raises: Runtime error if Basix element does not exist.
python/dolfinx/fem/element.py:203
↓ 8 callers
Method
cell_name
String representation of the cell-type of the topology.
python/dolfinx/mesh.py:146
↓ 8 callers
Method
clone
Create a FunctionSpace which shares data with this space. The new space has a different unique integer ID. Create a new FunctionSpac
python/dolfinx/fem/function.py:742
↓ 8 callers
Method
comm
MPI communicator associated with the mesh.
python/dolfinx/mesh.py:384
↓ 8 callers
Function
create_matrix
cpp/dolfinx/fem/petsc.h:46
↓ 8 callers
Function
create_vector
Create a vector compatible with linear form(s) or function space(s). Three cases are supported: 1. For a single space ``V``, if ``kind`` is
python/dolfinx/fem/petsc.py:88
↓ 8 callers
Function
f
(x)
python/test/unit/fem/test_assemble_submesh.py:637
↓ 8 callers
Function
generate_mesh
Helper function for parametrizing over meshes.
python/test/unit/io/test_adios2.py:30
↓ 8 callers
Function
h
cpp/dolfinx/mesh/utils.h:414
↓ 8 callers
Function
index_owner
@brief Return which rank owns index in global range [0, N - 1] (inverse of MPI::local_range). @param[in] size Number of MPI ranks. @param[in] index Th
cpp/dolfinx/common/MPI.h:113
↓ 8 callers
Method
input_global_indices
Global input indices of the geometry nodes.
python/dolfinx/mesh.py:338
↓ 8 callers
Function
matrix_csr
Create a distributed sparse matrix. The matrix uses compressed sparse row storage. Args: sp: The sparsity pattern that defines the n
python/dolfinx/la/__init__.py:311
↓ 8 callers
Method
mult
Compute ``y += Ax`` or ``y += A^T x``. Args: x: Input Vector y: Output Vector transpose: if True, compute
python/dolfinx/la/__init__.py:164
↓ 8 callers
Function
one_cell_mesh
(cell_type)
python/test/unit/fem/test_interpolation.py:104
↓ 8 callers
Function
refine
Refine a mesh. Note: Using the `None` partitioner for the refined mesh, the refined mesh will **not** include ghosts cells (cells
python/dolfinx/mesh.py:745
↓ 8 callers
Function
regular_adjacency_list
cpp/dolfinx/graph/AdjacencyList.h:248
↓ 8 callers
Method
solve
Solve the problem. This method updates the solution ``u`` function(s) stored in the problem instance. Note: The
python/dolfinx/fem/petsc.py:886
↓ 8 callers
Function
squared_distance
Compute the squared distance between a point and a mesh entity. The distance is computed between the ith input points and the ith input entit
python/dolfinx/geometry.py:252
↓ 8 callers
Method
sub_topology_to_topology
@brief Map entities between the sub-topology and the parent topology. If `inverse` is false, this function maps a list of `this->dim()`-dimensional e
cpp/dolfinx/mesh/EntityMap.h:103
↓ 8 callers
Method
vec
-----------------------------------------------------------------------------
cpp/dolfinx/la/petsc.cpp:495
↓ 7 callers
Method
IndexMap
----------------------------------------------------------------------------- ------------------------------------------------------------------------
cpp/dolfinx/common/IndexMap.cpp:856
↓ 7 callers
Method
add
cpp/dolfinx/la/MatrixCSR.h:305
↓ 7 callers
Function
allocate_coefficient_storage
cpp/dolfinx/fem/pack.h:171
↓ 7 callers
Function
compute_incident_entities
Compute incident entities. Computes entities of dimension ``d1`` connected to ``entities`` of dimension ``d0``. Args: topology:
python/dolfinx/mesh.py:601
↓ 7 callers
Method
create_vector
-----------------------------------------------------------------------------
cpp/dolfinx/la/petsc.cpp:70
↓ 7 callers
Function
create_vector_wrap
cpp/dolfinx/la/petsc.h:86
↓ 7 callers
Method
dtype
Scalar type of this form.
python/dolfinx/fem/forms.py:103
↓ 7 callers
Method
index_map
Index map for row/column. Args: i: 0 for row map, 1 for column map.
python/dolfinx/la/__init__.py:156
↓ 7 callers
Method
insert_diagonal
-----------------------------------------------------------------------------
cpp/dolfinx/la/SparsityPattern.cpp:187
↓ 7 callers
Method
interpolation_ident
cpp/dolfinx/fem/FiniteElement.cpp:451
↓ 7 callers
Function
marker
BC Selector.
python/demo/demo_mixed-topology.py:144
↓ 7 callers
Method
mat_add_values
cpp/dolfinx/la/MatrixCSR.h:157
↓ 7 callers
Function
norm
cpp/dolfinx/la/Vector.h:477
↓ 7 callers
Function
pack_coefficients
cpp/dolfinx/fem/pack.h:224
↓ 7 callers
Function
pack_constants
cpp/dolfinx/fem/pack.h:514
↓ 7 callers
Method
scatter_fwd
@brief Scatter (send) of local data values that are ghosted on other processes and update ghost entry values (simplified CPU version). Suitable for s
cpp/dolfinx/la/Vector.h:289
↓ 7 callers
Method
set
----------------------------------------------------------------------------- ------------------------------------------------------------------------
cpp/dolfinx/la/petsc.cpp:374
↓ 7 callers
Method
sub_topology
-----------------------------------------------------------------------------
cpp/dolfinx/mesh/EntityMap.cpp:23
↓ 7 callers
Function
transpose
cpp/dolfinx/la/mattrans.h:128
↓ 6 callers
Method
FunctionSpace
@brief Create function space for given mesh, element and degree-of-freedom map. @param[in] mesh Mesh that the space is defined on. @param[in] element
cpp/dolfinx/fem/FunctionSpace.h:44
↓ 6 callers
Method
bs
Get block size
cpp/dolfinx/la/Vector.h:382
↓ 6 callers
Method
component
Return the component relative to the parent space.
python/dolfinx/fem/function.py:796
↓ 6 callers
Method
compute_integration_domains
-----------------------------------------------------------------------------
cpp/dolfinx/fem/utils.cpp:153
↓ 6 callers
Function
create_box
cpp/dolfinx/mesh/generation.h:105
↓ 6 callers
Method
create_entity_permutations
Compute entity permutations and reflections.
python/dolfinx/mesh.py:196
↓ 6 callers
Function
create_geometry
Create a Geometry object. Args: index_map: Index map describing the layout of the geometry points (nodes). dofmap: Th
python/dolfinx/mesh.py:1285
↓ 6 callers
Method
create_matrix
-----------------------------------------------------------------------------
cpp/dolfinx/la/petsc.cpp:235
↓ 6 callers
Function
create_sparsity_pattern
cpp/dolfinx/fem/utils.h:198
↓ 6 callers
Function
create_test_sparsity
(n, bs)
python/test/unit/la/test_matrix_csr.py:22
↓ 6 callers
Method
dim
@brief Return dimension of the Euclidean coordinate system.
cpp/dolfinx/mesh/Geometry.h:108
↓ 6 callers
Function
dot
cpp/dolfinx/common/math.h:181
↓ 6 callers
Method
flush
Flush timer duration to the logger. Note: Timer must have been stopped before flushing. Timer can be flushed only on
python/dolfinx/common.py:168
↓ 6 callers
Function
form_cpp_class
Wrapped C++ class of a variational form of a specific scalar type. Args: dtype: Scalar type of the required form class. Returns:
python/dolfinx/fem/forms.py:205
↓ 6 callers
Method
function_space
Function space on which the boundary condition is defined.
python/dolfinx/fem/bcs.py:130
↓ 6 callers
Method
get_bbox
Get lower and upper corners of the ith bounding box. Args: i: Index of the box. Returns: The 'lower' and 'up
python/dolfinx/geometry.py:99
↓ 6 callers
Method
get_bbox
@brief Return bounding box coordinates for a given node in the tree, @param[in] node The bounding box node index. @return Bounding box coordinates (lo
cpp/dolfinx/geometry/BoundingBoxTree.h:323
↓ 6 callers
Method
get_facet_permutations
Get the permutation integer to apply to facets. The bits of each integer describes the number of reflections and rotations that has t
python/dolfinx/mesh.py:220
↓ 6 callers
Method
global_indices
-----------------------------------------------------------------------------
cpp/dolfinx/common/IndexMap.cpp:996
↓ 6 callers
Method
indices
Indices of tagged topology entities (local-to-process). The indices are sorted.
cpp/dolfinx/mesh/MeshTags.h:101
↓ 6 callers
Method
interpolation_operator
cpp/dolfinx/fem/FiniteElement.cpp:482
↓ 6 callers
Function
make_coefficients_span
cpp/dolfinx/fem/assembler.h:146
↓ 6 callers
Function
model_to_mesh
Create a Mesh from a Gmsh model. Creates a :class:`dolfinx.mesh.Mesh` from the physical entities of the highest topological dimension in the
python/dolfinx/io/gmsh.py:285
↓ 6 callers
Function
option_parent_cell
@brief Check if parent_cell flag is set
cpp/dolfinx/refinement/option.h:45
↓ 6 callers
Function
option_parent_facet
@brief Check if parent_facet flag is set
cpp/dolfinx/refinement/option.h:36
↓ 6 callers
Method
read_geometry_data
-----------------------------------------------------------------------------
cpp/dolfinx/io/XDMFFile.cpp:221
↓ 6 callers
Function
read_mesh
Read a mesh from a VTKHDF format file. Note: Changing `max_facet_to_cell_links` from the default value should only be required wh
python/dolfinx/io/vtkhdf.py:28
↓ 6 callers
Function
run_scalar_test
Manufactured Poisson problem, solving u = x[1]**p, where p is the degree of the Lagrange function space.
python/test/unit/fem/test_fem_pipeline.py:55
↓ 6 callers
Function
run_symmetry_test
(cell_type, e, form_f)
python/test/unit/fem/test_symmetry.py:27
↓ 6 callers
Method
scatter_fwd_begin
cpp/dolfinx/la/Vector.h:219
↓ 6 callers
Method
supermatrix
cpp/dolfinx/la/superlu_dist.cpp:154
↓ 6 callers
Function
vtk_triangle_remainders
----------------------------------------------------------------------------
cpp/dolfinx/io/cells.cpp:31
↓ 6 callers
Method
x
@brief Access geometry degrees-of-freedom data (const version). @return The flattened row-major geometry data, where the shape is `(num_points, 3)`.
cpp/dolfinx/mesh/Geometry.h:152
↓ 5 callers
Function
L_ufl
Helper function to create a UFL linear form. The form depends on the integral type.
python/test/unit/fem/test_assemble_submesh.py:171
← previous
next →
201–300 of 2,084, ranked by callers