File: __init__.py

package info (click to toggle)
xmds2 2.2.3%2Bdfsg-15
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 53,904 kB
  • sloc: python: 54,093; cpp: 3,929; ansic: 1,463; makefile: 115; sh: 54
file content (30 lines) | stat: -rw-r--r-- 640 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/usr/bin/env python
# encoding: utf-8

import Arguments
import AutoVectorise
import Benchmark
import Bing
import CFlags
import ChunkedOutput
import Diagnostics
import ErrorCheck
import Globals
import HaltNonFinite
import MaxIterations
import OpenMP
import Output
import Stochastic
import Transforms
import Validation

import OutputFormat
from BinaryFormat import BinaryFormat
from AsciiFormat import AsciiFormat
from HDF5Format import HDF5Format

formatMapping = [(f.name, f) for f in [BinaryFormat, AsciiFormat, HDF5Format]]
del BinaryFormat, AsciiFormat, HDF5Format

OutputFormat.OutputFormat.outputFormatClasses.update(formatMapping)