Skip to content

Commit

Permalink
Added current possible parameters to model.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricardo Serrano committed Jun 18, 2018
1 parent f356f8b commit f03f50f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions geomodelr/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ class GeologicalModel(cpp.Model):
with a transformation. Go to Geomodelr.com, create a new model and use it with this
tool.
"""
def __init__( self, geolojson, delete=True, params={'faults': 'basic'} ):
def __init__( self, geolojson, delete=True, params={'faults': 'basic', 'map': 'disabled'} ):
"""
Initializes the geological model from a Geological JSON
file created in www.geomodelr.com.
Expand All @@ -136,7 +136,8 @@ def __init__( self, geolojson, delete=True, params={'faults': 'basic'} ):
Args:
(dict) geolojson: The Geological JSON.
delete: Delete the geojson after creating the cpp model to free memory.
params: Parameters to interpolate the model: { 'faults': 'disabled'|'basic'|'cover' }
params: Parameters to interpolate the model: { 'faults': 'disabled'|'basic'|'cover',
'map': 'disabled'|'soils' }
"""

self.geojson = geolojson
Expand Down
2 changes: 1 addition & 1 deletion geomodelr/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1257,7 +1257,7 @@ def test_feflow(self):
Geo_Data = True
Graph = True

Rows = 40; Cols = 40; Layers = 6; Angle = 20; DZ = 0.5
Rows = 150; Cols = 150; Layers = 50; Angle = 20; DZ = 0.5

Units = geo_model.units
Kh = np.arange(len(Units))
Expand Down

0 comments on commit f03f50f

Please sign in to comment.