<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE edf>
<edf version="1.0" >
   <PDE Name="Helmholtz Equation" >
      <Name>Helmholtz Equation</Name>

      <Equation>
        <Parameter Widget="Label">
          <Name> Options </Name>
        </Parameter>
        <Parameter Widget="Edit"> 
           <Name> Angular Frequency </Name>
        </Parameter>

        <Parameter Widget="Label" >
           <Name> Convection</Name>
        </Parameter>

         <Parameter Widget="Edit">
            <Name> Convection Velocity 1</Name>
         </Parameter>
         <Parameter Widget="Edit">
            <Name> Convection Velocity 2</Name>
         </Parameter>
         <Parameter Widget="Edit">
            <Name> Convection Velocity 3</Name>
         </Parameter>
        <Parameter Widget="Label" > <Name> This and that </Name> </Parameter>
        <Parameter Widget="Edit">
           <Name> Element Codes </Name>
           <SifName> Element </SifName>
           <Whatis> Define element degrees of freedom (p:n d:n n:n e:n f:n b:n d:n). "p" is the p-element degree, "e" number of edge DOFs, "f" number of face DOFs, "b" number of bubble DOFs, and "d" the Discontinuous Galerkin DOFs (0 = element number of nodes). "p" and "b" may be entered together, "d" on its own, and the rest together. </Whatis>
        </Parameter>

         <Parameter Widget="Label">
           <Name> Free text input </Name>
         </Parameter>
	 
	 <Parameter Widget="TextEdit" Enabled="True">
	   <Name> Free text </Name>
	   <Type> String </Type>
	   <Whatis> Free text is copied into the Equation-block of the SIF as such. </Whatis>
	   <StatusTip> Free text is copied into the Equation-block of the SIF as such. </StatusTip>
	 </Parameter>

      </Equation>

      <Solver>
         <Parameter Widget="Edit" >
            <Name > Procedure </Name>
            <DefaultValue> "HelmholtzSolve" "HelmholtzSolver" </DefaultValue>
         </Parameter>
         <Parameter Widget="Edit" Enabled="False">
           <Name> Variable </Name>
           <DefaultValue> Pressure Wave(2) </DefaultValue>
         </Parameter>


         <Parameter Widget="Label"> <Name>Additional Variables</Name> </Parameter>
         <Parameter Widget="Edit">
           <Name> Exported Variable 1 </Name>
           <Activate> /Helmholtz Equation/Solver/Exported Variable 2</Activate>
         </Parameter>
         <Parameter Widget="Edit" Enabled="False" Visible="False">
           <Name> Exported Variable 2 </Name>
           <Activate> /Helmholtz Equation/Solver/Exported Variable 3</Activate>
         </Parameter>
         <Parameter Widget="Edit" Enabled="False" Visible="False">
           <Name> Exported Variable 3 </Name>
           <Activate> /Helmholtz Equation/Solver/Exported Variable 4</Activate>
         </Parameter>
         <Parameter Widget="Edit" Enabled="False" Visible="False">
           <Name> Exported Variable 4 </Name>
           <Activate> /Helmholtz Equation/Solver/Exported Variable 5</Activate>
         </Parameter>
         <Parameter Widget="Edit" Enabled="False" Visible="False">
           <Name> Exported Variable 5 </Name>
         </Parameter>

         <Parameter Widget="Label"> <Name> Miscellaneous options </Name> </Parameter>
         <Parameter Widget="CheckBox">
           <Name> Calculate Loads </Name>
           <Whatis> If checked compute boundary reaction forces. </Whatis>
         </Parameter>

         <Parameter Widget="Label">
           <Name> Free text input </Name>
         </Parameter>
	 
	 <Parameter Widget="TextEdit" Enabled="True">
	   <Name> Free text </Name>
	   <Type> String </Type>
	   <Whatis> Free text is copied into the Solver-block of the SIF as such. </Whatis>
	   <StatusTip> Free text is copied into the Solver-block of the SIF as such. </StatusTip>
	 </Parameter>

       </Solver>

      <BodyForce>
         <Parameter Widget="Label" > <Name> Volume sources </Name> </Parameter>
        <Parameter Widget="Edit">
           <Name> Volume source 1 (real part)</Name>
           <SifName> Pressure Wave Source 1 </SifName>
        </Parameter>
        <Parameter Widget="Edit">
           <Name> Volume source 2 (imag part)</Name>
           <SifName> Pressure Wave Source 2 </SifName>
        </Parameter>

        <Parameter Widget="Label">
          <Name> Free text input </Name>
        </Parameter>
	
	<Parameter Widget="TextEdit" Enabled="True">
	  <Name> Free text </Name>
	  <Type> String </Type>
	  <Whatis> Free text is copied into the Body Force-block of the SIF as such. </Whatis>
	  <StatusTip> Free text is copied into the Body Force-block of the SIF as such. </StatusTip>
	</Parameter>
	
      </BodyForce>

      <Material>
         <Parameter Widget="Label" > <Name> Properties </Name> </Parameter>
         <Parameter Widget="Edit" >
            <Name> Damping coefficient </Name>
            <SifName> Sound damping </SifName>
         </Parameter>
         <Parameter Widget="Edit" >
            <Name> Sound speed </Name>
         </Parameter>

         <Parameter Widget="Label">
           <Name> Free text input </Name>
         </Parameter>

	 <Parameter Widget="TextEdit" Enabled="True">
	   <Name> Free text </Name>
	   <Type> String </Type>
	   <Whatis> Free text is copied into the Material-block of the SIF as such. </Whatis>
	   <StatusTip> Free text is copied into the Material-block of the SIF as such. </StatusTip>
	 </Parameter>
      </Material>


      <InitialCondition>
         <Parameter Widget="Label" > <Name> Variables </Name> </Parameter>
         <Parameter  Widget="Edit">
           <Name> Pressure wave 1 (real part)</Name>
           <SifName> Pressure Wave 1 </SifName>
         </Parameter>
         <Parameter  Widget="Edit">
           <Name> Pressure wave 2 (imag part) </Name>
           <SifName> Pressure Wave 2 </SifName>
         </Parameter>

         <Parameter Widget="Label">
           <Name> Free text input </Name>
         </Parameter>
	 
	 <Parameter Widget="TextEdit" Enabled="True">
	   <Name> Free text </Name>
	   <Type> String </Type>
	   <Whatis> Free text is copied into the Initial Condition-block of the SIF as such. </Whatis>
	   <StatusTip> Free text is copied into the Initial Condition-block of the SIF as such. </StatusTip>
	 </Parameter>

      </InitialCondition>

      <BoundaryCondition>
         <Parameter Widget="Label" > <Name> Dirichlet Conditions </Name> </Parameter>
         <Parameter  Widget="Edit">
           <Name> Pressure Wave 1 (real part) </Name>
           <SifName> Pressure Wave 1 </SifName>
           <Activate> /Helmholtz Equation/BoundaryCondition/Pressure Wave 1 Condition </Activate>
         </Parameter>
         <Parameter  Widget="Edit">
           <Name> Pressure Wave 2 (imag part)  </Name>
           <SifName> Pressure Wave 2 </SifName>
           <Activate> /Helmholtz Equation/BoundaryCondition/Pressure Wave 2 Condition </Activate>
         </Parameter>

         <Parameter  Widget="Edit" Enabled="False">
           <Name> Pressure Wave 1 Condition </Name>
           <Whatis> If the given value is less than zero, apply flux condition insted of the Dirichlet Condition. To be generally useful space and/or time varying values may be given. </Whatis>
           <StatusTip> Give pressure 1 condition value for this boundary. </StatusTip>
         </Parameter>
         <Parameter  Widget="Edit" Enabled="False">
           <Name> Pressure Wave 2 Condition </Name>
           <Whatis> If the given value is less than zero, apply flux condition insted of the Dirichlet Condition. To be generally useful space and/or time varying values may be given. </Whatis>
           <StatusTip> Give pressure 2 condition value for this boundary. </StatusTip>
         </Parameter>

         <Parameter Widget="Label" > <Name> Flux conditions </Name> </Parameter>
         <Parameter  Widget="Edit">
           <Name> Real part of the flux</Name>
           <SifName> Wave Flux 1 </SifName>
         </Parameter>
         <Parameter  Widget="Edit">
           <Name> Imag part of the flux</Name>
           <SifName> Wave Flux 2 </SifName>
         </Parameter>
         <Parameter  Widget="Edit">
           <Name> Real part of the impedance </Name>
           <SifName> Wave impedance 1 </SifName>
         </Parameter>
         <Parameter  Widget="Edit">
           <Name> Imag part of the impedance </Name>
           <SifName> Wave impedance 2 </SifName>
         </Parameter>

          <Parameter Widget="Label"> <Name> Periodic boundary condition </Name> </Parameter>
          <Parameter Widget="CheckBox" Enabled="False">
              <Name> Pressure Wave 1 periodic </Name>
              <SifName> Periodic BC Pressure Wave 1 </SifName>
          </Parameter>
          <Parameter Widget="CheckBox" Enabled="False">
              <Name> Pressure Wave 2 periodic </Name>
              <SifName> Periodic BC Pressure Wave 2 </SifName>
          </Parameter>

         <Parameter Widget="Label">
           <Name> Free text input </Name>
         </Parameter>
	 
	 <Parameter Widget="TextEdit" Enabled="True">
	   <Name> Free text </Name>
	   <Type> String </Type>
	   <Whatis> Free text is copied into the Boundary Condition-block of the SIF as such. </Whatis>
	   <StatusTip> Free text is copied into the Boundary Condition-block of the SIF as such. </StatusTip>
	 </Parameter>

      </BoundaryCondition>
   </PDE>
</edf>
