/[escript]
ViewVC logotype

Revision 871


Jump to revision: Previous Next
Author: elspeth
Date: Sat Oct 14 08:25:54 2006 UTC (12 years, 6 months ago)
Changed paths: 2
Log Message:
Numarray support added to modelframe and tests for numarray added to run_xml.
Numarrays will look like this in ESysXML:

A 2 x 3 numarray will look like this:

<Parameter type="NumArray">
                        <Name>
                                numtest
                        </Name>
                        <Value>
                                <ArrayType>
                                        Float64
                                </ArrayType>
                                <Shape>
                                        2 3
                                </Shape>
                                <Data>
                                        1.0 2.0 3.0 3.0 4.0 5.0
                                </Data>
                        </Value>
                </Parameter>

A numarray vector will look like this:

<Parameter type="NumArray">
                        <Name>
                                numtest
                        </Name>
                        <Value>
                                <ArrayType>
                                        Float64
                                </ArrayType>
                                <Shape>
                                        3
                                </Shape>
                                <Data>
                                        3.0 4.0 5.0
                                </Data>
                        </Value>
                </Parameter>




Changed paths

Path Details
Directorytrunk/escript/py_src/modelframe.py modified , text changed
Directorytrunk/escript/test/python/run_xml.py modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.26