Пример #1
0
 private List<CSharpGL.Tuple<WellRenderer, LabelRenderer>> CreateWellList(SimulationInputData inputData, CatesianGrid grid)
 {
     WellSpecsCollection wellSpecsList = inputData.RootDataFile.GetWELSPECS();
     WellCompatCollection wellCompatList = inputData.RootDataFile.GetCOMPDAT();
     if (wellSpecsList == null || wellSpecsList.Count <= 0)
     {
         throw new ArgumentException("not found WELLSPECS info for the well");
     }
     // rename Well3DHelper to WellPipelineBuilder.
     WellPipelineBuilder well3DHelper = new HexahedronGridWellPipelineBuilder(grid);
     return well3DHelper.Convert(-grid.DataSource.Position, wellSpecsList, wellCompatList);
 }
Пример #2
0
        private List <CSharpGL.Tuple <WellRenderer, LabelRenderer> > CreateWellList(SimulationInputData inputData, CatesianGrid grid)
        {
            WellSpecsCollection  wellSpecsList  = inputData.RootDataFile.GetWELSPECS();
            WellCompatCollection wellCompatList = inputData.RootDataFile.GetCOMPDAT();

            if (wellSpecsList == null || wellSpecsList.Count <= 0)
            {
                throw new ArgumentException("not found WELLSPECS info for the well");
            }
            // rename Well3DHelper to WellPipelineBuilder.
            WellPipelineBuilder well3DHelper = new HexahedronGridWellPipelineBuilder(grid);

            return(well3DHelper.Convert(-grid.DataSource.Position, wellSpecsList, wellCompatList));
        }