<gh_stars>1-10
from ptsnet.simulation.sim import PTSNETSimulation
from ptsnet.utils.io import get_example_path
from ptsnet.utils.analytics import compute_num_processors

sim = PTSNETSimulation(
    inpfile = get_example_path('BWSN_F'),
    settings = {
        'time_step' : 0.00025,
        'save_results' : True,
        'default_wave_speed' : 1000,
        'wave_speed_method' : 'user'
})

compute_num_processors(sim, plot=False, count=4, steps=1000, max_num_processors=8)#, environment='tacc', allocation='LEAP-HI-2021')
from ptsnet.simulation.sim import PTSNETSimulation
from ptsnet.utils.io import get_example_path
from ptsnet.utils.analytics import compute_num_processors

sim = PTSNETSimulation(
    inpfile = get_example_path('BWSN_F'),
    settings = {
        'time_step' : 0.00025,
        'save_results' : True,
        'default_wave_speed' : 1000,
        'wave_speed_method' : 'user'
})

compute_num_processors(sim, plot=False, count=4, steps=1000, max_num_processors=8)#, environment='tacc', allocation='LEAP-HI-2021')
#, environment='tacc', allocation='LEAP-HI-2021')