How to use the libceed.Basis.get_num_quadrature_points function in libceed

To help you get started, we’ve selected a few libceed examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github CEED / libCEED / tests / python / test-3-ceed-basis.py View on Github external
def test_306(ceed_resource):
  ceed = libceed.Ceed(ceed_resource)

  b = ceed.BasisTensorH1Lagrange( 3, 1, 4, 5, libceed.GAUSS_LOBATTO)

  p = libceed.Basis.get_num_nodes(b)
  q = libceed.Basis.get_num_quadrature_points(b)

  assert p == 64
  assert q == 125