mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
rename GridSize -> DomainSize, Grid\.?Cells -> Cells
this hopefully reduces confusion about what which parameter means. the Domain* parameters specify the physical size of the simulated domain, the Cells* specify how many cells the grid has into the direction of each axis.
This commit is contained in:
parent
a8c039bb8b
commit
2416905f45
@ -1,7 +1,6 @@
|
||||
EndTime = 500e3 # duration of the simulation [s]
|
||||
InitialTimeStepSize = 10 # initial time step size [s]
|
||||
[Grid]
|
||||
SizeX = 300 # x-coordinate of the upper-right corner of the grid [m]
|
||||
SizeY = 60 # y-coordinate of the upper-right corner of the grid [m]
|
||||
DomainSizeX = 300 # x-coordinate of the upper-right corner of the physical domain [m]
|
||||
DomainSizeY = 60 # y-coordinate of the upper-right corner of the physical domain [m]
|
||||
CellsX = 100 # x-resolution of the grid
|
||||
CellsY = 1 # y-resolution of the grid
|
||||
|
@ -1,7 +1,6 @@
|
||||
EndTime = 100000 # duration of the simulation [s]
|
||||
InitialTimeStepSize = 10 # initial time step size [s]
|
||||
[Grid]
|
||||
SizeX = 300 # x-coordinate of the upper-right corner of the grid [m]
|
||||
SizeY = 60 # y-coordinate of the upper-right corner of the grid [m]
|
||||
DomainSizeX = 300 # x-coordinate of the upper-right corner of the physical domain [m]
|
||||
DomainSizeY = 60 # y-coordinate of the upper-right corner of the physical domain [m]
|
||||
CellsX = 100 # x-resolution of the grid
|
||||
CellsY = 1 # y-resolution of the grid
|
||||
|
@ -103,13 +103,13 @@ public:
|
||||
SET_BOOL_PROP(TutorialProblemCoupled, EnableGravity, false); /*@\label{tutorial-coupled:gravity}@*/
|
||||
|
||||
// define the properties required by the cube grid creator
|
||||
SET_SCALAR_PROP(TutorialProblemCoupled, GridSizeX, 300.0);
|
||||
SET_SCALAR_PROP(TutorialProblemCoupled, GridSizeY, 60.0);
|
||||
SET_SCALAR_PROP(TutorialProblemCoupled, GridSizeZ, 0.0);
|
||||
SET_SCALAR_PROP(TutorialProblemCoupled, DomainSizeX, 300.0);
|
||||
SET_SCALAR_PROP(TutorialProblemCoupled, DomainSizeY, 60.0);
|
||||
SET_SCALAR_PROP(TutorialProblemCoupled, DomainSizeZ, 0.0);
|
||||
|
||||
SET_INT_PROP(TutorialProblemCoupled, GridCellsX, 100);
|
||||
SET_INT_PROP(TutorialProblemCoupled, GridCellsY, 1);
|
||||
SET_INT_PROP(TutorialProblemCoupled, GridCellsZ, 0);
|
||||
SET_INT_PROP(TutorialProblemCoupled, CellsX, 100);
|
||||
SET_INT_PROP(TutorialProblemCoupled, CellsY, 1);
|
||||
SET_INT_PROP(TutorialProblemCoupled, CellsZ, 0);
|
||||
}
|
||||
|
||||
/*!
|
||||
|
@ -102,13 +102,13 @@ SET_SCALAR_PROP(TutorialProblemDecoupled, CFLFactor, 0.95); /*@\label{tutorial-d
|
||||
SET_BOOL_PROP(TutorialProblemDecoupled, EnableGravity, false); /*@\label{tutorial-decoupled:gravity}@*/
|
||||
|
||||
// define the properties required by the cube grid creator
|
||||
SET_SCALAR_PROP(TutorialProblemDecoupled, GridSizeX, 300.0);
|
||||
SET_SCALAR_PROP(TutorialProblemDecoupled, GridSizeY, 60.0);
|
||||
SET_SCALAR_PROP(TutorialProblemDecoupled, GridSizeZ, 0.0);
|
||||
SET_SCALAR_PROP(TutorialProblemDecoupled, DomainSizeX, 300.0);
|
||||
SET_SCALAR_PROP(TutorialProblemDecoupled, DomainSizeY, 60.0);
|
||||
SET_SCALAR_PROP(TutorialProblemDecoupled, DomainSizeZ, 0.0);
|
||||
|
||||
SET_INT_PROP(TutorialProblemDecoupled, GridCellsX, 100);
|
||||
SET_INT_PROP(TutorialProblemDecoupled, GridCellsY, 1);
|
||||
SET_INT_PROP(TutorialProblemDecoupled, GridCellsZ, 0);
|
||||
SET_INT_PROP(TutorialProblemDecoupled, CellsX, 100);
|
||||
SET_INT_PROP(TutorialProblemDecoupled, CellsY, 1);
|
||||
SET_INT_PROP(TutorialProblemDecoupled, CellsZ, 0);
|
||||
} /*@\label{tutorial-decoupled:propertysystem-end}@*/
|
||||
|
||||
/*! \ingroup DecoupledProblems
|
||||
|
Loading…
Reference in New Issue
Block a user