Skip to content
Snippets Groups Projects
Select Git revision
  • 7c70c3b6e42c7558c8e5ac5c8c145e224f10acf7
  • master default protected
  • fix_Makefile.mingw#2
  • update_Makefile.mingw
  • fix_Makefile.mingw
  • fix_API_for_C_apps
  • fix_procinfo_mac
  • boinccmd_gpu_mode_always_until_sigterm
  • fgrp_osx_hotfix
  • fix_boinc_master@f8250782
  • eah_wrapper_improvements
  • diagnostics_win-hotfix
  • diagnostics_win-hotfix-old
  • current_fgrp_apps
  • testing_gw_apps
  • gw_app_darwin_15
  • current_brp_apps
  • current_brp_apps_android10
  • current_gfx_apps
  • current_server
  • current_gw_apps
  • previous_fgrp_apps
  • previous_gw_apps
  • testing_brp_apps
  • apps_FGRP3_1.07
  • apps_FGRP3_1.08
26 results

client_state.cpp

Blame
    • David Anderson's avatar
      fe2a18f2
      - client/scheduler: standardize the FLOPS estimate between NVIDIA and ATI. · fe2a18f2
      David Anderson authored
          Make them both peak FLOPS,
          according to the formula supplied by the manufacturer.
      
          The impact on the client is minor:
          - the startup message describing the GPU
          - the weight of the resource type in computing long-term debt
      
          On the server, I changed the example app_plan() function
          to assume that app FLOPS is 20% of peak FLOPS
          (that's about what it is for SETI@home)
      
      svn path=/trunk/boinc/; revision=19310
      fe2a18f2
      History
      - client/scheduler: standardize the FLOPS estimate between NVIDIA and ATI.
      David Anderson authored
          Make them both peak FLOPS,
          according to the formula supplied by the manufacturer.
      
          The impact on the client is minor:
          - the startup message describing the GPU
          - the weight of the resource type in computing long-term debt
      
          On the server, I changed the example app_plan() function
          to assume that app FLOPS is 20% of peak FLOPS
          (that's about what it is for SETI@home)
      
      svn path=/trunk/boinc/; revision=19310
    test_beam_trace.py 581 B
    import pykat
    from pykat.utilities.plotting.beamtrace import plot_beam_trace
    import numpy as np
    import pylab
    import copy
    
    kat = pykat.finesse.kat()
    
    cmds = """
    l l1 1 0 n0
    s s0 1000 n0 n1
    m m1 0.5 0.5 0 n1 n2
    s s1 10 n2 n3
    m m2 0.5 0.5 0 n3 n4
    s s2 20 n4 n5
    bs bs1 0.5 0.5 0 0 n5 n6 n7 n8
    
    s s3 20 n6 n9
    
    s s4 20 n7 n10
    
    s s5 20 n8 n11
    
    bs bs2 0.5 0.5 0 0 n9 n12 n13 n14
    
    s s6 3 n12 n15
    
    lens lens1 20 n15 n16
    
    s s7 500 n16 n17
    
    gouy g1 x s0 s1 s2
    
    bp bp1 x w0 n5
    gauss g1 l1 n0 8e-3 -1000 4e-3 -1200
    noxaxis
    maxtem 0 
    """
    
    kat.parseCommands(cmds)
    
    plot_beam_trace(kat, 'n0', 'n17')