48 lines
1.7 KiB
XML
48 lines
1.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
|
|
<PythonExport
|
|
Father="BaseClassPy"
|
|
Name="Array2DPy"
|
|
Twin="Material2DArray"
|
|
TwinPointer="Material2DArray"
|
|
Include="Mod/Material/App/MaterialValue.h"
|
|
Namespace="Materials"
|
|
FatherInclude="Base/BaseClassPy.h"
|
|
FatherNamespace="Base"
|
|
Constructor="true"
|
|
Delete="true">
|
|
<Documentation>
|
|
<Author Licence="LGPL" Name="DavidCarter" EMail="dcarter@davidcarter.ca" />
|
|
<UserDocu>2D Array of material properties.</UserDocu>
|
|
</Documentation>
|
|
<Attribute Name="Array" ReadOnly="true">
|
|
<Documentation>
|
|
<UserDocu>The 2 dimensional array.</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="Array" Type="List"/>
|
|
</Attribute>
|
|
<Attribute Name="Rows" ReadOnly="true">
|
|
<Documentation>
|
|
<UserDocu>The number of rows in the array.</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="Rows" Type="Long"/>
|
|
</Attribute>
|
|
<Attribute Name="Columns" ReadOnly="true">
|
|
<Documentation>
|
|
<UserDocu>The number of columns in the array.</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="Columns" Type="Long"/>
|
|
</Attribute>
|
|
<Methode Name="getRow" ReadOnly="true">
|
|
<Documentation>
|
|
<UserDocu>Get the row given the first column value</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="getValue" ReadOnly="true">
|
|
<Documentation>
|
|
<UserDocu>Get the value at the given row and column</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
</PythonExport>
|
|
</GenerateModel>
|