xref: /petsc/lib/petsc/bin/configureTAS.py (revision df05ca09ada1073c1e2976e208ee5956c8ec380e)
1#!/usr/bin/env python
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
10  The 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"""
18filePath = {}
19filePath['absoluteGraphs'] = '/home/arcowie/petscTas/graphs/'
20filePath['absoluteData']   = '/home/arcowie/petscTas/data'
21
22fieldNames = {}
23fieldNames['ex62'] = {}
24fieldNames['ex62']['field 0'] = 'Velocity'
25fieldNames['ex62']['field 1'] = 'Pressure'
26