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
↓ 24 callers
Method
create_entity_permutations
-----------------------------------------------------------------------------
cpp/dolfinx/mesh/Topology.cpp:1024
↓ 24 callers
Function
create_submesh
Create a mesh with specified entities from another mesh. Args: msh: Mesh to create the sub-mesh from. dim: Topological dimension
python/dolfinx/mesh.py:865
↓ 24 callers
Method
mesh
Mesh on which this form is defined.
python/dolfinx/fem/forms.py:108
↓ 23 callers
Function
coordinate_element
Create a Lagrange CoordinateElement from element metadata. Coordinate elements are typically used to create meshes. Args: celltype:
python/dolfinx/fem/element.py:128
↓ 23 callers
Function
create_unit_interval
Create a mesh on the unit interval. Args: comm: MPI communicator. nx: Number of cells. dtype: Float type for the mesh geo
python/dolfinx/mesh.py:1025
↓ 23 callers
Method
get_cell_permutation_info
Get permutation information. The returned data is used for packing coefficients and assembling of tensors. The bits of each integer e
python/dolfinx/mesh.py:210
↓ 23 callers
Function
meshtags
Create mesh tags that associate data with a subset of mesh entities. Args: msh: The mesh. dim: Topological dimension of the mesh
python/dolfinx/mesh.py:898
↓ 23 callers
Method
owners
@brief The ranks that own each ghost index. @return List of ghost owners. The owning rank of the ith ghost index is `owners()[i]`.
cpp/dolfinx/common/IndexMap.h:221
↓ 23 callers
Method
src
-----------------------------------------------------------------------------
cpp/dolfinx/common/IndexMap.cpp:1312
↓ 22 callers
Function
vec_pop
----------------------------------------------------------------------------
cpp/dolfinx/io/cells.cpp:23
↓ 21 callers
Function
assemble_vector
Assemble linear form(s) into a new PETSc vector. Three cases are supported: 1. If ``L`` is a single linear form, the form is assembled into
python/dolfinx/fem/petsc.py:203
↓ 21 callers
Method
comm
-----------------------------------------------------------------------------
cpp/dolfinx/common/MPI.cpp:62
↓ 21 callers
Method
dofmap
Degree-of-freedom map associated with the function space.
python/dolfinx/fem/function.py:830
↓ 21 callers
Function
extract_function_spaces
Extract common function spaces from an array of forms. If ``forms`` is a list of linear forms, this function returns of list of the correspon
python/dolfinx/fem/forms.py:479
↓ 21 callers
Function
get_mesh
(cell_type, datadir)
python/test/unit/fem/test_fem_pipeline.py:458
↓ 21 callers
Method
offsets
Offsets for each node in the :func:`array`. Returns: Array of indices with shape `(num_nodes+1)`.
python/dolfinx/graph.py:104
↓ 21 callers
Method
tabulate
cpp/dolfinx/fem/FiniteElement.cpp:365
↓ 21 callers
Method
vector
Create a PETSc vector for the problem.
python/test/unit/nls/test_newton.py:65
↓ 20 callers
Function
create_mesh
cpp/dolfinx/mesh/utils.h:1046
↓ 20 callers
Method
dest
-----------------------------------------------------------------------------
cpp/dolfinx/common/IndexMap.cpp:1314
↓ 20 callers
Function
difference_of_products
cpp/dolfinx/common/math.h:36
↓ 20 callers
Function
pack_coefficients
Pack form coefficients for use in assembly. Pack the ``coefficients`` that appear in forms. The packed coefficients can be passed to an assem
python/dolfinx/fem/assemble.py:61
↓ 20 callers
Method
to_dense
Copy to a dense 2D array. Note: Typically used for debugging.
python/dolfinx/la/__init__.py:262
↓ 19 callers
Method
Constant
@brief Create a rank-0 (scalar-valued) constant. @param[in] c Value of the constant.
cpp/dolfinx/fem/Constant.h:29
↓ 19 callers
Method
create_entities
-----------------------------------------------------------------------------
cpp/dolfinx/mesh/Topology.cpp:926
↓ 19 callers
Method
index_map
Get IndexMap
cpp/dolfinx/la/Vector.h:379
↓ 19 callers
Method
map
-----------------------------------------------------------------------------
cpp/dolfinx/fem/DofMap.cpp:273
↓ 18 callers
Function
cell_dim
Return topological dimension of cell type
cpp/dolfinx/mesh/cell_types.h:44
↓ 18 callers
Function
check_vertex_integral_against_sum
Weighting assumes the vertex integral to be weighted by a P1 function, each vertex value corresponding to its global index.
python/test/unit/fem/test_assembler.py:1690
↓ 18 callers
Function
create_rectangle
Create a rectangle mesh. Args: comm: MPI communicator. points: Coordinates of the lower - left and upper - right corn
python/dolfinx/mesh.py:1055
↓ 18 callers
Method
eval
Evaluate Expression on entities. Args: mesh: Mesh to evaluate Expression on. entities: Entities to evaluate the Expre
python/dolfinx/fem/function.py:234
↓ 18 callers
Method
needs_dof_transformations
cpp/dolfinx/fem/FiniteElement.cpp:539
↓ 18 callers
Function
pack_constants
Pack form constants for use in assembly. Pack the 'constants' that appear in forms. The packed constants can then be passed to an assembler.
python/dolfinx/fem/assemble.py:29
↓ 18 callers
Method
set_value
Set all non-zero entries to a value. Args: x: The value to set all non-zero entries to.
python/dolfinx/la/__init__.py:227
↓ 17 callers
Method
Expression
@brief Create an Expression. @note Users should prefer the fem::create_expression factory functions for creating an Expression. @param[in] coefficie
cpp/dolfinx/fem/Expression.h:74
↓ 17 callers
Method
index_maps
-----------------------------------------------------------------------------
cpp/dolfinx/mesh/Topology.cpp:830
↓ 17 callers
Method
to_scipy
Convert to a SciPy CSR/BSR matrix. Data is shared. Note: SciPy must be available. Args: ghosted: If ``True``
python/dolfinx/la/__init__.py:270
↓ 16 callers
Function
radix_sort
cpp/dolfinx/common/sort.h:78
↓ 16 callers
Method
scatter_rev
cpp/dolfinx/la/Vector.h:372
↓ 16 callers
Method
str
-----------------------------------------------------------------------------
cpp/dolfinx/common/Table.cpp:200
↓ 16 callers
Method
values
Values attached to topology entities
cpp/dolfinx/mesh/MeshTags.h:104
↓ 16 callers
Function
vector
Create a distributed vector. Args: map: Index map the describes the size and distribution of the vector. bs: Block si
python/dolfinx/la/__init__.py:341
↓ 15 callers
Function
cell_entity_type
Return type of cell for entity of dimension d at given entity index.
cpp/dolfinx/mesh/cell_types.h:110
↓ 15 callers
Method
domain_arg
@brief Argument function mesh integration entity indices. Integration can be performed over cells/facets involving functions that are defined on diff
cpp/dolfinx/fem/Form.h:526
↓ 15 callers
Function
dot3
cpp/dolfinx/geometry/gjk.h:62
↓ 15 callers
Method
interpolate
@brief Interpolate an expression f(x) over a set of cells. @param[in] f Expression function to be interpolated. @param[in] cells Cells to interpolate
cpp/dolfinx/fem/Function.h:162
↓ 15 callers
Function
py_to_cpp_coeffs
python/dolfinx/wrappers/dolfinx_wrappers/pycoeff.h:18
↓ 15 callers
Method
stop
cpp/dolfinx/common/Timer.h:92
↓ 15 callers
Method
value
Return boundary value function g @return The boundary values Function
cpp/dolfinx/fem/DirichletBC.h:452
↓ 15 callers
Method
value_size
cpp/dolfinx/fem/FiniteElement.cpp:297
↓ 14 callers
Function
bcs_by_block
Arrange boundary conditions by the space that they constrain. Given a sequence of function spaces ``spaces`` and a sequence of DirichletBC ob
python/dolfinx/fem/bcs.py:236
↓ 14 callers
Method
clear
-----------------------------------------------------------------------------
cpp/dolfinx/la/petsc.cpp:379
↓ 14 callers
Function
compute_collisions_points
Compute collisions between points and leaf bounding boxes. Bounding boxes can overlap, therefore points can collide with more than one box.
python/dolfinx/geometry.py:171
↓ 14 callers
Function
create_matrix
Create a matrix compatible with a sequence of bilinear forms. Three cases are supported: 1. For a single bilinear form, it creates a compati
python/dolfinx/fem/petsc.py:151
↓ 14 callers
Method
dim
Dimension of the coordinate element space. This is number of basis functions that span the coordinate space, e.g., for a linear trian
python/dolfinx/fem/element.py:49
↓ 14 callers
Method
index_maps
Index maps for parallel distribution of the mesh entities. Args: dim: Topological dimension of the entities. Returns:
python/dolfinx/mesh.py:246
↓ 14 callers
Function
interpolate
cpp/dolfinx/fem/interpolate.h:1097
↓ 14 callers
Function
mat_random
Return a function that creates a random (dense) MatrixCSR for testing.
python/test/unit/la/conftest.py:46
↓ 14 callers
Method
num_dofs
-----------------------------------------------------------------------------
cpp/dolfinx/fem/ElementDofLayout.cpp:56
↓ 14 callers
Method
ufl_cell
Return the UFL cell type. Note: This method is required for UFL compatibility.
python/dolfinx/mesh.py:397
↓ 14 callers
Method
ufl_domain
Return the ufl domain corresponding to the mesh. Returns: The UFL domain. Is ``None`` if the domain has not been set. No
python/dolfinx/mesh.py:405
↓ 14 callers
Method
write
cpp/dolfinx/io/VTKFile.cpp:763
↓ 13 callers
Function
create_box
Create a box mesh. Args: comm: MPI communicator. points: Coordinates of the 'lower-left' and 'upper-right' corners of
python/dolfinx/mesh.py:1158
↓ 13 callers
Function
jump
Compute the jump of a vector valued function phi across facets.
python/demo/demo_navier-stokes.py:280
↓ 13 callers
Function
local_range
@brief Return local range for the calling process, partitioning the global [0, N - 1] range across all ranks into partitions of almost equal size. @pa
cpp/dolfinx/common/MPI.h:89
↓ 13 callers
Method
num_integrals
@brief Get number of integrals (kernels) for a given integral type and kernel index. For a form containing two integrals of `integral_a` and `integra
cpp/dolfinx/fem/Form.h:440
↓ 13 callers
Function
partitioner
Leave cells on the current rank,.
python/test/unit/mesh/test_mesh.py:598
↓ 13 callers
Method
tabulate_shape
cpp/dolfinx/fem/CoordinateElement.cpp:47
↓ 13 callers
Method
ufl_function_space
UFL function space.
python/dolfinx/fem/function.py:820
↓ 12 callers
Method
block_size
@brief Return the block size.
cpp/dolfinx/la/matmul.h:85
↓ 12 callers
Function
cells
cpp/dolfinx/fem/sparsitybuild.h:37
↓ 12 callers
Method
close
Close the VTX file.
python/dolfinx/io/utils.py:111
↓ 12 callers
Function
derivative_block
Return the UFL derivative of a form or list of forms. This is commonly used to derive a block residual from a functional, or to derive a bloc
python/dolfinx/fem/forms.py:735
↓ 12 callers
Method
elements
The finite elements
cpp/dolfinx/fem/FunctionSpace.h:379
↓ 12 callers
Function
f
(x)
python/test/unit/io/test_vtk.py:96
↓ 12 callers
Function
locate_dofs_geometrical
Locate degrees-of-freedom geometrically using a marker function. Args: V: Function space(s) in which to search for degree-of-freedom
python/dolfinx/fem/bcs.py:27
↓ 12 callers
Method
reference_value_size
cpp/dolfinx/fem/FiniteElement.cpp:318
↓ 11 callers
Function
CHECK_adjacency_list_equal
cpp/test/mesh/generation.cpp:27
↓ 11 callers
Function
compute_midpoints
Compute the midpoints of a set of mesh entities. Args: msh: The mesh. dim: Topological dimension of the mesh entities to consider
python/dolfinx/mesh.py:621
↓ 11 callers
Method
create_cell_partitioner
------------------------------------------------------------------------------
cpp/dolfinx/mesh/utils.cpp:100
↓ 11 callers
Method
domain
@brief Mesh entity indices to integrate over for a given integral (kernel). These are the entities in the mesh returned by ::mesh that are integrated
cpp/dolfinx/fem/Form.h:483
↓ 11 callers
Function
entities_to_geometry
Geometric DOFs associated with the closure of given mesh entities. Args: msh: The mesh. dim: Topological dimension of the entitie
python/dolfinx/mesh.py:1245
↓ 11 callers
Method
eval
Evaluate Function at points x. Args: x: Points with shape (num_points, 3) cells: Array with cell indices, with shape
python/dolfinx/fem/function.py:421
↓ 11 callers
Method
global_to_local
-----------------------------------------------------------------------------
cpp/dolfinx/common/IndexMap.cpp:964
↓ 11 callers
Method
graph
@brief Return the CSR graph as `(column_indices, row_pointers)`.
cpp/dolfinx/la/matmul.h:88
↓ 11 callers
Function
mat_gather
Return a function that gathers a distributed MatrixCSR onto all processes as a scipy CSR matrix (in global column indexing).
python/test/unit/la/conftest.py:21
↓ 11 callers
Function
run_vector_test
Projection into H(div/curl) spaces.
python/test/unit/fem/test_fem_pipeline.py:112
↓ 11 callers
Function
set_bc
Set constraint (Dirchlet boundary condition) values in an vector. For degrees-of-freedoms that are constrained by a Dirichlet boundary condit
python/dolfinx/fem/petsc.py:633
↓ 11 callers
Method
split
Extract (any) sub-functions. A sub-function can be extracted from a discrete function that is in a mixed, vector, or tensor FunctionS
python/dolfinx/fem/function.py:603
↓ 11 callers
Method
value_shape
cpp/dolfinx/fem/FiniteElement.cpp:309
↓ 11 callers
Function
write_dataset
cpp/dolfinx/io/HDF5Interface.h:143
↓ 11 callers
Method
write_meshtags
Write mesh tags to file.
python/dolfinx/io/utils.py:159
↓ 10 callers
Method
cell_types
-----------------------------------------------------------------------------
cpp/dolfinx/mesh/Topology.cpp:825
↓ 10 callers
Method
create_dof_layout
cpp/dolfinx/fem/CoordinateElement.cpp:75
↓ 10 callers
Function
create_vector
Create a PETSc vector from a sequence of maps and blocksizes. Three cases are supported: 1. If ``maps=[(im_0, bs_0), ..., (im_n, bs_n)]`` is
python/dolfinx/la/petsc.py:75
↓ 10 callers
Function
func
(x)
python/test/unit/fem/test_custom_basix_element.py:290
↓ 10 callers
Method
index_map
Index map describing parallel distribution of the dofmap.
python/dolfinx/fem/dofmap.py:57
↓ 10 callers
Method
index_map_bs
Block size of the index map.
python/dolfinx/fem/dofmap.py:62
↓ 10 callers
Function
is_cellwise
cpp/dolfinx/io/vtk_utils.h:171
↓ 10 callers
Method
kernel
@brief Get the kernel function for an integral. @param[in] type Integral type. @param[in] id Integral subdomain ID. @param[in] kernel_idx Index of
cpp/dolfinx/fem/Form.h:384
← previous
next →
101–200 of 2,084, ranked by callers