forked from OPM/opm-flow-editor-support
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDECK_ALIGN.DATA
More file actions
49 lines (39 loc) · 1.25 KB
/
Copy pathDECK_ALIGN.DATA
File metadata and controls
49 lines (39 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
-- ---------------------------------------------------------------------------
-- Test deck for the "OPM Flow: Align Record Columns in Deck" command.
--
-- Open this file and run the command (Command Palette or editor right-click).
-- It follows the INCLUDE chain below and aligns the record tables in EVERY
-- reachable file in a single operation:
--
-- DECK_ALIGN.DATA (this file - WELSPECS table below)
-- +-- include/schedule.inc (WCONPROD / GCONPROD tables, via $INC alias)
-- +-- include/wells.inc (COMPDAT table, nested INCLUDE)
--
-- Every record table here is deliberately MIS-aligned so the effect of the
-- command is obvious. Running the command should leave each column lined up.
-- ---------------------------------------------------------------------------
RUNSPEC
DIMENS
10 10 3 /
OIL
WATER
GAS
-- PATHS alias used by the first INCLUDE below, to exercise alias resolution
-- while collecting the deck's include files.
PATHS
'INC' './include' /
/
GRID
DX
300*100 /
SCHEDULE
-- Misaligned record table in the ROOT file (should be aligned in place):
WELSPECS
'PROD1' 'G1' 1 1 1* 'OIL' /
'PROD2' 'G1' 10 10 1* 'OIL' /
'INJ1' 'G2' 5 5 1* 'WATER' /
/
-- INCLUDE via the $INC PATHS alias.
INCLUDE
'$INC/schedule.inc' /
END