WARPXM v1.10.0
Loading...
Searching...
No Matches
simulation.py File Reference

Classes

class  warpy.simulation.simulation
 Simulation base class. More...
 

Namespaces

namespace  warpy
 
namespace  warpy.simulation
 

Functions

def warpy.simulation.recurse_remove_files (base_dir)
 
def warpy.simulation.format_walltime (t)
 
def warpy.simulation.load_configs (local_path=None, site_path='warpy_config.py')
 
def warpy.simulation.env_vars_to_str (args)
 Converts a dictionary of extra environment variables to a string that can be used on the command line.
 
def warpy.simulation.replace_macros (macros, line)
 Replaces template macro vars in a single line.
 
def warpy.simulation.write_git_info (rundir, git_repo)
 Writes git commit and working directory status information to text file in output directory.
 
def warpy.simulation.setup_sim (category=None, local_path=None, site_path='warpy_config.py', input_file=None, sim=None, wxm_args=[], sim_param=None)
 Setups the simulation run directory.
 
def warpy.simulation.run (category=None, local_path=None, site_path='warpy_config.py', input_file=None, sim=None, wxm_args=[], sim_param=None)
 runs a WARPXM simulation.
 
def warpy.simulation.unique_h_acts_ (groups)