xref: /petsc/lib/petsc/bin/configureTAS.py (revision 9b1f5d595c5fbbfcbffe2453be892f709a8e13f9)
1#!/usr/bin/env python3
2"""
3This module holds configuration information for the petsc_tas_analysis.py in
4  a dictionary format.  This module takes no parameters.
5
6The dict filePath holds key value pairs for file paths:
7  The key absoluteGraphs has contains the string of the absolute path to place
8  the generated graphs.
9
10The key absoluteData has contains the string of the absolute path to look
11  for the file containing the information to be analyzed.  Within petsc_tas_analysis
12  the system.path variable is appended to include this path.
13
14The dict fieldNames holds key value pairs for the fields of problems.  This is
15  values for the level are also dicts since many problems have multiple fields.
16  The key ex62 contains the name of fields for example 62, ie ex62.c
17"""
18
19filePath = {}
20filePath['defaultData']=''
21filePath['defaultGraphs']=''
22
23fieldNames = {}
24fieldNames['ex62'] = {}
25fieldNames['ex76'] = {}
26fieldNames['ex62']['field 0'] = 'Velocity'
27fieldNames['ex62']['field 1'] = 'Pressure'
28fieldNames['ex76']['field 0'] = 'Velocity'
29fieldNames['ex76']['field 1'] = 'Pressure'
30fieldNames['ex76']['field 2'] = 'Temperature'