Build a sparsity pattern from a bilinear form. Args: pattern: The sparsity pattern to add to a: Bilinear form to build a sparsity pattern for. Returns: Sparsity pattern for the form ``a``. Note: The pattern is not finalised, i.e. the caller is responsib
(pattern: SparsityPattern, a: dolfinx.fem.forms.Form)
| 52 | |
| 53 | |
| 54 | def build_sparsity_pattern(pattern: SparsityPattern, a: dolfinx.fem.forms.Form): |
| 55 | """Build a sparsity pattern from a bilinear form. |
| 56 | |
| 57 | Args: |
| 58 | pattern: The sparsity pattern to add to |
| 59 | a: Bilinear form to build a sparsity pattern for. |
| 60 | |
| 61 | Returns: |
| 62 | Sparsity pattern for the form ``a``. |
| 63 | |
| 64 | Note: |
| 65 | The pattern is not finalised, i.e. the caller is responsible for |
| 66 | calling ``assemble`` on the sparsity pattern. |
| 67 | """ |
| 68 | return _build_sparsity_pattern(pattern, a._cpp_object) |
| 69 | |
| 70 | |
| 71 | def create_interpolation_data( |
nothing calls this directly
no outgoing calls
no test coverage detected