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
↓ 5 callers
Function
M_ufl
(f, g, measure)
python/test/unit/fem/test_assemble_submesh.py:180
↓ 5 callers
Method
Timer
@brief Create and start timer. Elapsed time is optionally registered in the logger when the Timer destructor is called. @param[in] task Name used to
cpp/dolfinx/common/Timer.h:50
↓ 5 callers
Method
VTXWriter
@brief Create a VTX writer for a mesh. This format supports arbitrary degree meshes. @param[in] comm MPI communicator to open the file on. @param[in
cpp/dolfinx/io/ADIOS2Writers.h:469
↓ 5 callers
Function
_check_ufl_domain
(mesh)
python/test/unit/mesh/test_mesh.py:252
↓ 5 callers
Function
a_ufl
Helper function to create a UFL bilinear form. The form depends on the integral type.
python/test/unit/fem/test_assemble_submesh.py:162
↓ 5 callers
Function
add_data
cpp/dolfinx/io/VTKFile.cpp:140
↓ 5 callers
Method
apply
-----------------------------------------------------------------------------
cpp/dolfinx/la/petsc.cpp:603
↓ 5 callers
Method
bbox
Get bounding box child nodes. @param[in] node The bounding box node index @return The indices of the two child nodes. If @p node is a leaf nodes, the
cpp/dolfinx/geometry/BoundingBoxTree.h:405
↓ 5 callers
Method
bs
Block size of the dofmap.
python/dolfinx/fem/dofmap.py:47
↓ 5 callers
Function
cg_solver
Conjugate Gradient solver for SPD problems, which can work in serial or parallel for testing use. Not suitable for large problems.
python/test/conftest.py:150
↓ 5 callers
Method
close
----------------------------------------------------------------------------
cpp/dolfinx/io/VTKFile.cpp:731
↓ 5 callers
Function
compute_colliding_cells
From a mesh, find which cells collide with a set of points. Args: msh: The mesh. candidates: Adjacency list of candidate collidin
python/dolfinx/geometry.py:231
↓ 5 callers
Function
compute_collisions_trees
Compute all collisions between two bounding box trees. Args: tree0: First bounding box tree. tree1: Second bounding box tree.
python/dolfinx/geometry.py:154
↓ 5 callers
Method
compute_incident_entities
-----------------------------------------------------------------------------
cpp/dolfinx/mesh/utils.cpp:131
↓ 5 callers
Method
compute_jacobian
cpp/dolfinx/fem/CoordinateElement.h:133
↓ 5 callers
Method
compute_jacobian_inverse
cpp/dolfinx/fem/CoordinateElement.h:142
↓ 5 callers
Function
create_cell_partitioner_cpp
python/dolfinx/wrappers/mesh.cpp:41
↓ 5 callers
Function
create_interpolation_data
Generate data for interpolating functions on different meshes. Args: V_to: Function space to interpolate into. V_from: Function s
python/dolfinx/fem/utils.py:71
↓ 5 callers
Function
create_midpoint_tree
Create bounding box tree for the midpoints of a subset of entities. Args: mesh: The mesh. dim: Topological dimension of the entit
python/dolfinx/geometry.py:215
↓ 5 callers
Function
discrete_gradient
Assemble a discrete gradient operator. The discrete gradient operator interpolates the gradient of a H1 finite element function into a H(curl
python/dolfinx/fem/petsc.py:1558
↓ 5 callers
Function
entities_to_geometry
cpp/dolfinx/mesh/utils.h:861
↓ 5 callers
Method
flush
----------------------------------------------------------------------------
cpp/dolfinx/io/VTKFile.cpp:748
↓ 5 callers
Function
g
(x)
python/test/unit/fem/test_interpolation.py:859
↓ 5 callers
Method
hash
cpp/dolfinx/fem/CoordinateElement.cpp:219
↓ 5 callers
Function
interpolate_geometry
From a mesh create a mesh with geometry interpolated into cmap. Useful for creating a higher-order mesh from a lower-order one for computatio
python/dolfinx/fem/utils.py:192
↓ 5 callers
Function
interpolation_apply
cpp/dolfinx/fem/interpolate.h:311
↓ 5 callers
Function
interpolation_matrix
Create an interpolation operator between finite element spaces. Consider is the vector of degrees-of-freedom :math:`u_{i}` associated with a
python/dolfinx/fem/petsc.py:1576
↓ 5 callers
Method
interprocess_facets
List of inter-process facets. Empty if facet topology has not been computed.
python/dolfinx/mesh.py:258
↓ 5 callers
Function
is_leaf
Check whether bounding box is a leaf node
cpp/dolfinx/geometry/utils.h:187
↓ 5 callers
Method
local_range
-----------------------------------------------------------------------------
cpp/dolfinx/common/IndexMap.cpp:926
↓ 5 callers
Method
matmul
Compute matrix product ``A * B``, where `A` is this matrix. Args: B: Input Matrix to multiply by
python/dolfinx/la/__init__.py:177
↓ 5 callers
Function
meshtags_from_entities
Create mesh tags that associate data with a subset of mesh entities. The entities are defined by their vertices. Args: msh: The mesh
python/dolfinx/mesh.py:944
↓ 5 callers
Method
needs_dof_permutations
cpp/dolfinx/fem/FiniteElement.cpp:545
↓ 5 callers
Method
needs_facet_permutations
@brief Get bool indicating whether permutation data needs to be passed into these integrals. @return True if cell permutation data is required
cpp/dolfinx/fem/Form.h:572
↓ 5 callers
Method
num_sub_elements
cpp/dolfinx/fem/FiniteElement.cpp:383
↓ 5 callers
Function
pack_coefficient_entity
cpp/dolfinx/fem/pack.h:95
↓ 5 callers
Function
ptr_to_ref_wrapper_vec
Copy a container of pointers to a std::vector<std::reference_wrapper<T>>
python/dolfinx/wrappers/dolfinx_wrappers/fem.h:74
↓ 5 callers
Method
push_forward
Push points on the reference cell forward to the physical cell. Args: X: Coordinates of points on the reference cell,
python/dolfinx/fem/element.py:65
↓ 5 callers
Method
read_meshtags
Read mesh tags with name given in the XMDF file. Args: mesh: Mesh that the input data is defined on. name: Name of th
python/dolfinx/io/utils.py:281
↓ 5 callers
Method
read_topology_data
-----------------------------------------------------------------------------
cpp/dolfinx/io/XDMFFile.cpp:204
↓ 5 callers
Function
refine
cpp/dolfinx/refinement/refine.h:121
↓ 5 callers
Function
run_dg_test
Manufactured Poisson problem, solving u = x[component]**n, where n is the degree of the Lagrange function space.
python/test/unit/fem/test_fem_pipeline.py:143
↓ 5 callers
Function
run_scalar_test
(V, degree, dtype, cg_solver, rtol=None)
python/test/unit/fem/test_custom_basix_element.py:31
↓ 5 callers
Function
run_vector_test
Test that interpolation is correct in a scalar valued space.
python/test/unit/fem/test_interpolation.py:239
↓ 5 callers
Method
set
-----------------------------------------------------------------------------
cpp/dolfinx/common/Table.cpp:39
↓ 5 callers
Method
set_from_options
-----------------------------------------------------------------------------
cpp/dolfinx/la/slepc.cpp:184
↓ 5 callers
Method
set_option
Set SuperLU_DIST option for solve. See SuperLU_DIST User's Guide for option names and values. Example:: solver.set_opti
python/dolfinx/la/superlu_dist.py:106
↓ 5 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:1327
↓ 5 callers
Function
solve_and_check
(solver, b)
python/test/unit/la/test_superlu_dist.py:83
↓ 5 callers
Method
stop
Stop timer and return elapsed time. Returns: Elapsed time.
python/dolfinx/common.py:148
↓ 5 callers
Method
update
(solver, dx, x)
python/test/unit/nls/test_newton.py:144
↓ 4 callers
Method
X
@brief Evaluation point coordinates on the reference cell.
cpp/dolfinx/fem/Expression.h:165
↓ 4 callers
Function
_assemble_vector_array
Assemble linear form into an existing array. Args: b: Array to assemble the contribution from the calling MPI rank into. It m
python/dolfinx/fem/assemble.py:219
↓ 4 callers
Function
add_data_item
cpp/dolfinx/io/xdmf_utils.h:72
↓ 4 callers
Function
assemble
(mesh, space, k)
python/test/unit/fem/test_assemble_submesh.py:35
↓ 4 callers
Function
assemble_interior_facet_formulation
(formulation, entity_maps)
python/test/unit/fem/test_assemble_submesh.py:626
↓ 4 callers
Function
assign
Assign :class:`Function` degrees-of-freedom to a vector. Assigns degree-of-freedom values in ``u``, which is possibly a sequence of ``Functio
python/dolfinx/fem/petsc.py:1602
↓ 4 callers
Function
axpy
@brief Compute vector r = alpha * x + y. @param[out] r @param[in] alpha @param[in] x @param[in] y
cpp/demo/poisson_matrix_free/main.cpp:65
↓ 4 callers
Method
block_size
@brief Get block sizes. @return Block sizes for rows (0) and columns (1).
cpp/dolfinx/la/MatrixCSR.h:573
↓ 4 callers
Function
check_error
(u_ex, uh)
python/test/unit/la/test_superlu_dist.py:76
↓ 4 callers
Method
coefficient_offsets
@brief Offset for each coefficient expansion array on a cell. Used to pack data for multiple coefficients in a flat array. The last entry is the size
cpp/dolfinx/fem/Form.h:578
↓ 4 callers
Function
compute_L2_error
Compute the L2-error between two expressions. Args: uh: The approximate solution. u_ex: The exact solution.
python/demo/demo_matrix-free-petsc.py:484
↓ 4 callers
Function
compute_a
Compute the Mie coefficient a_nu for a cylinder.
python/demo/demo_pml.py:215
↓ 4 callers
Function
compute_a
Compute the a_nu coefficient.
python/demo/demo_scattering-boundary-conditions.py:221
↓ 4 callers
Function
compute_closest_entity
Compute closest mesh entity to a point. Args: tree: bounding box tree for the entities. midpoint_tree: A bounding box tree with t
python/dolfinx/geometry.py:189
↓ 4 callers
Function
compute_integration_domains
Determine compute integration entities. This function returns a list ``[(id, entities)]``. For cell integrals ``entities`` are the cell indic
python/dolfinx/fem/utils.py:153
↓ 4 callers
Method
compute_jacobian_determinant
cpp/dolfinx/fem/CoordinateElement.h:158
↓ 4 callers
Function
create_element_dof_layout
cpp/dolfinx/fem/utils.h:318
↓ 4 callers
Function
create_index_map
cpp/test/common/index_map.cpp:23
↓ 4 callers
Function
create_mesh
Create a DOLFINx from a Gmsh model and output to file. Args: comm: MPI communicator top create the mesh on. model: Gmsh model.
python/demo/demo_gmsh.py:166
↓ 4 callers
Function
create_meshtags
(msh, dim, entities)
python/test/unit/fem/test_assemble_submesh.py:134
↓ 4 callers
Function
create_partitioner_py
python/dolfinx/wrappers/dolfinx_wrappers/graph.h:24
↓ 4 callers
Method
create_sub_index_map
-----------------------------------------------------------------------------
cpp/dolfinx/common/IndexMap.cpp:815
↓ 4 callers
Method
degree
cpp/dolfinx/fem/CoordinateElement.cpp:198
↓ 4 callers
Function
det
cpp/dolfinx/common/math.h:51
↓ 4 callers
Function
distance_point_to_line_3D
Distance from point to line.
python/test/unit/geometry/test_gjk.py:20
↓ 4 callers
Method
dofmaps
The geometry dofmaps, one per cell type.
python/dolfinx/fem/function.py:835
↓ 4 callers
Function
elasticity
Linearised elasticity problem solver.
python/demo/demo_types.py:169
↓ 4 callers
Function
find_colliding_cells
Given a mesh and a bounding box((xmin, ymin, zmin), (xmax, ymax, zmax)) find all colliding cells.
python/test/unit/geometry/test_bounding_box_tree.py:68
↓ 4 callers
Function
get_cell_orientation_info
cpp/dolfinx/fem/pack.h:39
↓ 4 callers
Function
get_remote_dofs
Find all DOFs on this process that have been detected on another process. @param[in] comm A symmetric communicator @param[in] map The index map with t
cpp/dolfinx/fem/DirichletBC.cpp:93
↓ 4 callers
Method
h
Geometric size measure of cell entities. Args: dim: Topological dimension of the entities to compute the size mea
python/dolfinx/mesh.py:420
↓ 4 callers
Method
index_to_dest_ranks
----------------------------------------------------------------------------
cpp/dolfinx/common/IndexMap.cpp:1010
↓ 4 callers
Method
interpolate_nonmatching
Interpolate a Function on a non-matching mesh. Args: u0: Function to interpolate. cells: The cells to interpolate ove
python/dolfinx/fem/function.py:470
↓ 4 callers
Function
interpolation_coords
cpp/dolfinx/fem/interpolate.h:50
↓ 4 callers
Method
is_mixed
cpp/dolfinx/fem/FiniteElement.cpp:389
↓ 4 callers
Method
mat_set_values
cpp/dolfinx/la/MatrixCSR.h:115
↓ 4 callers
Function
mixed_topology_form
Create a mixed-topology from from an array of Forms. # FIXME: This function is a temporary hack for mixed-topology meshes. # It is needed bec
python/dolfinx/fem/forms.py:246
↓ 4 callers
Method
num_owned_rows
Number of local rows excluding ghost rows
cpp/dolfinx/la/MatrixCSR.h:332
↓ 4 callers
Function
option_setter
cpp/dolfinx/la/superlu_dist.cpp:167
↓ 4 callers
Function
pml_coordinates
Apply PML coordinate transformation to point x.
python/demo/demo_pml.py:324
↓ 4 callers
Function
poisson
Poisson problem solver. Args: dtype: Scalar type to use.
python/demo/demo_types.py:101
↓ 4 callers
Function
poisson_problem
Solve a 3D Poisson problem using Ruge-Stuben algebraic multigrid. Args: dtype: Scalar type to use. solver_type: pyamg solver type
python/demo/demo_pyamg.py:58
↓ 4 callers
Method
read_meshtags
@endcond -----------------------------------------------------------------------------
cpp/dolfinx/io/XDMFFile.cpp:344
↓ 4 callers
Function
saw_tooth
Define a saw tooth wave function.
python/demo/demo_lagrange-variants.py:120
↓ 4 callers
Function
set_diagonal
cpp/dolfinx/fem/assembler.h:603
↓ 4 callers
Method
solve
@brief Newton Solver @param x Solution vector @return Iteration count and flag indicating convergence
cpp/demo/hyperelasticity/main.cpp:81
↓ 4 callers
Method
squared_norm
@brief Compute the Frobenius norm squared across all processes. @note MPI Collective
cpp/dolfinx/la/MatrixCSR.h:467
↓ 4 callers
Function
superlu_dist_matrix
Create a SuperLU_DIST matrix. Deep copies all required data from ``A``. Args: A: Assembled matrix. Returns: A SuperLU_D
python/dolfinx/la/superlu_dist.py:61
↓ 4 callers
Method
to_type
-----------------------------------------------------------------------------
cpp/dolfinx/mesh/cell_types.cpp:42
← previous
next →
301–400 of 2,084, ranked by callers