sarkas.tools.observables.PressureTensor.setup_multirun_dirs#

PressureTensor.setup_multirun_dirs()#

Set the attributes postprocessing_dir and dump_dirs_list.

The attribute postprocessing_dir refers to the location where to store postprocessing results. If the attribute sarkas.tools.observables.Observable.multi_run_average is set to True then the postprocessing data will be saved in the sarkas.core.Parameters.simulations_dir directory, i.e. where all the runs are. Otherwise sarkas.tools.observables.Observable.postprocessing_dir will be in the sarkas.core.Parameters.job_dir.

The attribute sarkas.tools.observables.Observable.dump_dirs_list is a list of the refers to the locations of the production (or other phases) dumps. If sarkas.tools.observables.Observable.multi_run_average is False then the list will contain only one path, namely sarkas.tools.observables.Observable.dump_dir.