pg_utils.eigen.process_matrix_element

pg_utils.eigen.process_matrix_element(element: Any, map_trial: dict, map_test: dict) Any[source]

Process matrix elements to desired form

Parameters:
  • element – original element

  • map_trial (dict) – dictionary to substitute trial functions into the expr

  • map_test (dict) – dictionary to substitute test functions into the expr

Return element:

new element