Bård Skaflestad
e5ecded0a8
Add convenience: Interpret ACTNUM==NULL as "all cells active".
...
Signed-off-by: Bård Skaflestad <Bard.Skaflestad@sintef.no>
2012-06-26 18:43:01 +02:00
Jostein R. Natvig
ea6c01dd95
Remove references to old intersection implementation.
...
Signed-off-by: Bård Skaflestad <Bard.Skaflestad@sintef.no>
2012-06-26 18:43:01 +02:00
Jostein R. Natvig
08f1e2e3e6
Change code that computes new node coordinates on bilinear surfaces defined by pillar pairs. Old code computes *rough* approximation, new code computes exact value.
...
Signed-off-by: Bård Skaflestad <Bard.Skaflestad@sintef.no>
2012-06-26 18:43:01 +02:00
Jostein R. Natvig
2be1ecf16c
Re-indent to four-spaces. While at it, do whitespace-cleanup.
...
Signed-off-by: Bård Skaflestad <Bard.Skaflestad@sintef.no>
2012-06-26 18:43:01 +02:00
Jostein R. Natvig
53bf30cb43
Parametrize macro, adjust braces. Remove commented-out warning message, that only confuse the reader.
...
Signed-off-by: Bård Skaflestad <Bard.Skaflestad@sintef.no>
2012-06-26 18:43:01 +02:00
Jostein R. Natvig
828141662e
Add braces.
...
Signed-off-by: Bård Skaflestad <Bard.Skaflestad@sintef.no>
2012-06-26 18:43:01 +02:00
Jostein R. Natvig
fb46be25c2
Remove unused files.
...
Signed-off-by: Bård Skaflestad <Bard.Skaflestad@sintef.no>
2012-06-26 18:43:01 +02:00
Jostein R. Natvig
03c752013d
Remove last references to sparse_table_t.
...
Signed-off-by: Bård Skaflestad <Bard.Skaflestad@sintef.no>
2012-06-26 18:43:01 +02:00
Jostein R. Natvig
0f2cbf66a2
Remove references to sparse_table_t, as this is only used to allocate and free two data vectors.
...
Signed-off-by: Bård Skaflestad <Bard.Skaflestad@sintef.no>
2012-06-26 18:43:01 +02:00
Jostein R. Natvig
fdc8af50b6
1) Remove disabled code 2) Restructure code in attempt to improve readability
...
Signed-off-by: Bård Skaflestad <Bard.Skaflestad@sintef.no>
2012-06-26 18:43:01 +02:00
Jostein R. Natvig
24c4335a9a
Move some code from "process_grdecl" to helper functions, to shorten function-
...
Signed-off-by: Bård Skaflestad <Bard.Skaflestad@sintef.no>
2012-06-26 18:43:01 +02:00
Bård Skaflestad
88f59b1a9c
Assert copyright for 2012.
...
Signed-off-by: Bård Skaflestad <Bard.Skaflestad@sintef.no>
2012-06-26 18:43:01 +02:00
Bård Skaflestad
a740a15d35
Fill faces.neighbors and nodes.coordinates along columns (i.e., unit stride in MATLAB). This means non-unit (but constant, 2 or 3) stride in C whence memory pre-fetching will typically be helpful. The cost is a (large) memory "rewind" operation at the end of each column.
...
Signed-off-by: Bård Skaflestad <Bard.Skaflestad@sintef.no>
2012-06-26 18:43:01 +02:00
Jostein R. Natvig
982c04bcdb
Order cells lexicographically. While here, fix misprint and adjust whitespace.
...
Signed-off-by: Bård Skaflestad <Bard.Skaflestad@sintef.no>
2012-06-26 18:43:01 +02:00
Jostein R. Natvig
51881748d5
Move variable declarations to top of each function. Declare function signatures in the top of each .c file (to avoid warnings).
...
Signed-off-by: Bård Skaflestad <Bard.Skaflestad@sintef.no>
2012-06-26 18:43:01 +02:00
Jostein R. Natvig
1600f1b4ca
Replace automatic build system with more warnings turned on-
...
Signed-off-by: Bård Skaflestad <Bard.Skaflestad@sintef.no>
2012-06-26 18:43:01 +02:00
Jostein R. Natvig
e8dd63b5df
Fix a couple of typo's.
...
Signed-off-by: Bård Skaflestad <Bard.Skaflestad@sintef.no>
2012-06-26 18:43:01 +02:00
Jostein R. Natvig
d711a08b55
To bring behavior of processgrid closer to that of processGRDECL, add post-processing to split grid in connected pieces.
...
Signed-off-by: Bård Skaflestad <Bard.Skaflestad@sintef.no>
2012-06-26 18:43:01 +02:00
Jostein R. Natvig
ca0e2600db
Do not check ZCORN monotonicity in inactive cells.
...
Signed-off-by: Bård Skaflestad <Bard.Skaflestad@sintef.no>
2012-06-26 18:43:01 +02:00
Halvor M. Nilsen
f11772b265
corrected documentation
...
Signed-off-by: Bård Skaflestad <Bard.Skaflestad@sintef.no>
2012-06-26 18:43:01 +02:00
Halvor M. Nilsen
1f0b08755c
bska fixed integer overflow in malloc call
...
Signed-off-by: Bård Skaflestad <Bard.Skaflestad@sintef.no>
2012-06-26 18:43:01 +02:00
Bård Skaflestad
f2b111f504
Implement new, required field 'G.griddim'.
...
Signed-off-by: Bård Skaflestad <Bard.Skaflestad@sintef.no>
2012-06-26 18:43:01 +02:00
Jostein R. Natvig
5189046528
Separate build script and calling interface for processgrid. This enables simple Matlab postprocessing of output from C-code. This revision adds the 'griddim' field.
...
Signed-off-by: Bård Skaflestad <Bard.Skaflestad@sintef.no>
2012-06-26 18:43:01 +02:00
Jostein R. Natvig
f1ebf2e2cf
Fix stupid typo.
...
Signed-off-by: Bård Skaflestad <Bard.Skaflestad@sintef.no>
2012-06-26 18:43:01 +02:00
Bård Skaflestad
ba347a9257
GCC 4.4 is perfectly fine. Don't bother using a non-default compiler that might not be available (or differently named) on another system.
...
Signed-off-by: Bård Skaflestad <Bard.Skaflestad@sintef.no>
2012-06-26 18:43:01 +02:00
Bård Skaflestad
691c3a3b7b
By jrn's blessing, enable the alternative implementation of 'processgrid'. Also remove the existing implementation.
...
While here, assert copyright for 2011.
Signed-off-by: Bård Skaflestad <Bard.Skaflestad@sintef.no>
2012-06-26 18:43:00 +02:00
Bård Skaflestad
714e052822
Preserve parameter validity status in (nrhs == 2) case.
...
Signed-off-by: Bård Skaflestad <Bard.Skaflestad@sintef.no>
2012-06-26 18:43:00 +02:00
Bård Skaflestad
d78aae5276
The '.type' is supposed to be a cell array of strings, not a mere string. Update accordingly.
...
While here, infer the '.type' value from the function name rather than
hard-coding 'processgrid'.
Signed-off-by: Bård Skaflestad <Bard.Skaflestad@sintef.no>
2012-06-26 18:43:00 +02:00
Bård Skaflestad
b23ad048a2
Suggest an alternative implementation of the 'processgrid' function. This, disabled, implementation follows a two-stage allocate+fill algorithm that is slightly easier to control in memory-tight environments. We still have to maintain two copies of the grid, though.
...
Signed-off-by: Bård Skaflestad <Bard.Skaflestad@sintef.no>
2012-06-26 18:43:00 +02:00
Bård Skaflestad
fbe8157332
Export the cell-face tags (i.e., cells.faces(:,2)) back to M in a manner consistent with the traditional semantics of the grid_structure.
...
Signed-off-by: Bård Skaflestad <Bard.Skaflestad@sintef.no>
2012-06-26 18:43:00 +02:00
Jostein R. Natvig
a566bc8346
Comment.
...
Signed-off-by: Bård Skaflestad <Bard.Skaflestad@sintef.no>
2012-06-26 18:43:00 +02:00
Bård Skaflestad
5d4e216cec
Anchor Doxygen comments to current line.
...
Existing mark-up (/** ... */) would erroneously apply the documentation
of one field to the one below. Using /**< ... */ avoids this problem.
Found by reading the Doxygen manual more carefully...
2012-06-26 11:44:30 +02:00
Roland Kaufmann
27a450405b
Convert ignore file from Mercurial to Git
2012-06-25 23:22:22 +02:00
Roland Kaufmann
d879c7e2f9
Remove superfluous tags file
2012-06-25 23:22:22 +02:00
Bård Skaflestad
e90e71ef6a
Add stub documentation of public interfaces.
...
Typical usage process is not discussed.
2012-06-25 01:15:57 +02:00
Bård Skaflestad
dbde5af7e4
Document module and routines relating to per-cell contributions.
...
Per-well contributions and pressure/flux reconstruction remain.
2012-06-25 00:57:36 +02:00
Bård Skaflestad
6e8df003f1
Document the obsolescent well representation.
...
It is still in use by the hybridised pressure solvers.
2012-06-25 00:55:50 +02:00
Bård Skaflestad
bfaf6e0b87
Document public interface of common FSH module.
2012-06-24 16:50:16 +02:00
Bård Skaflestad
14f9faa011
Add Doxygen-style documentation to all interfaces.
2012-06-24 03:59:18 +02:00
Bård Skaflestad
c176893e97
Reference public header from canonical location.
2012-06-22 19:44:26 +02:00
Bård Skaflestad
94580a9b5f
Annotate preprocessor conditional for readability.
2012-06-22 19:43:22 +02:00
Bård Skaflestad
f362036e17
Reference public header from canonical location in !MEX case.
2012-06-22 19:42:07 +02:00
Bård Skaflestad
f77a7c19ae
Reference module headers from canonical location.
2012-06-22 19:39:52 +02:00
Bård Skaflestad
7946509f6c
Reference public header from canonical location.
2012-06-22 19:37:51 +02:00
Bård Skaflestad
25cc61d481
Reference <ErrorMacros.hpp> from canonical location.
2012-06-22 19:35:19 +02:00
Bård Skaflestad
c5ed1cae04
Reference headers from canonical locations.
2012-06-22 19:33:36 +02:00
Bård Skaflestad
d7b7a930ac
Reference class header from canonical position.
2012-06-22 19:32:18 +02:00
Bård Skaflestad
46389f85e3
Insert another <CODE></CODE> pair that was missing.
2012-06-22 15:44:39 +02:00
Bård Skaflestad
13738e32fe
Merge from upstream.
2012-06-22 15:41:37 +02:00
Bård Skaflestad
c155c221e9
Refine description of csrmatrix_new_elms_pushback()
...
While here, tighten the distinction between <CODE> and non-<CODE>
mark-up.
2012-06-22 15:37:50 +02:00