changed generateFMTOMOinput from z, y, x to x, y, z

This commit is contained in:
Marcel Paffrath 2016-07-13 14:15:01 +02:00
parent fd569823f8
commit 63ff8e48c5

View File

@ -460,10 +460,10 @@ class SeisArray(object):
Generate FMTOMO input files from the SeisArray dimensions.
Generates: vgridsref.in, interfacesref.in, propgrid.in
:param: nPointsPropgrid, number of points in each direction of the propagation grid (z, y, x)
:param: nPointsPropgrid, number of points in each direction of the propagation grid (x, y, z)
:type: tuple
:param: nPointsInvgrid, number of points in each direction of the inversion grid (z, y, x)
:param: nPointsInvgrid, number of points in each direction of the inversion grid (x, y, z)
:type: tuple
:param: zBotTop, (bottom, top) dimensions of the model
@ -473,8 +473,8 @@ class SeisArray(object):
:type: float
'''
nRP, nThetaP, nPhiP = nPointsPropgrid
nRI, nThetaI, nPhiI = nPointsInvgrid
nPhiP, nThetaP, nRP = nPointsPropgrid
nPhiI, nThetaI, nRI = nPointsInvgrid
print('\n------------------------------------------------------------')
print('Automatically generating input for FMTOMO from array size.')