splinepy.helpme.mapper.Mapper.field_derivatives#
- Mapper.field_derivatives(queries, gradient=False, divergence=False, hessian=False, laplacian=False, basis_function_values=False, nthreads=None)[source]#
Function to retrieve more than one field derivative
More efficient implementation if more than one derivative is required. Can also return basis function values if both are required, e.g., for some assembly. See class documentation for more details.
- Parameters:
queries ((n, para_dim) array-like) – Evaluation points in the parametric domain
gradient (bool) – Evaluate Gradient mapped into the physical domain
divergence (bool) – Evaluate Divergenec of a vector field
hessian (bool) – Evaluate Hessian mapped into the physical domain
laplacian (bool) – Evaluate Laplacian mapped into the physical domain
basis_function_values (bool) – Return basis function derivatives in dictionary
nthreads (int) – Number of threads available for the computation
- Returns:
results – Dictionary with required values stored with same name as function arguments (basis function derivatives as dictionary in dictionary)
- Return type:
dict