doctype xml
//- To compile:  pug tem3p.pug --pretty --extension sbt
    To compile as toplevel, add  -O "{toplevel: 'true'}"
    Note the quotes around 'true'

SMTK_AttributeResource(Version="3")
  // **********  Include files ***********
  // Typically one include file with definitions per tab
  Includes
    File internal/templates/tem3p-boundarycondition.sbt
    File internal/templates/tem3p-material.sbt
    File internal/templates/tem3p-mesh.sbt
    File internal/templates/tem3p-solver.sbt
    File internal/templates/tem3p-thermal.sbt
  = '\n'

  Views
    //- To compile as toplevel, add to command line:  -O "{toplevel: 'true'}"
    //- Note the quotes around 'true'
    View(Type="Group" Title="TEM3P" TopLevel=toplevel TabPosition="North"
    FilterByAdvanceLevel="false")
      Views
        //- View(Title="TEM3P Mechanical BC")/
        //- View(Title="TEM3P Thermal BC")/
        //- View(Title="TEM3P Elastic Material")/
        //- View(Title="TEM3P Thermal Material")/
        View(Title="TEM3P Elastic Analysis")/
        View(Title="TEM3P Thermal Analysis")/
        //- View(Title="TEM3P Mesh Output")/
        //- View(Title="TEM3P Thermal Shells")/
        //- View(Title="Heat Sources")
    = '\n'

    View(Type="ModelEntity" Title="TEM3P Mechanical BC" Label="Boundary Conditions" ModelEntityFilter="f" ColHeader2="Boundary Condition" NoValueLabel="-please-select-")
      AttributeTypes
        Att(Type="TEM3PMechanicalBC")

    View(Type="ModelEntity" Title="TEM3P Thermal BC" Label="Boundary Conditions" ModelEntityFilter="f" ColHeader2="Boundary Condition" NoValueLabel="-please-select-")
      AttributeTypes
        Att(Type="TEM3PThermalBC")

    View(Type="Attribute" Title="TEM3P Elastic Material" Label="Materials" DisplaySearchBox="false")
      AttributeTypes
        Att(Type="TEM3PElasticMaterial")

    View(Type="Attribute" Title="TEM3P Thermal Material" Label="Materials" DisplaySearchBox="false")
      AttributeTypes
        Att(Type="TEM3PThermalMaterial")
    // Need separate elastic and thermal analysis attributes (for ThermoElastic)
    View(Type="Instanced" Name="TEM3P Elastic Analysis" Label="Analysis")
      InstancedAttributes
        Att(Name="ElasticOrderAtt" Type="ElasticOrder")/
        Att(Name="ElasticEigenSolverAtt" Type="EigenSolver")/
        Att(Name="ElasticLinearSolverAtt" Type="ElasticLinearSolver")/
        Att(Name="ElasticHarmonicAnalysisAtt" Type="HarmonicAnalysis")/

    View(Type="Instanced" Name="TEM3P Thermal Analysis" Label="Analysis")
      InstancedAttributes
        Att(Name="ThermalOrderAtt" Type="ThermalOrder")/
        Att(Name="ThermalLinearSolverAtt" Type="ThermalLinearSolver")/
        Att(Name="ThermalHarmonicAnalysisAtt" Type="HarmonicAnalysis")/
        Att(Name="ThermalNonlinearSolverAtt" Type="NonlinearSolver")/
        Att(Name="ThermalPicardSolverAtt" Type="PicardSolver")/

    View(Type="Instanced" Title="Mesh Output")
      InstancedAttributes
        Att(Name="MeshDump" Type="MeshDump")

    View(Type="Attribute" Name="Thermal Shells" Label="Shells" DisplaySearchBox="false")
      AttributeTypes
        Att(Type="ThermalShell")

    View(Type="Attribute" Title="Heat Sources" DisplaySearchBox="false")
      AttributeTypes
        Att(Type="HeatSource")
= '\n'
