Skip to content
Snippets Groups Projects
Commit de481ae2 authored by Powers, Peter M.'s avatar Powers, Peter M.
Browse files

createGrid takes type

parent d1d1542f
No related branches found
No related tags found
1 merge request!146Lib updates
......@@ -65,6 +65,7 @@ class GridRuptureSet implements RuptureSet {
private GridSourceSet createSourceSet(double weight) {
SourceConfig.Grid config = data.sourceConfig().asGrid();
GridSourceSet grid = GridLoader.createGrid(
SourceType.GRID,
config,
feature.source,
locations,
......
......@@ -46,6 +46,7 @@ class SlabRuptureSet implements RuptureSet {
private SlabSourceSet createSourceSet(double weight) {
SourceConfig.Grid config = data.sourceConfig().asGrid();
GridSourceSet delegate = GridLoader.createGrid(
SourceType.INTRASLAB,
config,
feature.source,
locations,
......
......@@ -63,6 +63,7 @@ class ZoneRuptureSet implements RuptureSet {
SourceConfig.Grid config = data.sourceConfig().asGrid();
GridSourceSet grid = GridLoader.createGrid(
SourceType.ZONE,
config,
feature.source,
locations,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment