~esys/escript-finley/trunk

Viewing all changes in revision 5478.

  • Committer: aellery
  • Date: 2019-08-06 07:31:34 UTC
  • Revision ID: svn-v4:77569008-7704-0410-b7a0-a92fef0b09fd:trunk:6872

I have added a new function named getNumpyX which works the same as getX except that it returns a numpy ndarray instead of a Data object.

Example use:

import numpy
from esys.finley import Rectangle
domain=Rectangle(n0=10,n1=10)
numpyCoordinates=domain.getNumpyX()

I have also updated the userguide. I'm adding in some tests for this in the next commit.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: