/[escript]/trunk/weipa/py_src/__init__.py
ViewVC logotype

Diff of /trunk/weipa/py_src/__init__.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3775 by jfenwick, Wed Jan 18 07:26:34 2012 UTC revision 3892 by jfenwick, Tue Apr 10 08:57:23 2012 UTC
# Line 19  __license__="""Licensed under the Open S Line 19  __license__="""Licensed under the Open S
19  http://www.opensource.org/licenses/osl-3.0.php"""  http://www.opensource.org/licenses/osl-3.0.php"""
20  __url__="https://launchpad.net/escript-finley"  __url__="https://launchpad.net/escript-finley"
21    
22  from weipacpp import visitInitialize, visitPublishData  from .weipacpp import visitInitialize, visitPublishData
23    
24  def interpolateEscriptData(domain, data):  def interpolateEscriptData(domain, data):
25      """      """
# Line 51  def createDataset(domain=None, **data): Line 51  def createDataset(domain=None, **data):
51      Creates and returns an esys.weipa dataset consisting of a Domain and Data      Creates and returns an esys.weipa dataset consisting of a Domain and Data
52      objects. The returned object provides methods to access and export data.      objects. The returned object provides methods to access and export data.
53      """      """
54      from weipacpp import EscriptDataset      from .weipacpp import EscriptDataset
55      dataset=EscriptDataset()      dataset=EscriptDataset()
56      domain,new_data=interpolateEscriptData(domain, data)      domain,new_data=interpolateEscriptData(domain, data)
57      dataset.setDomain(domain)      dataset.setDomain(domain)

Legend:
Removed from v.3775  
changed lines
  Added in v.3892

  ViewVC Help
Powered by ViewVC 1.1.26