MCPcopy Create free account

hub / github.com/FEniCS/dolfinx / functions

Functions2,084 in github.com/FEniCS/dolfinx

↓ 1,654 callersMethodsize
-----------------------------------------------------------------------------
cpp/dolfinx/la/petsc.cpp:435
↓ 1,235 callersMethoddata
Underlying matrix entry data.
python/dolfinx/la/__init__.py:248
↓ 531 callersMethodarray
Local representation of the vector.
python/dolfinx/la/__init__.py:88
↓ 364 callersFunctionfunctionspace
Create a finite element function space. Args: mesh: Mesh that space is defined on. element: Finite element description. Retu
python/dolfinx/fem/function.py:645
↓ 292 callersMethodinterpolate
Interpolate an expression. Args: u0: Callable function, Expression or Function to interpolate. cells0:
python/dolfinx/fem/function.py:496
↓ 243 callersMethodtopology
TODO: Is there any use for this? In many situations one has to get the topology of a const Mesh, which is done by Mesh::topology_mutable. Note that th
cpp/dolfinx/mesh/Mesh.h:69
↓ 241 callersFunctionform
Create a Form or list of Forms. Args: form: A UFL form or iterable of UFL forms. dtype: Scalar type to use for the compiled form.
python/dolfinx/fem/forms.py:329
↓ 235 callersMethodindex_map
Index map for the parallel distribution of the mesh entities. Args: dim: Topological dimension. Returns: Ind
python/dolfinx/mesh.py:235
↓ 223 callersMethodsize
-----------------------------------------------------------------------------
cpp/dolfinx/common/MPI.cpp:72
↓ 185 callersMethodsize_local
-----------------------------------------------------------------------------
cpp/dolfinx/common/IndexMap.cpp:933
↓ 180 callersFunctioncreate_unit_square
Create a mesh of a unit square. Args: comm: MPI communicator. nx: Number of cells in the "x" direction. ny: Number of cel
python/dolfinx/mesh.py:1113
↓ 170 callersMethodinsert
-----------------------------------------------------------------------------
cpp/dolfinx/la/SparsityPattern.cpp:142
↓ 163 callersMethodsub
Return a sub-function (a view into the ``Function``). Sub-functions are indexed ``i = 0, ..., N-1``, where ``N`` is the number of sub
python/dolfinx/fem/function.py:584
↓ 154 callersMethodlinks
@brief Get the links (edges) for given node. @param[in] node Node index. @return Array of outgoing links for the node. The length will be `AdjacencyLi
cpp/dolfinx/graph/AdjacencyList.h:155
↓ 150 callersMethodget
-----------------------------------------------------------------------------
cpp/dolfinx/common/Table.cpp:55
↓ 147 callersFunctiontransform
(x)
python/test/unit/fem/test_interpolate_geometry.py:95
↓ 128 callersMethodnorm
-----------------------------------------------------------------------------
cpp/dolfinx/la/petsc.cpp:578
↓ 127 callersMethodindex_map
-----------------------------------------------------------------------------
cpp/dolfinx/mesh/Topology.cpp:843
↓ 124 callersMethodscatter_reverse
Scatter ghost entries to owner. Args: mode: Control how scattered values are set/accumulated by owner.
python/dolfinx/la/__init__.py:116
↓ 123 callersFunctioncheck_error
(u_ex, uh)
python/test/unit/fem/test_problems.py:57
↓ 120 callersMethodgeometry
Mesh geometry.
python/dolfinx/mesh.py:440
↓ 118 callersFunctioncoord_to_vertex
(x, y, z)
python/test/unit/mesh/test_higher_order_mesh.py:63
↓ 111 callersFunctioncreate_unit_cube
Create a mesh of a unit cube. Args: comm: MPI communicator. nx: Number of cells in "x" direction. ny: Number of cells in
python/dolfinx/mesh.py:1206
↓ 107 callersMethodFunction
@brief Create function on given function space. @param[in] V The function space
cpp/dolfinx/fem/Function.h:57
↓ 101 callersMethodcreate_connectivity
Build entity connectivity ``d0 -> d1``. Args: d0: Dimension of entities connectivity is from. d1: Dimension of entiti
python/dolfinx/mesh.py:173
↓ 97 callersMethodconnectivity
-----------------------------------------------------------------------------
cpp/dolfinx/mesh/Topology.cpp:864
↓ 95 callersMethodnum_nodes
@brief Get the number of nodes. @return The number of nodes in the adjacency list
cpp/dolfinx/graph/AdjacencyList.h:140
↓ 90 callersFunctionassemble_scalar
Assemble functional. The returned value is local and not accumulated across processes. Args: M: The functional to compute. c
python/dolfinx/fem/assemble.py:136
↓ 90 callersMethodbasix_cell
Return the Basix cell type.
python/dolfinx/mesh.py:416
↓ 84 callersMethodlinks
Retrieve the links of a node. Note: This is available only for adjacency lists with no additional link (edge) data.
python/dolfinx/graph.py:75
↓ 83 callersMethodnum_ghosts
-----------------------------------------------------------------------------
cpp/dolfinx/common/IndexMap.cpp:931
↓ 82 callersMethodmesh
@brief Common mesh for the form (the 'integration domain'). @return The integration domain mesh.
cpp/dolfinx/fem/Form.h:362
↓ 79 callersMethoddim
-----------------------------------------------------------------------------
cpp/dolfinx/mesh/Topology.cpp:803
↓ 79 callersMethodx
@brief Underlying vector (const version).
cpp/dolfinx/fem/Function.h:153
↓ 72 callersMethodscatter_forward
Update ghost entries.
python/dolfinx/la/__init__.py:112
↓ 71 callersMethodfunction_space
@brief Access the function space. @return The function space.
cpp/dolfinx/fem/Function.h:147
↓ 68 callersFunctionassemble_matrix
Assemble a bilinear form into a matrix. The following cases are supported: 1. If ``a`` is a single bilinear form, the form is assembled
python/dolfinx/fem/petsc.py:336
↓ 68 callersMethodconnectivity
Return connectivity. Connectivity from entities of dimension ``d0`` to entities of dimension ``d1``. Args: d0: D
python/dolfinx/mesh.py:150
↓ 67 callersMethodform
Update ghost values of solution vector.
python/test/unit/nls/test_newton.py:32
↓ 65 callersMethodMesh
cpp/dolfinx/mesh/Mesh.h:38
↓ 65 callersFunctiondirichletbc
Representation of Dirichlet boundary condition. Args: value: Lifted boundary values function. It must have a ``dtype`` proper
python/dolfinx/fem/bcs.py:176
↓ 65 callersMethodelement
The finite element
cpp/dolfinx/fem/FunctionSpace.h:367
↓ 65 callersMethodtopology_mutable
@brief Get mesh topology if one really needs the mutable version. @return The topology object associated with the mesh.
cpp/dolfinx/mesh/Mesh.h:77
↓ 61 callersFunctionlocate_dofs_topological
Locate degrees-of-freedom belonging to mesh entities topologically. Args: V: Function space(s) in which to search for degree-of-freedom
python/dolfinx/fem/bcs.py:59
↓ 60 callersMethodelement
Function space finite element.
python/dolfinx/fem/function.py:825
↓ 59 callersMethodcomm
-----------------------------------------------------------------------------
cpp/dolfinx/common/IndexMap.cpp:1008
↓ 59 callersMethodcomm
-----------------------------------------------------------------------------
cpp/dolfinx/la/slepc.cpp:202
↓ 56 callersMethoddim
cpp/dolfinx/fem/CoordinateElement.cpp:205
↓ 55 callersMethoddofmaps
@brief Degree-of-freedom map associated with each coordinate map element in the geometry. @return A list of dofmap arrays, each with shape `(num_cells
cpp/dolfinx/mesh/Geometry.h:127
↓ 55 callersMethodvalue
The value of the constant.
python/dolfinx/fem/function.py:73
↓ 55 callersMethodwrite_function
Write a functions to file with a given time.
python/dolfinx/io/utils.py:136
↓ 54 callersMethodset
Set array entries that are constrained by a Dirichlet condition. Entries in ``x`` that are constrained by a Dirichlet boundary condit
python/dolfinx/fem/bcs.py:134
↓ 53 callersMethodget
Get the underlying MPI communicator
python/dolfinx/wrappers/dolfinx_wrappers/MPICommWrapper.h:34
↓ 51 callersFunctionlocate_entities
Compute mesh entities satisfying a geometric marking function. Args: msh: Mesh to locate entities on. dim: Topological dimension
python/dolfinx/mesh.py:635
↓ 50 callersFunctioncreate_mesh
Create a mesh from topology and geometry arrays. Args: comm: MPI communicator to define the mesh on. cells: Cells of the mesh. ``
python/dolfinx/mesh.py:785
↓ 50 callersMethodfunction_spaces
Function spaces on which this form is defined.
python/dolfinx/fem/forms.py:98
↓ 49 callersFunctionas_nbarray
python/dolfinx/wrappers/dolfinx_wrappers/array.h:32
↓ 49 callersMethodwrite_mesh
Write mesh to file for a given time.
python/dolfinx/io/utils.py:132
↓ 48 callersMethodcell_dofs
@brief Local-to-global mapping of dofs on a cell @param[in] c The cell index @return Local-global dof map for the cell (using process-local indices)
cpp/dolfinx/fem/DofMap.h:127
↓ 46 callersMethodcreate_entities
Create entities of given topological dimension. Args: dim: Topological dimension of entities to create. num_threads:
python/dolfinx/mesh.py:182
↓ 43 callersFunctionlocate_entities_boundary
Mesh entities connected to a boundary facet a geometric condition. Compute indices of all mesh entities that are attached to an owned boundar
python/dolfinx/mesh.py:652
↓ 42 callersMethodcreate_connectivity
-----------------------------------------------------------------------------
cpp/dolfinx/mesh/Topology.cpp:983
↓ 41 callersFunctioncreate_cell_partitioner
Create a function to partition a mesh. Args: part: Partition function. mode: Ghosting mode to use. max_facet_to_cell_link
python/dolfinx/mesh.py:92
↓ 41 callersMethodnum_links
@brief Number of connections for given node. @param[in] node Node index. @return The number of outgoing links (edges) from the node.
cpp/dolfinx/graph/AdjacencyList.h:145
↓ 41 callersMethodsolve
Solve non-linear problem into function ``u``. Returns the number of iterations and if the solver converged.
python/dolfinx/nls/petsc.py:65
↓ 40 callersMethodbs
-----------------------------------------------------------------------------
cpp/dolfinx/fem/DofMap.cpp:170
↓ 39 callersMethodform
Function called before the residual or Jacobian is computed. This is usually used to update ghost values. Args: x: The ve
python/dolfinx/fem/petsc.py:1501
↓ 38 callersMethodsize_global
-----------------------------------------------------------------------------
cpp/dolfinx/common/IndexMap.cpp:938
↓ 37 callersMethoddofmap
@brief DofMap for the geometry. @return A 2D array with shape `(num_cells, dofs_per_cell)`. @deprecated Use dofmaps().front() instead.
cpp/dolfinx/mesh/Geometry.h:113
↓ 36 callersFunctionset
cpp/dolfinx/la/petsc.h:144
↓ 35 callersMethodwrite
Write data to file for a given time.
python/dolfinx/io/utils.py:107
↓ 34 callersMethodghosts
-----------------------------------------------------------------------------
cpp/dolfinx/common/IndexMap.cpp:940
↓ 33 callersMethodentity_types
Entity types in the topology for all topological dimensions.
python/dolfinx/mesh.py:206
↓ 33 callersMethodfind
@brief Find all entities with a given tag value @param[in] value The value @return Indices of tagged entities. The indices are sorted.
cpp/dolfinx/mesh/MeshTags.h:86
↓ 32 callersMethodadd_mesh
cpp/dolfinx/io/xdmf_mesh.cpp:217
↓ 32 callersFunctionexterior_facet_indices
Compute the indices of exterior facets that are owned by the caller. An exterior facet (co-dimension 1) is one that is connected globally to
python/dolfinx/mesh.py:1265
↓ 32 callersMethodindex_map_bs
-----------------------------------------------------------------------------
cpp/dolfinx/fem/DofMap.cpp:279
↓ 32 callersMethodspace_dimension
cpp/dolfinx/fem/FiniteElement.cpp:291
↓ 32 callersMethodsquared_norm
Compute the squared Frobenius norm. Note: This operation is collective and requires communication.
python/dolfinx/la/__init__.py:239
↓ 31 callersMethodcopy
Create a copy of the Function. The function space is shared and the degree-of-freedom vector is copied. Returns:
python/dolfinx/fem/function.py:546
↓ 31 callersMethodfinalize
-----------------------------------------------------------------------------
cpp/dolfinx/la/SparsityPattern.cpp:233
↓ 31 callersFunctionmixed_element
Blocked problem using a {py:class}`basix.ufl.mixed_element`.
python/demo/demo_matrix-free-petsc.py:361
↓ 30 callersMethodcmaps
The coordinate maps.
python/dolfinx/mesh.py:296
↓ 29 callersMethodmat
-----------------------------------------------------------------------------
cpp/dolfinx/la/petsc.cpp:563
↓ 27 callersMethodcomm
-----------------------------------------------------------------------------
cpp/dolfinx/io/XDMFFile.cpp:479
↓ 26 callersMethodadd
Add a block of values in the matrix.
python/dolfinx/la/__init__.py:207
↓ 26 callersFunctionapply_lifting
Modify a vector to account for Dirichlet boundary conditions. See :func:`dolfinx.fem.apply_lifting` for a mathematical descriptions of the li
python/dolfinx/fem/petsc.py:517
↓ 26 callersMethodcell_type
-----------------------------------------------------------------------------
cpp/dolfinx/mesh/Topology.cpp:813
↓ 26 callersMethoddofmap
The dofmap
cpp/dolfinx/fem/FunctionSpace.h:386
↓ 26 callersMethodfind
Get a list of all entity indices with a given value. Args: value: Tag value to search for. Returns: Indices
python/dolfinx/mesh.py:499
↓ 26 callersMethodlocal_range
-----------------------------------------------------------------------------
cpp/dolfinx/la/petsc.cpp:453
↓ 26 callersMethodlocate_dofs_topological
-----------------------------------------------------------------------------
cpp/dolfinx/fem/DirichletBC.cpp:199
↓ 25 callersFunctionassemble_vector
Assemble simple linear form over a mesh into the array b.
python/test/unit/fem/test_custom_assembler.py:51
↓ 25 callersFunctionbb_tree
Create a bounding box tree for use in collision detection. Args: mesh: The mesh. dim: Dimension of the mesh entities to build bou
python/dolfinx/geometry.py:117
↓ 25 callersMethodcell_dofs
Cell local-global dof map. Args: cell_index: The cell index. Returns: Local-global dof map for the cell (usi
python/dolfinx/fem/dofmap.py:34
↓ 25 callersMethodcollapse
Create a collapsed version of this Function.
python/dolfinx/fem/function.py:618
↓ 25 callersMethodcontains
Check if a space is contained in, or is the same as, this space. Args: V: The space to check to for inclusion. Returns:
python/dolfinx/fem/function.py:800
↓ 25 callersMethodlocal_to_global
-----------------------------------------------------------------------------
cpp/dolfinx/common/IndexMap.cpp:945
↓ 25 callersMethodtopology
Mesh topology.
python/dolfinx/mesh.py:435
↓ 24 callersMethodblock_size
cpp/dolfinx/fem/FiniteElement.cpp:359
next →1–100 of 2,084, ranked by callers