Пример #1
0
 def _eval(iels, coors):
     val = eval_in_els_and_qp(expression, ig, iels, coors,
                              fields, materials, variables,
                              functions=functions, mode=mode,
                              term_mode=term_mode,
                              extra_args=extra_args, verbose=verbose,
                              kwargs=kwargs)
     return val[..., 0]
Пример #2
0
 def _eval(iels, coors):
     val = eval_in_els_and_qp(expression, iels, coors,
                              fields, materials, variables,
                              functions=functions, mode=mode,
                              term_mode=term_mode,
                              extra_args=extra_args, verbose=verbose,
                              kwargs=kwargs)
     return val[..., 0]