Skip to content

Commit

Permalink
Map was not in the correct position.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricardo Serrano committed Jun 18, 2018
1 parent d07e999 commit f356f8b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion geomodelr/feflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ def create_feflow_input(name, model, units_data,
dz_min, time_units, algorithm,
faults_data, faults_method)


fd = open( name+".fem", "w" )

# PROBLEM
Expand Down Expand Up @@ -298,7 +299,7 @@ def create_feflow_input(name, model, units_data,
bdiff = [ bbox[5]-bbox[2], bbox[4]-bbox[1], bbox[3]-bbox[0] ]
maxd = max( bdiff )
fd.write("%(scale_fac)13.6e,%(scale_l)13.6e,%(scale_ratio)13.6e,%(eps)13.6e,%(x_o)13.6e,%(y_o)13.6e\n" %
{"scale_fac": PIX/maxd, "scale_l": PIX, "scale_ratio": 1, "eps": 1.0e-7, "x_o": X_inf, "y_o": Y_sup-bdiff[1]})
{"scale_fac": PIX/maxd, "scale_l": PIX, "scale_ratio": 1, "eps": 1.0e-7, "x_o": 0, "y_o": 0})

if nump < 10000:
num_columns = 80/6
Expand Down

0 comments on commit f356f8b

Please sign in to comment.