MCPcopy Create free account

hub / github.com/FEniCS/dolfinx / functions

Functions2,084 in github.com/FEniCS/dolfinx

↓ 24 callersMethodcreate_entity_permutations
-----------------------------------------------------------------------------
cpp/dolfinx/mesh/Topology.cpp:1024
↓ 24 callersFunctioncreate_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 callersMethodmesh
Mesh on which this form is defined.
python/dolfinx/fem/forms.py:108
↓ 23 callersFunctioncoordinate_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 callersFunctioncreate_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 callersMethodget_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 callersFunctionmeshtags
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 callersMethodowners
@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 callersMethodsrc
-----------------------------------------------------------------------------
cpp/dolfinx/common/IndexMap.cpp:1312
↓ 22 callersFunctionvec_pop
----------------------------------------------------------------------------
cpp/dolfinx/io/cells.cpp:23
↓ 21 callersFunctionassemble_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 callersMethodcomm
-----------------------------------------------------------------------------
cpp/dolfinx/common/MPI.cpp:62
↓ 21 callersMethoddofmap
Degree-of-freedom map associated with the function space.
python/dolfinx/fem/function.py:830
↓ 21 callersFunctionextract_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 callersFunctionget_mesh
(cell_type, datadir)
python/test/unit/fem/test_fem_pipeline.py:458
↓ 21 callersMethodoffsets
Offsets for each node in the :func:`array`. Returns: Array of indices with shape `(num_nodes+1)`.
python/dolfinx/graph.py:104
↓ 21 callersMethodtabulate
cpp/dolfinx/fem/FiniteElement.cpp:365
↓ 21 callersMethodvector
Create a PETSc vector for the problem.
python/test/unit/nls/test_newton.py:65
↓ 20 callersFunctioncreate_mesh
cpp/dolfinx/mesh/utils.h:1046
↓ 20 callersMethoddest
-----------------------------------------------------------------------------
cpp/dolfinx/common/IndexMap.cpp:1314
↓ 20 callersFunctiondifference_of_products
cpp/dolfinx/common/math.h:36
↓ 20 callersFunctionpack_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 callersMethodto_dense
Copy to a dense 2D array. Note: Typically used for debugging.
python/dolfinx/la/__init__.py:262
↓ 19 callersMethodConstant
@brief Create a rank-0 (scalar-valued) constant. @param[in] c Value of the constant.
cpp/dolfinx/fem/Constant.h:29
↓ 19 callersMethodcreate_entities
-----------------------------------------------------------------------------
cpp/dolfinx/mesh/Topology.cpp:926
↓ 19 callersMethodindex_map
Get IndexMap
cpp/dolfinx/la/Vector.h:379
↓ 19 callersMethodmap
-----------------------------------------------------------------------------
cpp/dolfinx/fem/DofMap.cpp:273
↓ 18 callersFunctioncell_dim
Return topological dimension of cell type
cpp/dolfinx/mesh/cell_types.h:44
↓ 18 callersFunctioncheck_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 callersFunctioncreate_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 callersMethodeval
Evaluate Expression on entities. Args: mesh: Mesh to evaluate Expression on. entities: Entities to evaluate the Expre
python/dolfinx/fem/function.py:234
↓ 18 callersMethodneeds_dof_transformations
cpp/dolfinx/fem/FiniteElement.cpp:539
↓ 18 callersFunctionpack_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 callersMethodset_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 callersMethodExpression
@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 callersMethodindex_maps
-----------------------------------------------------------------------------
cpp/dolfinx/mesh/Topology.cpp:830
↓ 17 callersMethodto_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 callersFunctionradix_sort
cpp/dolfinx/common/sort.h:78
↓ 16 callersMethodscatter_rev
cpp/dolfinx/la/Vector.h:372
↓ 16 callersMethodstr
-----------------------------------------------------------------------------
cpp/dolfinx/common/Table.cpp:200
↓ 16 callersMethodvalues
Values attached to topology entities
cpp/dolfinx/mesh/MeshTags.h:104
↓ 16 callersFunctionvector
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 callersFunctioncell_entity_type
Return type of cell for entity of dimension d at given entity index.
cpp/dolfinx/mesh/cell_types.h:110
↓ 15 callersMethoddomain_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 callersFunctiondot3
cpp/dolfinx/geometry/gjk.h:62
↓ 15 callersMethodinterpolate
@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 callersFunctionpy_to_cpp_coeffs
python/dolfinx/wrappers/dolfinx_wrappers/pycoeff.h:18
↓ 15 callersMethodstop
cpp/dolfinx/common/Timer.h:92
↓ 15 callersMethodvalue
Return boundary value function g @return The boundary values Function
cpp/dolfinx/fem/DirichletBC.h:452
↓ 15 callersMethodvalue_size
cpp/dolfinx/fem/FiniteElement.cpp:297
↓ 14 callersFunctionbcs_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 callersMethodclear
-----------------------------------------------------------------------------
cpp/dolfinx/la/petsc.cpp:379
↓ 14 callersFunctioncompute_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 callersFunctioncreate_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 callersMethoddim
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 callersMethodindex_maps
Index maps for parallel distribution of the mesh entities. Args: dim: Topological dimension of the entities. Returns:
python/dolfinx/mesh.py:246
↓ 14 callersFunctioninterpolate
cpp/dolfinx/fem/interpolate.h:1097
↓ 14 callersFunctionmat_random
Return a function that creates a random (dense) MatrixCSR for testing.
python/test/unit/la/conftest.py:46
↓ 14 callersMethodnum_dofs
-----------------------------------------------------------------------------
cpp/dolfinx/fem/ElementDofLayout.cpp:56
↓ 14 callersMethodufl_cell
Return the UFL cell type. Note: This method is required for UFL compatibility.
python/dolfinx/mesh.py:397
↓ 14 callersMethodufl_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 callersMethodwrite
cpp/dolfinx/io/VTKFile.cpp:763
↓ 13 callersFunctioncreate_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 callersFunctionjump
Compute the jump of a vector valued function phi across facets.
python/demo/demo_navier-stokes.py:280
↓ 13 callersFunctionlocal_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 callersMethodnum_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 callersFunctionpartitioner
Leave cells on the current rank,.
python/test/unit/mesh/test_mesh.py:598
↓ 13 callersMethodtabulate_shape
cpp/dolfinx/fem/CoordinateElement.cpp:47
↓ 13 callersMethodufl_function_space
UFL function space.
python/dolfinx/fem/function.py:820
↓ 12 callersMethodblock_size
@brief Return the block size.
cpp/dolfinx/la/matmul.h:85
↓ 12 callersFunctioncells
cpp/dolfinx/fem/sparsitybuild.h:37
↓ 12 callersMethodclose
Close the VTX file.
python/dolfinx/io/utils.py:111
↓ 12 callersFunctionderivative_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 callersMethodelements
The finite elements
cpp/dolfinx/fem/FunctionSpace.h:379
↓ 12 callersFunctionf
(x)
python/test/unit/io/test_vtk.py:96
↓ 12 callersFunctionlocate_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 callersMethodreference_value_size
cpp/dolfinx/fem/FiniteElement.cpp:318
↓ 11 callersFunctionCHECK_adjacency_list_equal
cpp/test/mesh/generation.cpp:27
↓ 11 callersFunctioncompute_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 callersMethodcreate_cell_partitioner
------------------------------------------------------------------------------
cpp/dolfinx/mesh/utils.cpp:100
↓ 11 callersMethoddomain
@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 callersFunctionentities_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 callersMethodeval
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 callersMethodglobal_to_local
-----------------------------------------------------------------------------
cpp/dolfinx/common/IndexMap.cpp:964
↓ 11 callersMethodgraph
@brief Return the CSR graph as `(column_indices, row_pointers)`.
cpp/dolfinx/la/matmul.h:88
↓ 11 callersFunctionmat_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 callersFunctionrun_vector_test
Projection into H(div/curl) spaces.
python/test/unit/fem/test_fem_pipeline.py:112
↓ 11 callersFunctionset_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 callersMethodsplit
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 callersMethodvalue_shape
cpp/dolfinx/fem/FiniteElement.cpp:309
↓ 11 callersFunctionwrite_dataset
cpp/dolfinx/io/HDF5Interface.h:143
↓ 11 callersMethodwrite_meshtags
Write mesh tags to file.
python/dolfinx/io/utils.py:159
↓ 10 callersMethodcell_types
-----------------------------------------------------------------------------
cpp/dolfinx/mesh/Topology.cpp:825
↓ 10 callersMethodcreate_dof_layout
cpp/dolfinx/fem/CoordinateElement.cpp:75
↓ 10 callersFunctioncreate_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 callersFunctionfunc
(x)
python/test/unit/fem/test_custom_basix_element.py:290
↓ 10 callersMethodindex_map
Index map describing parallel distribution of the dofmap.
python/dolfinx/fem/dofmap.py:57
↓ 10 callersMethodindex_map_bs
Block size of the index map.
python/dolfinx/fem/dofmap.py:62
↓ 10 callersFunctionis_cellwise
cpp/dolfinx/io/vtk_utils.h:171
↓ 10 callersMethodkernel
@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
← previousnext →101–200 of 2,084, ranked by callers