begin <pdApplicationInfo(1.1)>
  FIMMWAVE 5.3.9 // applicationname applicationversion
  1030 // licensenumber
  6.1 (64 bit) 12136.43 // windowsversion RAM_in_MB 
  01/05/2012 13:01:57 // savedate(dd/mm/yyyy) savetime(hh:mm:ss)
end
begin <fimmwave_prj(1.0)> "Fimmwave Project 1"
  begin <mwguideNode(1.0)> "Cartesian example with uniform grid (real isotropic profile piecewise-constant)"
    begin <mwg_wguide(1.0)>
      0                     // unused
      3 3          0.2          0.2 // width[um] height[um] snapGridX snapGridY
      0                     // unused
      "" -1000 // matfile Tsub[C]
      METALWALL 0           // lhsBC
      METALWALL 0           // rhsBC
      MAGWALL 0             // topBC
      MAGWALL 0             // botBC
      begin <mwgshape_list(1.7)>
        //xposn yposn shapeAngle SHAPE(...) nxHint nyHint pmlfact RIXPROFILE(...) GRADEDPARS(...)
        "0"@OL "0"@OB 0 RECTANGLE(3,3) 0 0 OPQFILE("::RixProfile:1") 0 
      end
      begin <fmwx-rix-profile(2.0)> "::RixProfile:1"
        0 1 // isRadial isUniform
        3 3 3 3 0 0 1 // nXvals, nYvals, width, height, interpolateFlag, nAlphaElts,nRixElts
                     1              1.1                1   
                   1.1              1.2              1.1   
                     1              1.1                1   
      end
    end
    begin <molab_parms(1.2)>
      1 0 0 100 // autoRun <unused> minTEfrac maxTEfrac
      N(1e+50) N(-1e+50)  // evstart evend
      10 0 60 60  // maxNmodes molabOpt nx ny
      1.55 0 RFDMVEC 0 0 V1 90 60 0 100 0.000100 16  // lambda hCurv solverID Hsymmetries Vsymmetries solverParms
    end
  end
  begin <mwguideNode(1.0)> "Cartesian example with non uniform grid (real isotropic profile piecewise-constant)"
    begin <mwg_wguide(1.0)>
      0                     // unused
      3 3          0.2          0.2 // width[um] height[um] snapGridX snapGridY
      0                     // unused
      "" -1000 // matfile Tsub[C]
      METALWALL 0           // lhsBC
      METALWALL 0           // rhsBC
      MAGWALL 0             // topBC
      MAGWALL 0             // botBC
      begin <mwgshape_list(1.7)>
        //xposn yposn shapeAngle SHAPE(...) nxHint nyHint pmlfact RIXPROFILE(...) GRADEDPARS(...)
        "0"@OL "0"@OB 0 RECTANGLE(3,3) 0 0 OPQFILE("::RixProfile:1") 0 
      end
      begin <fmwx-rix-profile(2.0)> "::RixProfile:1"
        0 0 // isRadial isUniform
        3 3 3 3 0 0 1 // nXvals, nYvals, width, height, interpolateFlag, nAlphaElts,nRixElts
                  1.25             1.75                3    // x-values
                  1.25                1              1.1                1   
                  1.75              1.1              1.2              1.1   
                     3                1              1.1                1   
      end
    end
    begin <molab_parms(1.2)>
      1 0 0 100 // autoRun <unused> minTEfrac maxTEfrac
      N(1e+50) N(-1e+50)  // evstart evend
      10 0 60 60  // maxNmodes molabOpt nx ny
      1.55 0 RFDMVEC 0 0 V1 90 60 0 100 0.000100 16  // lambda hCurv solverID Hsymmetries Vsymmetries solverParms
    end
  end
  begin <mwguideNode(1.0)> "Cartesian example with uniform grid (isotropic real profile linear interpolation)"
    begin <mwg_wguide(1.0)>
      0                     // unused
      3 3          0.2          0.2 // width[um] height[um] snapGridX snapGridY
      0                     // unused
      "" -1000 // matfile Tsub[C]
      METALWALL 0           // lhsBC
      METALWALL 0           // rhsBC
      MAGWALL 0             // topBC
      MAGWALL 0             // botBC
      begin <mwgshape_list(1.7)>
        //xposn yposn shapeAngle SHAPE(...) nxHint nyHint pmlfact RIXPROFILE(...) GRADEDPARS(...)
        "0"@OL "0"@OB 0 RECTANGLE(3,3) 0 0 OPQFILE("::RixProfile:1") 0 
      end
      begin <fmwx-rix-profile(2.0)> "::RixProfile:1"
        0 1 // isRadial isUniform
        3 3 3 3 0 1 1 // nXvals, nYvals, width, height, interpolateFlag, nAlphaElts,nRixElts
        {             1              0 }  {           1.1            100 }  {             1              0 }  
        {           1.1            100 }  {           1.2           1000 }  {           1.1            100 }  
        {             1              0 }  {           1.1            100 }  {             1              0 }  
      end
    end
    begin <molab_parms(1.2)>
      1 0 0 100 // autoRun <unused> minTEfrac maxTEfrac
      N(1e+50) N(-1e+50)  // evstart evend
      10 0 60 60  // maxNmodes molabOpt nx ny
      1.55 0 CFDMVEC 0 0 V1 60 60 0 100 0.000100 16  // lambda hCurv solverID Hsymmetries Vsymmetries solverParms
    end
  end
  begin <mwguideNode(1.0)> "Complex profile"
    begin <mwg_wguide(1.0)>
      0                     // unused
      3 3          0.2          0.2 // width[um] height[um] snapGridX snapGridY
      0                     // unused
      "" -1000 // matfile Tsub[C]
      METALWALL 0           // lhsBC
      METALWALL 0           // rhsBC
      MAGWALL 0             // topBC
      MAGWALL 0             // botBC
      begin <mwgshape_list(1.7)>
        //xposn yposn shapeAngle SHAPE(...) nxHint nyHint pmlfact RIXPROFILE(...) GRADEDPARS(...)
        "0"@OL "0"@OB 0 RECTANGLE(3,3) 0 0 OPQFILE("::RixProfile:1") 0 
      end
      begin <fmwx-rix-profile(2.0)> "::RixProfile:1"
        0 1 // isRadial isUniform
        4 4 3 3 1 0 1 // nXvals, nYvals, width, height, interpolateFlag, nAlphaElts,nRixElts
                     1              1.1              1.1                1   
                   1.1              1.2              1.2              1.1   
                   1.1              1.2              1.2              1.1   
                     1              1.1              1.1                1   
      end
    end
    begin <molab_parms(1.2)>
      1 0 0 100 // autoRun <unused> minTEfrac maxTEfrac
      N(1e+50) N(-1e+50)  // evstart evend
      10 0 60 60  // maxNmodes molabOpt nx ny
      1.55 0 RFDMVEC 0 0 V1 90 60 0 100 0.000100 16  // lambda hCurv solverID Hsymmetries Vsymmetries solverParms
    end
  end
  begin <mwguideNode(1.0)> "Anisotropic refractive index (real profile)"
    begin <mwg_wguide(1.0)>
      0                     // unused
      3 3          0.2          0.2 // width[um] height[um] snapGridX snapGridY
      0                     // unused
      "" -1000 // matfile Tsub[C]
      METALWALL 0           // lhsBC
      METALWALL 0           // rhsBC
      MAGWALL 0             // topBC
      MAGWALL 0             // botBC
      begin <mwgshape_list(1.7)>
        //xposn yposn shapeAngle SHAPE(...) nxHint nyHint pmlfact RIXPROFILE(...) GRADEDPARS(...)
        "0"@OL "0"@OB 0 RECTANGLE(3,3) 0 0 OPQFILE("::RixProfile:1") 0 
      end
      begin <fmwx-rix-profile(2.0)> "::RixProfile:1"
        0 1 // isRadial isUniform
        3 3 3 3 0 0 3 // nXvals, nYvals, width, height, interpolateFlag, nAlphaElts,nRixElts
        [             1,             1,             1]   [           1.1,          1.15,           1.5]   [             1,             1,             1]   
        [           1.1,          1.15,           1.1]   [           1.2,           1.5,           1.2]   [           1.1,          1.15,           1.1]   
        [             1,             1,             1]   [           1.1,          1.15,           1.5]   [             1,             1,             1]   
      end
    end
    begin <molab_parms(1.2)>
      1 0 0 100 // autoRun <unused> minTEfrac maxTEfrac
      N(1e+50) N(-1e+50)  // evstart evend
      10 0 60 60  // maxNmodes molabOpt nx ny
      1.55 0 RFDMVEC 0 0 V1 60 60 0 100 0.000100 16  // lambda hCurv solverID Hsymmetries Vsymmetries solverParms
    end
  end
  begin <mwguideNode(1.0)> "Anisotropic refractive index and anisotropic absorption"
    begin <mwg_wguide(1.0)>
      0                     // unused
      3 3          0.2          0.2 // width[um] height[um] snapGridX snapGridY
      0                     // unused
      "" -1000 // matfile Tsub[C]
      METALWALL 0           // lhsBC
      METALWALL 0           // rhsBC
      MAGWALL 0             // topBC
      MAGWALL 0             // botBC
      begin <mwgshape_list(1.7)>
        //xposn yposn shapeAngle SHAPE(...) nxHint nyHint pmlfact RIXPROFILE(...) GRADEDPARS(...)
        "0"@OL "0"@OB 0 RECTANGLE(3,3) 0 0 OPQFILE("::RixProfile:1") 0 
      end
      begin <fmwx-rix-profile(2.0)> "::RixProfile:1"
        0 1 // isRadial isUniform
        3 3 3 3 0 3 3 // nXvals, nYvals, width, height, interpolateFlag, nAlphaElts,nRixElts
        {[             1,             1,             1] [             0,             0,             0] }  {[           1.1,          1.15,           1.5] [           100,           120,           100] }  {[             1,             1,             1] [             0,             0,             0] }  
        {[           1.1,          1.15,           1.1] [           100,           120,           100] }  {[           1.2,           1.5,           1.2] [          1000,          2000,          1000] }  {[           1.1,          1.15,           1.1] [           100,           120,           100] }  
        {[             1,             1,             1] [             0,             0,             0] }  {[           1.1,          1.15,           1.5] [           100,           120,           100] }  {[             1,             1,             1] [             0,             0,             0] }  
      end
    end
    begin <molab_parms(1.2)>
      1 0 0 100 // autoRun <unused> minTEfrac maxTEfrac
      N(1e+50) N(-1e+50)  // evstart evend
      10 0 60 60  // maxNmodes molabOpt nx ny
      1.55 0 CFDMVEC 0 0 V1 60 60 0 100 0.000100 16  // lambda hCurv solverID Hsymmetries Vsymmetries solverParms
    end
  end
  begin <mwguideNode(1.0)> "Anisotropic refractive index and isotropic absorption"
    begin <mwg_wguide(1.0)>
      0                     // unused
      3 3          0.2          0.2 // width[um] height[um] snapGridX snapGridY
      0                     // unused
      "" -1000 // matfile Tsub[C]
      METALWALL 0           // lhsBC
      METALWALL 0           // rhsBC
      MAGWALL 0             // topBC
      MAGWALL 0             // botBC
      begin <mwgshape_list(1.7)>
        //xposn yposn shapeAngle SHAPE(...) nxHint nyHint pmlfact RIXPROFILE(...) GRADEDPARS(...)
        "0"@OL "0"@OB 0 RECTANGLE(3,3) 0 0 OPQFILE("::RixProfile:1") 0 
      end
      begin <fmwx-rix-profile(2.0)> "::RixProfile:1"
        0 1 // isRadial isUniform
        3 3 3 3 0 1 3 // nXvals, nYvals, width, height, interpolateFlag, nAlphaElts,nRixElts
        {[             1,             1,             1]              0 }  {[           1.1,          1.15,           1.5]            100 }  {[             1,             1,             1]              0 }  
        {[           1.1,          1.15,           1.1]            100 }  {[           1.2,           1.5,           1.2]           1000 }  {[           1.1,          1.15,           1.1]            100 }  
        {[             1,             1,             1]              0 }  {[           1.1,          1.15,           1.5]            100 }  {[             1,             1,             1]              0 }  
      end
    end
    begin <molab_parms(1.2)>
      1 0 0 100 // autoRun <unused> minTEfrac maxTEfrac
      N(1e+50) N(-1e+50)  // evstart evend
      10 0 60 60  // maxNmodes molabOpt nx ny
      1.55 0 CFDMVEC 0 0 V1 60 60 0 100 0.000100 16  // lambda hCurv solverID Hsymmetries Vsymmetries solverParms
    end
  end
  begin <mwguideNode(1.0)> "Radial example with piecewise-constant interpolation"
    begin <mwg_wguide(1.0)>
      0                     // unused
      3 3          0.2          0.2 // width[um] height[um] snapGridX snapGridY
      0                     // unused
      "" -1000 // matfile Tsub[C]
      METALWALL 0           // lhsBC
      METALWALL 0           // rhsBC
      MAGWALL 0             // topBC
      MAGWALL 0             // botBC
      begin <mwgshape_list(1.7)>
        //xposn yposn shapeAngle SHAPE(...) nxHint nyHint pmlfact RIXPROFILE(...) GRADEDPARS(...)
        "0"@OL "0"@OB 0 RECTANGLE(3,3) 0 0 OPQRADFILE("::RixProfile:1") 0 
      end
      begin <fmwx-rix-profile(2.0)> "::RixProfile:1"
        1 0 // isRadial isUniform
          3   0   0 // nVals, interpolateFlag, cxType
                   0.5            1.5
                     1            1.4
                   1.5              1
      end
    end
    begin <molab_parms(1.2)>
      1 0 0 100 // autoRun <unused> minTEfrac maxTEfrac
      N(1e+50) N(-1e+50)  // evstart evend
      10 0 60 60  // maxNmodes molabOpt nx ny
      1.55 0 RFDMVEC 0 0 V1 60 60 0 100 0.000100 16  // lambda hCurv solverID Hsymmetries Vsymmetries solverParms
    end
  end
  begin <mwguideNode(1.0)> "Radial example with linear interpolation"
    begin <mwg_wguide(1.0)>
      0                     // unused
      3 3          0.2          0.2 // width[um] height[um] snapGridX snapGridY
      0                     // unused
      "" -1000 // matfile Tsub[C]
      METALWALL 0           // lhsBC
      METALWALL 0           // rhsBC
      MAGWALL 0             // topBC
      MAGWALL 0             // botBC
      begin <mwgshape_list(1.7)>
        //xposn yposn shapeAngle SHAPE(...) nxHint nyHint pmlfact RIXPROFILE(...) GRADEDPARS(...)
        "0"@OL "0"@OB 0 RECTANGLE(3,3) 0 0 OPQRADFILE("::RixProfile:1") 0 
      end
      begin <fmwx-rix-profile(2.0)> "::RixProfile:1"
        1 0 // isRadial isUniform
          4   0   0 // nVals, interpolateFlag, cxType
                     0            1.6
                   0.5            1.7
                     1            1.6
                   1.5              1
      end
    end
    begin <molab_parms(1.2)>
      1 0 0 100 // autoRun <unused> minTEfrac maxTEfrac
      N(1e+50) N(-1e+50)  // evstart evend
      10 0 60 60  // maxNmodes molabOpt nx ny
      1.55 0 RFDMVEC 0 0 V1 60 60 0 100 0.000100 16  // lambda hCurv solverID Hsymmetries Vsymmetries solverParms
    end
  end
end
