Bård Skaflestad
3a004d21ac
Include <gridinterface.h> for free_grid(), compute_geometry() and preprocess().
2012-02-10 14:12:19 +01:00
Atgeirr Flø Rasmussen
909007942e
Re-added necessary include files.
2012-02-09 23:14:50 +01:00
Atgeirr Flø Rasmussen
ba13070a74
Added new function create_hexa_grid_3d().
2012-02-08 15:00:56 +01:00
Bård Skaflestad
2de58be3fd
Fix code on platforms for which sizeof(double)!=sizeof(double*).
2012-02-06 12:52:41 +01:00
Bård Skaflestad
32f5ae1030
Implement basic memory management for new well interface.
...
Hook up to build, but actual location is likely to change...
2012-02-03 21:35:19 +01:00
Jostein R. Natvig
9def4966cc
Remove old function "create_cart_grid", please use "create_cart_grid_3d".
2012-02-03 10:56:28 +01:00
Atgeirr Flø Rasmussen
3c3db99076
Include necessary header for free_grid().
2012-02-01 15:57:02 +01:00
Jostein R. Natvig
7439640098
Unify grid destructors: new common function is called free_grid(...).
2012-02-01 15:45:13 +01:00
Jostein R. Natvig
fb99d7bdaf
1) Move extra fields found in struct CornerpointGrid into struct UnstructuredGrid.
...
2) Remove typedef grid_t
3) Remove struct CornerpointGrid.
4) handle fallout.
2012-02-01 14:56:38 +01:00
Atgeirr Flø Rasmussen
7eb2d297bf
Fix error message.
2012-01-31 22:30:24 +01:00
Atgeirr Flø Rasmussen
ae98a1c9c3
Removed extra occurrence of grid.h header file.
2012-01-27 09:43:28 +01:00
Jostein R. Natvig
80beabc3e9
Remove unnecessary include statement.
2012-01-25 10:44:37 +01:00
Atgeirr Flø Rasmussen
a8d5302cc7
Merge.
2012-01-19 13:58:47 +01:00
Bjørn Spjelkavik
e697fb72e3
Changed namespace Dune -> namespace Opm.
2012-01-19 13:50:57 +01:00
Bård Skaflestad
7f02860e11
Support switching off syntax check in constructor.
...
This is useful if a set of parameters can all be defaulted in which
case launching the executable *should* be a simple as
./a.out
but the constructor requirement leads to using
./a.out a=b
or something similar.
2012-01-19 09:13:05 +01:00
Jostein R. Natvig
3ba7623d41
Remove debug output.
2012-01-16 13:36:09 +01:00
Jostein R. Natvig
3b32089890
Whitespace cleanup.
2012-01-16 13:32:32 +01:00
Jostein R. Natvig
5e049918b7
Do not check monotonicity of ZCORN in inactive cells.
2012-01-16 13:31:39 +01:00
Bård Skaflestad
96b9ab737e
Fix corner case in neighbour definition.
2012-01-13 13:36:36 +01:00
Bård Skaflestad
ed7b7e5dab
Catch up to removal of grid.h from cart_grid.h .
...
Forgotten in change-set c503348e6d54 .
2012-01-13 12:23:37 +01:00
Bård Skaflestad
e2095a250c
Forward-declare "struct UnstructuredGrid" to eliminate grid.h dependency.
2012-01-13 12:21:44 +01:00
Ingeborg Ligaarden
355f9ebee7
Correct cart_grid fields face_nodepos for 2D/3D and facepos for 2D.
2012-01-04 18:19:25 +01:00
Atgeirr Flø Rasmussen
a55b664eb9
Now fluid cpp files compile successfully.
2011-12-21 13:29:15 +01:00
Atgeirr Flø Rasmussen
bd4236eda9
Now compiles parameter testcase, removed extraneous imported makefiles.
2011-12-19 16:02:51 +01:00
Atgeirr Flø Rasmussen
8f7bbddced
Merged.
2011-12-19 15:31:24 +01:00
Atgeirr Flø Rasmussen
81a72be23b
Now detects boost and compiles some tests.
2011-12-19 15:26:26 +01:00
Bård Skaflestad
18d33a3859
Don't immediately clear the freshly allocated geometry storage...
2011-12-19 13:27:54 +01:00
Atgeirr Flø Rasmussen
81b58a0acf
Now library contents build. Headers and tests not done yet.
2011-12-19 12:36:56 +01:00
Atgeirr Flø Rasmussen
7e90e732d9
Imported items from dune-cornerpoint/dune/common.
2011-12-19 11:34:50 +01:00
Bård Skaflestad
5610898bc9
Allocate storage for geometry in preprocess().
...
This allows recomputing the geometric primitives if (e.g.) we change
some of the node coordinates after constructing the grid.
2011-12-14 10:48:23 +01:00
Bård Skaflestad
c84e9dc53c
Initialise 'Nx' and 'nxf' before use in fill_cart_topology_2d().
2011-12-14 10:23:34 +01:00
Bård Skaflestad
1ccd7971e3
Remove unused variables.
2011-12-14 10:20:31 +01:00
Bård Skaflestad
f770effb3f
Don't re-declare destroy_cart_grid(). It's already in cart_grid.h .
2011-12-14 10:18:24 +01:00
Jostein R. Natvig
04f9d46c10
Add tensor grid constructors.
2011-12-14 09:30:25 +01:00
Jostein R. Natvig
d25ce5c002
Restructure code to prepare for reuse in future tensor_grid_* constructors.
2011-12-14 09:17:07 +01:00
Jostein R. Natvig
35a1070a5b
Merge from upstream.
2011-12-14 07:02:47 +01:00
Atgeirr Flø Rasmussen
23a61cb167
Changed code to use new include path: <opm/core/...>
2011-12-12 11:28:09 +01:00
Atgeirr Flø Rasmussen
4655108f98
Moved code from opmcore/ to opm/core/
2011-12-12 11:13:54 +01:00