Create interpolation matrix between spaces on the same mesh. Args: space0: space to interpolate from. space1: space to interpolate into. Returns: Interpolation matrix. Note: The returned matrix is not finalised, i.e. ghost values are not accumul
(space0: FunctionSpace, space1: FunctionSpace)
| 134 | |
| 135 | |
| 136 | def interpolation_matrix(space0: FunctionSpace, space1: FunctionSpace) -> _MatrixCSR: |
| 137 | """Create interpolation matrix between spaces on the same mesh. |
| 138 | |
| 139 | Args: |
| 140 | space0: space to interpolate from. |
| 141 | space1: space to interpolate into. |
| 142 | |
| 143 | Returns: |
| 144 | Interpolation matrix. |
| 145 | |
| 146 | Note: |
| 147 | The returned matrix is not finalised, i.e. ghost values are not |
| 148 | accumulated. |
| 149 | """ |
| 150 | return _MatrixCSR(_interpolation_matrix(space0._cpp_object, space1._cpp_object)) |
| 151 | |
| 152 | |
| 153 | def compute_integration_domains( |
nothing calls this directly
no outgoing calls
no test coverage detected