Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Functions
shamrock.utils.phantom Namespace Reference

Functions

 parse_in_file (in_file)
 
 load_simulation (simulation_path, dump_file_name=None, in_file_name=None, do_print=True)
 
 run_phantom_simulation (simulation_folder, sim_name)
 

Detailed Description

Phantom related utilities.

Function Documentation

◆ load_simulation()

shamrock.utils.phantom.load_simulation (   simulation_path,
  dump_file_name = None,
  in_file_name = None,
  do_print = True 
)
Load a Phantom simulation into a Shamrock model.

Definition at line 65 of file __init__.py.

+ Here is the call graph for this function:

◆ parse_in_file()

shamrock.utils.phantom.parse_in_file (   in_file)
Parse a Phantom .in file and return a dictionary of the parameters.

Definition at line 10 of file __init__.py.

◆ run_phantom_simulation()

shamrock.utils.phantom.run_phantom_simulation (   simulation_folder,
  sim_name 
)
Run a Phantom simulation in Shamrock.

Definition at line 141 of file __init__.py.

+ Here is the call graph for this function: