Esempio n. 1
0
    def __init__(self, name=None):
        Script.__init__(self, name)
        DynamicComponentHarness.__init__(self)

        self.client = ''

        return
Esempio n. 2
0
    def __init__(self, name="slip_invert"):
        Application.__init__(self, name)

        self.dataCoords = None
        self.dataVals = None
        self.dataCov = None
        self.dataNames = []
        self.numDataPoints = 0
        self.numDesignRows = 0

        self.numFaultVerts = 0
        self.numFaultCells = 0
        self.faultVertCoords = None
        self.faultCells = None

        self.numImpulses = 0
        self.impulseInds = None
        self.impulseCoords = None

        self.summaryHead = 'Penalty-weight\tData-residual\t' + \
                           'Weighted-data-residual\tPenalty-residual\t' + \
                           'Weighted-penalty-residual\tTotal-residual\t' + \
                           'Total-weighted-residual'
        self.numSummaryCols = 7

        self.design = None

        return
Esempio n. 3
0
 def __init__(self, name="transform"):
     Application.__init__(self, name)
     self.numPoints = 0
     self.numSegs = 0
     self.segInfo = None
     self.pointsUTM = []
     self.normals = []
     return
Esempio n. 4
0
    def __init__(self, name, asCGI=None):
        Script.__init__(self, name)
        self.stream = None

        if asCGI is None:
            asCGI = True
        self.asCGIScript(asCGI)

        return
Esempio n. 5
0
 def __init__(self, name="euler"):
     Application.__init__(self, name)
     self.numPoints = 0
     self.pointsUTM = []
     self.normals = []
     self.eulerPole = numpy.array([0.0, 0.0, 0.0], dtype=numpy.float64)
     # Note that we use a mean radius since we are doing rotations on a
     # spherical Earth.
     self.earthRad = 6372795.477598
     return
Esempio n. 6
0
    def __init__(self, name="generate_slowslip"):
        Application.__init__(self, name)

        self.lon = None
        self.lat = None
        self.z = None
        self.grid = None
        self.faultSlip = None

        return
Esempio n. 7
0
  def __init__(self, name="make_synthetic_gpsdisp"):
    Application.__init__(self, name)

    self.coords = None
    self.stations = None
    self.dispRaw = None
    self.dispNoise = None

    self.numStations = 0

    return
Esempio n. 8
0
    def __init__(self, name="vtkdiff"):
        Application.__init__(self, name)
        self.vtkInputList = []
        self.numVtkInputFiles = 0
        self.vtkInputTimes = []
        self.timeStampWidth = 0

        self.numVertsPerCell = 0
        self.numCells = 0
        self.numVerts = 0
        self.spaceDim = 0
        self.cellType = None
        self.readMesh = False
        return
Esempio n. 9
0
    def __init__(self, name="dem2lines"):
        Application.__init__(self, name)
        self.numXIn = 0
        self.numYIn = 0
        self.numZIn = 0
        self.numXOut = 0
        self.numYOut = 0
        self.numZOut = 0
        self.xIn = None
        self.yIn = None
        self.zIn = None
        self.xOut = None
        self.yOut = None
        self.zOut = None

        return
Esempio n. 10
0
    def __init__(self, name="faultinfo"):
        Application.__init__(self, name)

        self.numVertsPerCell = 0
        self.numCells = 0
        self.cellsArray = numpy.array([0])
        self.verticesArray = numpy.array([0])
        self.normalVec = numpy.array([0])
        self.strikeVec = numpy.array([0])
        self.dipVec = numpy.array([0])
        self.stressVec = numpy.array([0])
        self.slipVec = numpy.array([0])
        self.numVerts = 0
        self.spaceDim = 0
        self.cellType = ""
        self.readMesh = False

        return
Esempio n. 11
0
    def __init__(self, name="vtkcff"):
        Application.__init__(self, name)
        self.vtkInputList = []
        self.numVtkInputFiles = 0
        self.vtkInputTimes = []
        self.timeStampWidth = 0
        self.refFileIndex = 0

        self.numVertsPerCell = 0
        self.numCells = 0
        self.cellsArray = numpy.array([0])
        self.verticesArray = numpy.array([0])
        self.numVerts = 0
        self.spaceDim = 0
        self.cellType = ""
        self.readMesh = False

        self.numStressPoints = 0
        return
Esempio n. 12
0
    def __init__(self, name="princaxes"):
        Application.__init__(self, name)

        self.cells = None
        self.vertArray = None
        self.spaceDim = 0
        self.cellType = ""

        self.numTensorPoints = 0
        self.tensorSorted = None

        self.minPrincAxis = None
        self.intPrincAxis = None
        self.maxPrincAxis = None
        self.minEigenvalue = None
        self.intEigenvalue = None
        self.maxEigenvalue = None

        self.regionalField = numpy.zeros((3, 3), dtype=numpy.float64)
        return
Esempio n. 13
0
 def __init__(self, name="surfaceapp"):
     """Constructor.
     """
     Application.__init__(self, name)
     return
Esempio n. 14
0
 def __init__(self, name="grabpoints"):
     Application.__init__(self, name)
     self.numPoints = 0
     self.indices = []
     self.pointCoords = []
     return
Esempio n. 15
0
 def __init__(self, name="grabfaces"):
     Application.__init__(self, name)
     return
Esempio n. 16
0
 def __init__(self, name='gensimpledb'):
     """
     Constructor.
     """
     Script.__init__(self, name)
Esempio n. 17
0
 def __init__(self, name):
     Script.__init__(self, name)
     self._delay = 0
     self._doClient = False
     self._doServer = False
     return
Esempio n. 18
0
 def __init__(self, name="eqinfoapp"):
     """Constructor.
     """
     Application.__init__(self, name)
     return
Esempio n. 19
0
 def __init__(self, name="unittestapp", petsc_options=[("malloc_dump", "true")]):
     """Constructor.
     """
     Script.__init__(self, name)
     self.petscOptions = petsc_options
     return
Esempio n. 20
0
 def __init__(self, name="schedulerapp"):
     Script.__init__(self, name)
Esempio n. 21
0
 def __init__(self, name="pyreapp"):
     Script.__init__(self, name)
Esempio n. 22
0
 def __init__(self, name="geo2cart"):
     Application.__init__(self, name)
     self.numPoles = 0
     self.polesSource = []
     return
Esempio n. 23
0
 def __init__(self, name="greeterapp"):
     Script.__init__(self, name)
Esempio n. 24
0
 def __init__(self, name="jobapp"):
     Script.__init__(self, name)
Esempio n. 25
0
 def __init__(self, name="journalapp"):
     Script.__init__(self, name)