Commit 0468c580 authored by John Tourtellott's avatar John Tourtellott

Merge branch 'replace-crf-files2' into 'master'

Replace crf files2

See merge request cmb/simulation-workflows!66
parents 1580c9de 961bc97b
<?xml version="1.0"?>
<cmb-resources>
<attribute id="simbuilder" role="template">
<include href="internal/AdHShallowWater.sbt" />
</attribute>
<!-- Template for Shallow Water Export Dialog -->
<attribute id="export" role="template">
<SMTK_AttributeSystem Version="2">
<Definitions>
<AttDef Type="ExportSpec" BaseType="" Version="0" Unique="true">
<AssociationsDef Name="model" Label="Model" Version="0" NumberOfRequiredValues="1">
<MembershipMask>model</MembershipMask>
</AssociationsDef>
<ItemDefinitions>
<Directory Name="OutputDirectory" Label="Output Directory" Version="1" NumberOfRequiredValues="1" />
<String Name="FileBase" Label="FileName Base" Version="1" NumberOfRequiredValues="1">
<BriefDescription>Common base name for output files (.2dm, .bc)</BriefDescription>
<DefaultValue>shallowwater</DefaultValue>
</String>
<!-- Advanced attributes -->
<String Name="AnalysisTypes" Label="Analysis Types" AdvanceLevel="99" Version="0"
Extensible="true" NumberOfRequiredValues="1"/>
<MeshEntity Name="mesh" Label="Mesh" Version="0" NumberOfRequiredValues="1" />
<File Name="PythonScript" Label="Python script" AdvanceLevel="0" Version="0" NumberOfRequiredValues="1"
ShouldExist="true" FileFilters="Python files (*.py);;All files (*.*)">
<DefaultValue>AdHShallowWater.py</DefaultValue>
</File>
<!-- Hide Extrusion executable option until new ERDC code in place -->
<File Name="ExtrusionExecutable" Label="adh_2d_3d Executable" Version="0" NumberOfRequiredValues="1"
AdvanceLevel="99" ShouldExist="true"
Optional="true" IsEnabledByDefault="false"
FileFilters="All files (*.*)">
<DefaultValue>adh_2d_3d</DefaultValue>
</File>
</ItemDefinitions>
</AttDef>
</Definitions>
<Views>
<View Type="Instanced" Title="ExportSpec" TopLevel="true"
FilterByCategory="false">
<InstancedAttributes>
<Att Name="Export Specification" Type="ExportSpec">Options</Att>
</InstancedAttributes>
</View>
</Views>
</SMTK_AttributeSystem>
</attribute>
</cmb-resources>
......@@ -2,7 +2,7 @@
<SMTK_AttributeManager Version="1">
<Includes>
<!-- Uses same definitions as surface water -->
<File>AdHSurfaceWaterDefinitions.sbt</File>
<File>internal/AdHSurfaceWaterDefinitions.sbt</File>
</Includes>
<!-- Adds extrusion meshing attribute -->
......
<?xml version="1.0"?>
<cmb-resources>
<!-- Include baseline template by reference -->
<attribute id="simbuilder" role="template">
<include href="internal/AdHSurfaceWater.sbt" />
</attribute>
<!-- Template for Export Dialog -->
<attribute id="export" role="template">
<SMTK_AttributeSystem Version="2">
<Definitions>
<AttDef Type="ExportSpec" BaseType="" Version="0" Unique="true">
<AssociationsDef Name="model" Label="Model" Version="0" NumberOfRequiredValues="1">
<MembershipMask>model</MembershipMask>
</AssociationsDef>
<ItemDefinitions>
<String Name="AnalysisTypes" Label="Analysis Types" AdvanceLevel="99" Version="0"
Extensible="true" NumberOfRequiredValues="1"/>
<MeshEntity Name="mesh" Label="Mesh" Version="0" NumberOfRequiredValues="1" />
<Directory Name="OutputDirectory" Label="Output Directory" Version="1" NumberOfRequiredValues="1" />
<String Name="FileBase" Label="FileName Base" Version="1" NumberOfRequiredValues="1">
<BriefDescription>Common base name for output files (.2dm, .bc)</BriefDescription>
<DefaultValue>surfacewater</DefaultValue>
</String>
<File Name="PythonScript" Label="Python script" AdvanceLevel="0" Version="0" NumberOfRequiredValues="1"
ShouldExist="true" FileFilters="Python files (*.py);;All files (*.*)">
<DefaultValue>AdHSurfaceWater.py</DefaultValue>
</File>
</ItemDefinitions>
</AttDef>
</Definitions>
<Attributes />
<Views>
<View Type="Instanced" Title="ExportSpec" TopLevel="true"
FilterByAdvanceLevel="false" FilterByCategory="false">
<InstancedAttributes>
<Att Name="Export Specification" Type="ExportSpec">Options</Att>
</InstancedAttributes>
</View>
</Views>
</SMTK_AttributeSystem>
</attribute>
</cmb-resources>
<?xml version="1.0"?>
<SMTK_AttributeManager Version="1">
<Includes>
<File>AdHSurfaceWaterDefinitions.sbt</File>
<File>AdHSurfaceWaterViews.sbt</File>
<File>internal/AdHSurfaceWaterDefinitions.sbt</File>
<File>internal/AdHSurfaceWaterViews.sbt</File>
</Includes>
</SMTK_AttributeManager>
<SMTK_AttributeSystem Version="2">
<Definitions>
<AttDef Type="ExportSpec" BaseType="" Version="0" Unique="true">
<AssociationsDef Name="model" Label="Model" Version="0" NumberOfRequiredValues="1">
<MembershipMask>model</MembershipMask>
</AssociationsDef>
<ItemDefinitions>
<Directory Name="OutputDirectory" Label="Output Directory" Version="1" NumberOfRequiredValues="1" />
<String Name="FileBase" Label="FileName Base" Version="1" NumberOfRequiredValues="1">
<BriefDescription>Common base name for output files (.2dm, .bc)</BriefDescription>
<DefaultValue>shallowwater</DefaultValue>
</String>
<!-- Advanced attributes -->
<String Name="AnalysisTypes" Label="Analysis Types" AdvanceLevel="99" Version="0"
Extensible="true" NumberOfRequiredValues="1"/>
<MeshEntity Name="mesh" Label="Mesh" Version="0" NumberOfRequiredValues="1" />
<File Name="PythonScript" Label="Python script" AdvanceLevel="0" Version="0" NumberOfRequiredValues="1"
ShouldExist="true" FileFilters="Python files (*.py);;All files (*.*)">
<DefaultValue>AdHShallowWater.py</DefaultValue>
</File>
<!-- Hide Extrusion executable option until new ERDC code in place -->
<File Name="ExtrusionExecutable" Label="adh_2d_3d Executable" Version="0" NumberOfRequiredValues="1"
AdvanceLevel="99" ShouldExist="true"
Optional="true" IsEnabledByDefault="false"
FileFilters="All files (*.*)">
<DefaultValue>adh_2d_3d</DefaultValue>
</File>
</ItemDefinitions>
</AttDef>
</Definitions>
<Views>
<View Type="Instanced" Title="ExportSpec" TopLevel="true"
FilterByCategory="false">
<InstancedAttributes>
<Att Name="Export Specification" Type="ExportSpec">Options</Att>
</InstancedAttributes>
</View>
</Views>
</SMTK_AttributeSystem>
<SMTK_AttributeSystem Version="2">
<Definitions>
<AttDef Type="ExportSpec" BaseType="" Version="0" Unique="true">
<AssociationsDef Name="model" Label="Model" Version="0" NumberOfRequiredValues="1">
<MembershipMask>model</MembershipMask>
</AssociationsDef>
<ItemDefinitions>
<String Name="AnalysisTypes" Label="Analysis Types" AdvanceLevel="99" Version="0"
Extensible="true" NumberOfRequiredValues="1"/>
<MeshEntity Name="mesh" Label="Mesh" Version="0" NumberOfRequiredValues="1" />
<Directory Name="OutputDirectory" Label="Output Directory" Version="1" NumberOfRequiredValues="1" />
<String Name="FileBase" Label="FileName Base" Version="1" NumberOfRequiredValues="1">
<BriefDescription>Common base name for output files (.2dm, .bc)</BriefDescription>
<DefaultValue>surfacewater</DefaultValue>
</String>
<File Name="PythonScript" Label="Python script" AdvanceLevel="0" Version="0" NumberOfRequiredValues="1"
ShouldExist="true" FileFilters="Python files (*.py);;All files (*.*)">
<DefaultValue>AdHSurfaceWater.py</DefaultValue>
</File>
</ItemDefinitions>
</AttDef>
</Definitions>
<Attributes />
<Views>
<View Type="Instanced" Title="ExportSpec" TopLevel="true"
FilterByAdvanceLevel="false" FilterByCategory="false">
<InstancedAttributes>
<Att Name="Export Specification" Type="ExportSpec">Options</Att>
</InstancedAttributes>
</View>
</Views>
</SMTK_AttributeSystem>
<SMTK_AttributeManager Version="1">
<Definitions>
<AttDef Type="ExportSpec" BaseType="" Version="0" Unique="true">
<ItemDefinitions>
<File Name="OutputFile" Label="Output file" Version="0" NumberOfRequiredValues="1"
FileFilters="EMS files (*.ems);;All files (*.*)" />
<File Name="PythonScript" Label="Python script" Version="0" NumberOfRequiredValues="1"
AdvanceLevel="1" ShouldExist="true"
FileFilters="Python files (*.py);;All files (*.*)">
<DefaultValue>EMS.py</DefaultValue>
</File>
</ItemDefinitions>
</AttDef>
</Definitions>
<Attributes />
<RootView Title="Export">
<DefaultColor>1., 1., 0.5, 1.</DefaultColor>
<InvalidColor>1, 0.5, 0.5, 1</InvalidColor>
<AdvancedFontEffects Bold="0" Italic="0" />
<InstancedView Title="ExportSpec">
<InstancedAttributes>
<Att Type="ExportSpec">Options</Att>
</InstancedAttributes>
</InstancedView>
</RootView>
</SMTK_AttributeManager>
<?xml version="1.0"?>
<cmb-resources>
<attribute id="simbuilder" role="template">
<SMTK_AttributeManager Version="1">
<!--********** Category and Analysis Infomation ***********-->
<Categories Default="General"/>
<Analyses>
<Analysis Type="EMS" Default="General"/>
</Analyses>
<!--********** Attribute Definitions ***********-->
<Definitions>
<AttDef Type="Globals" BaseType="" Abstract="0" Version="0" Unique="false" Associations="">
<ItemDefinitions>
<!--*** Solvers Definitions ***-->
<Group Name="Solvers" Label="Solvers" NumberOfRequiredGroups="1">
<ItemDefinitions>
<Double Name="et_leak_rate" Label="et leak rate" Version="0" NumberOfRequiredValues="1">
<Categories>
<Cat>General</Cat>
</Categories>
</Double>
<Int Name="total_weeks" Label="Total weeks" Version="0" NumberOfRequiredValues="1">
<RangeInfo>
<Min Inclusive="false">0</Min>
</RangeInfo>
</Int>
</ItemDefinitions>
</Group>
<!--*** Output Definitions ***-->
<Group Name="Output" Label="Output" NumberOfRequiredGroups="1">
<ItemDefinitions>
<String Name="file" Label="File" Version="0" AdvanceLevel="0" NumberOfRequiredValues="1"/>
<String Name="type" Label="Type" Version="0" AdvanceLevel="0" NumberOfRequiredValues="1">
<DiscreteInfo DefaultIndex="0">
<Value Enum="HDF">HDF</Value>
<Value Enum="XML">XML</Value>
</DiscreteInfo>
</String>
</ItemDefinitions>
</Group>
<!--*** Weather Definitions ***-->
<Group Name="Weather" Label="Weather" NumberOfRequiredGroups="1">
<ItemDefinitions>
<String Name="file" Label="File" Version="0" AdvanceLevel="0" NumberOfRequiredValues="1"/>
<Double Name="rain_absorption_rate" Label="Rain absorption rate" Version="0" NumberOfRequiredValues="1"/>
<Double Name="rain_adjust" Label="Rain adjust" Version="0" NumberOfRequiredValues="1"/>
</ItemDefinitions>
</Group>
</ItemDefinitions>
</AttDef>
<!--********** Agent Definitions (i.e. the living stuff) ***********-->
<AttDef Type="Agents" Label="Agents" BaseType="" Abstract="0" Version="0" Unique="false" Associations="">
<ItemDefinitions>
<!--********** Salamander Definition ***********-->
<Group Name="Salamanders" Label="Salamanders" NumberOfRequiredGroups="1">
<ItemDefinitions>
<Double Name="yearly_survival_rate" Label="Yearly survival rate" Version="0" NumberOfRequiredValues="1">
<RangeInfo>
<Min Inclusive="true">0</Min>
<Max Inclusive="true">1</Max>
</RangeInfo>
</Double>
<Int Name="max_per_pond" Label="Maximum per pond" Version="0" NumberOfRequiredValues="1">
<RangeInfo>
<Min Inclusive="true">0</Min>
</RangeInfo>
</Int>
<Int Name="max_age" Label="Maximum age" Version="0" NumberOfRequiredValues="1">
<RangeInfo>
<Min Inclusive="true">0</Min>
</RangeInfo>
</Int>
<Int Name="initial_per_pond" Label="Initial amount per pond" Version="0" NumberOfRequiredValues="1">
<RangeInfo>
<Min Inclusive="true">0</Min>
</RangeInfo>
</Int>
<Int Name="random_number_seed" Label="Random Number Seed" Version="0" AdvanceLevel="1" Optional="true" NumberOfRequiredValues="1">
<DefaultValue>42</DefaultValue>
</Int>
</ItemDefinitions>
</Group>
<!--********** Eggs Definition ***********-->
<Group Name="Eggs" Label="Eggs" NumberOfRequiredGroups="1">
<ItemDefinitions>
<Double Name="hatch_rate" Label="Hatch rate" Version="0" NumberOfRequiredValues="1">
<RangeInfo>
<Min Inclusive="true">0</Min>
<Max Inclusive="true">1</Max>
</RangeInfo>
</Double>
</ItemDefinitions>
</Group>
<!--********** Larvae Definition ***********-->
<Group Name="Larvae" Label="Larvae" NumberOfRequiredGroups="1">
<ItemDefinitions>
<Double Name="survival_rate" Label="Survival rate" Version="0" NumberOfRequiredValues="1">
<RangeInfo>
<Min Inclusive="true">0</Min>
<Max Inclusive="true">1</Max>
</RangeInfo>
</Double>
</ItemDefinitions>
</Group>
</ItemDefinitions>
</AttDef>
<AttDef Type="Pond" Label="Pond" BaseType="" Version="0" Unique="true" Associations="gf">
<ItemDefinitions>
<Double Name="watershed_m" Label="Watershed" Version="0" NumberOfRequiredValues="1" Units="meters">
<RangeInfo>
<Min Inclusive="true">0</Min>
</RangeInfo>
</Double>
<Double Name="max_depth" Label="Maximum depth" Version="0" NumberOfRequiredValues="1" Units="meters">
<RangeInfo>
<Min Inclusive="true">0</Min>
</RangeInfo>
</Double>
</ItemDefinitions>
</AttDef>
</Definitions>
<!--********** Attribute Instances ***********-->
<Attributes>
</Attributes>
<!--********** Workflow Views ***********-->
<RootView Title="SimBuilder">
<DefaultColor>1., 1., 0.5, 1.</DefaultColor>
<InvalidColor>1, 0.5, 0.5, 1</InvalidColor>
<InstancedView Title="Globals">
<InstancedAttributes>
<Att Type="Globals">Globals</Att>
</InstancedAttributes>
</InstancedView>
<InstancedView Title="Agents">
<InstancedAttributes>
<Att Type="Agents">Agents</Att>
</InstancedAttributes>
</InstancedView>
<AttributeView Title="Ponds" ModelEntityFilter="gf" CreateEntities="true">
<AttributeTypes>
<Type>Pond</Type>
</AttributeTypes>
</AttributeView>
<ModelEntityView Title="Domains" ModelEntityFilter="gf" Definition="Pond" />
</RootView>
</SMTK_AttributeManager>
</attribute>
<!-- Template for Export Dialog -->
<attribute id="export" role="template">
<SMTK_AttributeManager Version="1">
<Definitions>
<AttDef Type="ExportSpec" BaseType="" Version="0" Unique="true">
<ItemDefinitions>
<File Name="OutputFile" Label="Output file" Version="0" NumberOfRequiredValues="1"
FileFilters="EMS files (*.ems);;All files (*.*)" />
<File Name="PythonScript" Label="Python script" Version="0" NumberOfRequiredValues="1"
AdvanceLevel="1" ShouldExist="true"
FileFilters="Python files (*.py);;All files (*.*)">
<DefaultValue>EMS.py</DefaultValue>
</File>
</ItemDefinitions>
</AttDef>
</Definitions>
<Attributes />
<RootView Title="Export">
<DefaultColor>1., 1., 0.5, 1.</DefaultColor>
<InvalidColor>1, 0.5, 0.5, 1</InvalidColor>
<AdvancedFontEffects Bold="0" Italic="0" />
<InstancedView Title="ExportSpec">
<InstancedAttributes>
<Att Type="ExportSpec">Options</Att>
</InstancedAttributes>
</InstancedView>
</RootView>
</SMTK_AttributeManager>
</attribute>
</cmb-resources>
<SMTK_AttributeSystem Version="2">
<Definitions>
<AttDef Type="ExportSpec" Lavel="Simulation" BaseType="" Version="0">
<ItemDefinitions>
<String Name="AnalysisTypes" Label="Analysis Types" Version="0" AdvanceLevel="99" NumberOfRequiredValues="1" Extensible="true" />
<File Name="PythonScript" Label="Python script" Version="0" AdvanceLevel="0" NumberOfRequiredValues="1"
ShouldExist="true" FileFilters="Python files (*.py);;All files (*.*)">
<DefaultValue>GSSHA.py</DefaultValue>
</File>
<String Name="ProjectName" Label="Project Name" Version="0">
<BriefDescription>Name (prefix) to use for all GSSHA files</BriefDescription>
</String>
<Directory Name="ProjectPath" Label="Project Path"
Version="0" NumberOfRequiredValues="1" ShouldExist="false">
<BriefDescription>Filesystem folder for all GSSHA files</BriefDescription>
</Directory>
</ItemDefinitions>
</AttDef>
</Definitions>
<Views>
<View Type="Group" Title="Export" TopLevel="true">
<Views>
<View Title="ExportSpec" />
</Views>
</View>
<View Type="Instanced" Title="ExportSpec">
<InstancedAttributes>
<Att Name="Options" Type="ExportSpec" />
</InstancedAttributes>
</View>
</Views>
</SMTK_AttributeSystem>
<?xml version="1.0"?>
<cmb-resources>
<!-- Simulation Attributes -->
<attribute id="simbuilder" role="template">
<SMTK_AttributeSystem Version="2">
<Includes>
<File>gssha-simbuilder.sbt</File>
</Includes>
</SMTK_AttributeSystem>
</attribute>
<!-- Export Attributes -->
<attribute id="export" role="template">
<SMTK_AttributeSystem Version="2">
<Definitions>
<AttDef Type="ExportSpec" Lavel="Simulation" BaseType="" Version="0">
<ItemDefinitions>
<String Name="AnalysisTypes" Label="Analysis Types" Version="0" AdvanceLevel="99" NumberOfRequiredValues="1" Extensible="true" />
<File Name="PythonScript" Label="Python script" Version="0" AdvanceLevel="0" NumberOfRequiredValues="1"
ShouldExist="true" FileFilters="Python files (*.py);;All files (*.*)">
<DefaultValue>GSSHA.py</DefaultValue>
</File>
<String Name="ProjectName" Label="Project Name" Version="0">
<BriefDescription>Name (prefix) to use for all GSSHA files</BriefDescription>
</String>
<Directory Name="ProjectPath" Label="Project Path"
Version="0" NumberOfRequiredValues="1" ShouldExist="false">
<BriefDescription>Filesystem folder for all GSSHA files</BriefDescription>
</Directory>
</ItemDefinitions>
</AttDef>
</Definitions>
<Views>
<View Type="Group" Title="Export" TopLevel="true">
<Views>
<View Title="ExportSpec" />
</Views>
</View>
<View Type="Instanced" Title="ExportSpec">
<InstancedAttributes>
<Att Name="Options" Type="ExportSpec" />
</InstancedAttributes>
</View>
</Views>
</SMTK_AttributeSystem>
</attribute>
</cmb-resources>
......@@ -5,13 +5,13 @@
<!-- Attribute definitions -->
<Includes>
<File>templates/grid-2d.sbt</File>
<File>templates/velocity-2d.sbt</File>
<File>templates/solver.sbt</File>
<File>templates/parameters.sbt</File>
<File>templates/output.sbt</File>
<File>templates/controls.sbt</File>
<File>templates/toplevel.sbt</File>
<File>internal/templates/grid-2d.sbt</File>
<File>internal/templates/velocity-2d.sbt</File>
<File>internal/templates/solver.sbt</File>
<File>internal/templates/parameters.sbt</File>
<File>internal/templates/output.sbt</File>
<File>internal/templates/controls.sbt</File>
<File>internal/templates/toplevel.sbt</File>
</Includes>
<!-- View specifications -->
......
<?xml version="1.0"?>
<cmb-resources>
<!-- Simulation Attributes -->
<attribute id="simbuilder" role="template">
<include href="internal/openfoam-simbuilder.sbt" />
</attribute>
<!-- Export Attributes -->
<attribute id="export" role="template">
<SMTK_AttributeSystem Version="2">
<Definitions>
<AttDef Type="ExportSpec" Label="Simulation" BaseType="" Version="0">
<ItemDefinitions>
<!--String Name="AnalysisTypes" Label="Analysis Types" Version="0" AdvanceLevel="99" NumberOfRequiredValues="1" Extensible="true" /-->
<File Name="PythonScript" Label="Python script" Version="0" AdvanceLevel="0" NumberOfRequiredValues="1"
ShouldExist="true" FileFilters="Python files (*.py);;All files (*.*)">
<DefaultValue>OpenFOAM.py</DefaultValue>
</File>
<ModelEntity Name="model" Label="Model" Version="0" NumberOfRequiredValues="1" >
<MembershipMask>model</MembershipMask>
</ModelEntity>
<!-- <MeshEntity Name="mesh" Label="Mesh" Version="0" NumberOfRequiredValues="1" /> -->
<!--
<String Name="ProjectName" Label="Project Name" Version="0">
<BriefDescription>Name (prefix) to use for generated files</BriefDescription>
</String>
-->
<Directory Name="ProjectDir" Label="Project Directory" AdvanceLevel="1"
Optional="true" IsEnabledByDefault="false"
Version="0" NumberOfRequiredValues="1" ShouldExist="false">
<BriefDescription>Filesystem folder for all generated files -- SHOULD USE SESSION DIRECTORY</BriefDescription>
</Directory>
</ItemDefinitions>
</AttDef>
<AttDef Type="Parallel Settings" Label="Simulation" BaseType="" Version="0">
<ItemDefinitions>
<!--String Name="AnalysisTypes" Label="Analysis Types" Version="0" AdvanceLevel="99" NumberOfRequiredValues="1" Extensible="true" /-->
<Int Name="NumMPIProcess" Label="Number of MPI processes" AdvanceLevel="0">
<BriefDescription>The number of MPI processes to run OpenFOAM with (decomposeParDict::numberOfSubdomains)</BriefDescription>
<DefaultValue>8</DefaultValue>
<RangeInfo>
<Min Inclusive="true">1</Min>
</RangeInfo>
</Int>
</ItemDefinitions>
</AttDef>
</Definitions>
<Views>
<!-- CMB issues warning if top-level view isn't type Group -->
<View Type="Instanced" Title="Export" TopLevel="true"
FilterByAdvanceLevel="true" FilterByCategory="false">
<InstancedAttributes>
<Att Name="Options" Type="ExportSpec" />
<!-- Att Name="Parallel Settings" Type ="Parallel Settings" /-->
</InstancedAttributes>
</View>
</Views>
</SMTK_AttributeSystem>
</attribute>
</cmb-resources>
......@@ -9,11 +9,11 @@
<!-- Attribute definitions -->
<Includes>
<!-- Note: order is important -->
<File>templates/tabular-function.sbt</File>
<File>templates/analysis.sbt</File>
<File>templates/boundaryconditions.sbt</File>
<File>templates/material.sbt</File>
<File>templates/turbulence.sbt</File>
<File>internal/templates/tabular-function.sbt</File>
<File>internal/templates/analysis.sbt</File>
<File>internal/templates/boundaryconditions.sbt</File>
<File>internal/templates/material.sbt</File>
<File>internal/templates/turbulence.sbt</File>
</Includes>
<!-- View specifications -->
......
<SMTK_AttributeSystem Version="2">
<Definitions>
<AttDef Type="ExportSpec" BaseType="" Version="0" Unique="true">
<ItemDefinitions>
<File Name="NumericsFile" Label="Numerics output file (*_n.py)"
NumberOfRequiredValues="1"
FileFilters="Python files (*.py)">
<DefaultValue>poisson_n.py</DefaultValue>
</File>
<File Name="PythonScript" Label="Python script" Version="0"
NumberOfRequiredValues="1"
AdvanceLevel="0" ShouldExist="true"
FileFilters="Python files (*.py);;All files (*.*)">
<DefaultValue>ProteusPoisson.py</DefaultValue>
</File>
<File Name="polyfile" Label="polyfile" Version="0"
AdvanceLevel="1" NumberOfRequiredValues="1"
Optional="true" IsEnabledByDefault="false"
FileFilters="Piecewise Linear Complex files (*.poly);;All files (*.*)">
</File>
</ItemDefinitions>
</AttDef>
</Definitions>
<Attributes />
<Views>
<View Type="Instanced" Title="ExportSpec" TopLevel="true"
FilterByAdvanceLevel="true" FilterByCategory="false">
<InstancedAttributes>
<Att Name="Export Specification" Type="ExportSpec">Options</Att>
</InstancedAttributes>
</View>
</Views>
</SMTK_AttributeSystem>
<?xml version="1.0"?>
<cmb-resources>
<!-- Include baseline template by reference -->
<attribute id="simbuilder" role="template">
<include href="ProteusPoisson.sbt" />
</attribute>
<!-- Template for Export Dialog -->
<attribute id="export" role="template">
<SMTK_AttributeSystem Version="2">
<Definitions>
<AttDef Type="ExportSpec" BaseType="" Version="0" Unique="true">
<ItemDefinitions>
<File Name="NumericsFile" Label="Numerics output file (*_n.py)"
NumberOfRequiredValues="1"
FileFilters="Python files (*.py)">
<DefaultValue>poisson_n.py</DefaultValue>
</File>
<File Name="PythonScript" Label="Python script" Version="0"
NumberOfRequiredValues="1"
AdvanceLevel="0" ShouldExist="true"
FileFilters="Python files (*.py);;All files (*.*)">
<DefaultValue>ProteusPoisson.py</DefaultValue>
</File>
<File Name="polyfile" Label="polyfile" Version="0"
AdvanceLevel="1" NumberOfRequiredValues="1"
Optional="true" IsEnabledByDefault="false"
FileFilters="Piecewise Linear Complex files (*.poly);;All files (*.*)">
</File>
</ItemDefinitions>
</AttDef>
</Definitions>
<Attributes />
<Views>
<View Type="Instanced" Title="ExportSpec" TopLevel="true"
FilterByAdvanceLevel="true" FilterByCategory="false">
<InstancedAttributes>
<Att Name="Export Specification" Type="ExportSpec">Options</Att>
</InstancedAttributes>
</View>
</Views>
</SMTK_AttributeSystem>
</attribute>
</cmb-resources>
<?xml version="1.0"?>
<cmb-resources>
<!-- Simulation Template -->
<attribute id="simbuilder" role="template">
<include href="internal/pyarc-simbuilder.sbt" />
</attribute>
<!-- Export Template -->
<attribute id="export" role="template">
<include href="internal/pyarc-export.sbt" />
</attribute>
</cmb-resources>
<?xml version="1.0"?>
<SMTK_AttributeSystem Version="2">
<Includes>
<File>templates/dif3d.sbt</File>
<File>templates/mcc3.sbt</File>
<File>internal/templates/dif3d.sbt</File>
<File>internal/templates/mcc3.sbt</File>
</Includes>
<Views>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment