Last change
on this file since 12168 was 12168, checked in by cborstad, 13 years ago |
merged trunk-jpl into branch through revision 12167
|
File size:
1.0 KB
|
Line | |
---|
1 | #module imports
|
---|
2 | from fielddisplay import fielddisplay
|
---|
3 |
|
---|
4 | class qmu:
|
---|
5 | #properties
|
---|
6 | def __init__(self):
|
---|
7 | # {{{ Properties
|
---|
8 | self.isdakota = 0
|
---|
9 | self.variables = {}
|
---|
10 | self.responses = {}
|
---|
11 | self.method = {}
|
---|
12 | self.params = {}
|
---|
13 | self.results = {}
|
---|
14 | self.partition = float('NaN')
|
---|
15 | self.numberofpartitions = 0
|
---|
16 | self.numberofresponses = 0
|
---|
17 | self.variabledescriptors = []
|
---|
18 | self.responsedescriptors = []
|
---|
19 | self.mass_flux_profile_directory = float('NaN')
|
---|
20 | self.mass_flux_profiles = float('NaN')
|
---|
21 | self.mass_flux_segments = []
|
---|
22 | self.adjacency = float('NaN')
|
---|
23 | self.vertex_weight = float('NaN')
|
---|
24 |
|
---|
25 | #set defaults
|
---|
26 | self.setdefaultparameters()
|
---|
27 |
|
---|
28 | #}}}
|
---|
29 | def __repr__(obj):
|
---|
30 | # {{{ Display
|
---|
31 | string=" qmu parameters: not implemented yet!"
|
---|
32 | return string
|
---|
33 | #}}}
|
---|
34 |
|
---|
35 | def setdefaultparameters(obj):
|
---|
36 | # {{{setdefaultparameters
|
---|
37 | return obj
|
---|
38 | #}}}
|
---|
39 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.