MCPcopy Create free account
hub / github.com/FEniCS/dolfinx / interpolation_points

Method interpolation_points

python/dolfinx/fem/element.py:227–239  ·  view source on GitHub ↗

Points at which to evaluate the function to be interpolated. Interpolation point coordinates on the reference cell, returning the coordinates data (row-major) storage with shape ``(num_points, tdim)``. Note: For Lagrange elements the points will just be

(self)

Source from the content-addressed store, hash-verified

225
226 @property
227 def interpolation_points(self) -> npt.NDArray[Real]:
228 """Points at which to evaluate the function to be interpolated.
229
230 Interpolation point coordinates on the reference cell, returning
231 the coordinates data (row-major) storage with shape
232 ``(num_points, tdim)``.
233
234 Note:
235 For Lagrange elements the points will just be the nodal
236 positions. For other elements the points will typically be the
237 quadrature points used to evaluate moment degrees of freedom.
238 """
239 return self._cpp_object.interpolation_points()
240
241 @property
242 def interpolation_ident(self) -> bool:

Callers 1

declare_function_spaceFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected