Commit Graph

412 Commits

Author SHA1 Message Date
Bård Skaflestad
58591b7503 Add preliminary TPFA transmissibility calculator. 2010-10-24 15:26:21 +02:00
Bård Skaflestad
98afc235bc Change 'P' term sign in accordance with MRST impl. 2010-10-21 14:13:17 +02:00
Bård Skaflestad
3715c2b403 Trivial, janitorial change.
Correct a comment and break a long line.
2010-10-20 19:17:58 +02:00
Bård Skaflestad
b193e461ca Add utilities for computing derived fluid quantities.
These are (currently) entirely geared towards pressure solvers.
2010-10-20 19:14:07 +02:00
Bård Skaflestad
a886165290 Correct spelling error in comment. 2010-10-20 10:11:36 +02:00
Bård Skaflestad
16378ac793 Janitorial work to re-enable building.
Remove defunct well support inherited from ifsh.c.  Rename ifsh_*
functions to fsh_* functions.  Update calls accordingly.
2010-10-20 10:10:13 +02:00
Bård Skaflestad
4388dc68d6 Add initial files for implementing compressible flows. 2010-10-19 23:04:15 +02:00
Bård Skaflestad
d2fa5f4e10 Re-factor IFSH into FSH common and IFSH special parts. In
preparation of adding compressible flow solver.
2010-10-15 18:49:46 +02:00
Bård Skaflestad
84a6a1c9ae Add facilities for computing/updating gpress/Binv.
We were already computing the inverse IP, but now centralise the
gpress as well.  Moreover, the mim_ip_*_update() functions will assist
in the pressure solvers accepting effective inner products and gravity
pressures only.
2010-10-14 14:20:11 +02:00
Bård Skaflestad
4a2b5e4e0e Move implementation of vector_zero() to central location.
There is no need for each file to contain a separate, though
trivial, implementation of this feature.
2010-10-14 13:58:47 +02:00
Bård Skaflestad
2985200ad5 Ignore files generated by the Autotools. 2010-10-13 23:21:17 +02:00
Bård Skaflestad
fdf089c6a8 Remark that enumerate_active_bf() is restricted to internal CFs. 2010-10-13 19:02:06 +02:00
Bård Skaflestad
c026c35bf7 Use canonical include guards.
Suggested by atgeirr.  Template:

   OPM_<FILENAME>_HEADER_INCLUDED
2010-10-13 18:35:15 +02:00
Jostein R. Natvig
789217900e Remove unused function declarations.
Suggest use of decorated include guards.
2010-10-13 11:35:10 +02:00
Atgeirr Flø Rasmussen
d3ea54b1c8 Whitespace. 2010-10-12 13:14:17 +02:00
Bård Skaflestad
a974c729bd Fix typos. 2010-10-12 11:05:55 +00:00
Atgeirr Flø Rasmussen
d8653210af Added C++ interface files to installed headers. 2010-10-12 10:50:05 +00:00
Atgeirr Flø Rasmussen
a1b451c77f Updated IfshInterface to match changes to opmpressure (which used to be libmimetic,
still in 'libmimetic' subdir).
2010-10-12 10:40:00 +00:00
Atgeirr Flø Rasmussen
ab2e260f53 Changed names of C++ classes implementing interface. 2010-10-12 10:28:50 +00:00
Atgeirr Flø Rasmussen
9a4b131186 Changed header locations to opm/pressure and library name to opmpressure. 2010-10-12 09:06:07 +00:00
Bård Skaflestad
5b9215f55d Remove all mention of silent-rules. 2010-10-12 08:52:35 +00:00
Atgeirr Flø Rasmussen
3cf1f1b5da Made all C headers includeable from C++. 2010-10-12 07:44:02 +00:00
Atgeirr Flø Rasmussen
7929e7d25f Commented out AM_SILENT_RULES, since it requires automake 1.11 which I don't have by default,
and may therefore be expected to be missing at occasional user sites.
2010-10-12 07:34:24 +00:00
Atgeirr Flø Rasmussen
d08920476e Added copyright block to all source code files. 2010-10-12 07:25:46 +00:00
Bård Skaflestad
3cb7fd0de0 Suppress signed/unsigned comparison in assert(). 2010-10-11 16:11:15 +00:00
Bård Skaflestad
14050875f6 Experiment with silent rules. Defaults up for discussion. 2010-10-11 16:02:58 +00:00
Bård Skaflestad
de5575e367 Heed advice of autoscan(1). 2010-10-11 16:01:18 +00:00
Atgeirr Flø Rasmussen
ea4a164fea Modified configure.ac to build fine on my Mac OS X install.
Added configure-generated things to ignire props.
2010-10-11 15:30:44 +00:00
Bård Skaflestad
bdca3e8663 Provide additional function descriptions. 2010-10-11 14:17:21 +00:00
Bård Skaflestad
65672d5c0a Remove delusional assertion. While its predecessor asserted basic
sanity, the current check would never be satisfied in a reasonable
  grid.
2010-10-06 21:08:56 +00:00
Bård Skaflestad
b977ddab80 Quash a number of buglets:
- Adjust total number of DOF for zero-based indexing

    - Assert only that end pointer is within allocated range.

    - Count block DOFs prior to inspecting the values.

    - Fully exclude gravity effects before we implement the actual
      solution.

    - Remove coefficient matrix zero eigenvalue as we don't
      (currently) support any prescribed pressure values.
2010-10-06 19:58:41 +00:00
Bård Skaflestad
bb0d562155 In the interest of autonomy, forward declare struct coarse_topology. 2010-10-06 19:52:47 +00:00
Bård Skaflestad
3aedc2bc27 Indent region following insertion of conditional in -r5507.
White-space only, no functional changes.
2010-10-06 19:30:36 +00:00
Bård Skaflestad
6da1feb765 In coarse_topology_build_final(), whilst constructing the sub-face
mapping, guard against bns[b1] being NULL.  This will legitimately
  occur in this implementation whenever b1's neighbouring blocks are
  all numbered less than b1, e.g., for the very last block.

  Uncovered by: knl (During Shell presentation)
2010-10-06 19:29:10 +00:00
Bård Skaflestad
9f7d6e7ae5 Implement FS flux reconstruction. Untested. 2010-10-05 21:45:51 +00:00
Bård Skaflestad
e5980f61dc For purpose of fine-scale flux reconstruction, compute and expose
the reverse (BF->CG conn) DOF mapping.
2010-10-05 21:44:30 +00:00
Bård Skaflestad
42bc24386c Add first cut at MsMFEM solver. Fine-scale flux reconstruction
missing.  Also, *very* limited driving forces ATM (explicit sources
  only).  At least it builds...
2010-10-05 17:54:53 +00:00
Bård Skaflestad
b44a30cb61 M-x delete-trailing-whitespace . 2010-10-05 14:00:40 +00:00
Bård Skaflestad
34c563c047 Correct another off-by-one in the CSR start pointer implementation. 2010-10-04 17:43:45 +00:00
Bård Skaflestad
ac8ddc2061 Store BF values according to (block) outflow sign.
Correct a nasty error where we were passing the number of coarse
  blocks off as the total number of fine-scale cells.
2010-10-04 17:43:08 +00:00
Bård Skaflestad
8ffb83467f Implement facility for passing external solver software to resolve
the local systems of linear equations.

  Implement utility for deriving symmetrised (projected) basis
  function flux values from a back-substitution process following a
  local system solve.
2010-10-04 12:15:53 +00:00
Bård Skaflestad
203890ed69 CSR start pointer definition loop runs from 1 to nbins+1 inclusive.
Fix off-by-one in define_csr_sparsity...

  Replace useless table of number of *internal* fine-scale faces per
  block with the marginally more useful total number of fine-scale
  faces per block.  Otherwise we were allocating too little space for
  the local systems.
2010-10-04 09:00:21 +00:00
Bård Skaflestad
8b5fa452ee Edge closer to working BF computation. Local system solve and BF
storage remaining.  Largely untested.
2010-10-03 22:40:55 +00:00
Bård Skaflestad
f30e381b7c Assert copyright. 2010-10-03 22:38:38 +00:00
Bård Skaflestad
8413144b50 Correct a few off-by-ones in the CSR push-back implementation. 2010-10-03 22:01:15 +00:00
Bård Skaflestad
4e21adc80b Reorder internal functions to expose logical sections.
Catch up to renaming of fields in struct coarse_sys (-r5448).

  Implement first cut at local system assembly.  Untested.
2010-10-01 18:20:58 +00:00
Bård Skaflestad
e163a62fc6 Rename position fields of struct coarse_sys to emphasise relation
with corresponding data array.
2010-10-01 18:19:43 +00:00
Atgeirr Flø Rasmussen
8df279ca1c Documented mim_ip_simple_all. 2010-10-01 12:21:24 +00:00
Atgeirr Flø Rasmussen
c0daca5232 Documented most of ifsh.h. 2010-10-01 12:06:16 +00:00
Bård Skaflestad
d8b36289d5 Move the (C equivalent of the) const_cast<>() to mim_ip_simple_all()
call site.
2010-10-01 07:34:29 +00:00