Commit Graph

250 Commits

Author SHA1 Message Date
Atgeirr Flø Rasmussen
976e12ca8b Added .hgignore file. 2010-10-26 10:11:26 +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
Bård Skaflestad
914d43e260 Expand allocation implementation. Still incomplete. 2010-09-30 22:07:13 +00:00
Bård Skaflestad
6126c0b4ea Add a routine for allocating a CSR matrix with known number of rows
and non-zeros.  Note that this routine is for allocation only.
  Caller must create and manage sparsity structure if this is being
  used in a global assembly process.

  This routine finds utility in MsMFEM BF construction.
2010-09-30 21:37:14 +00:00
Bård Skaflestad
4fce254e66 Assert copyright. 2010-09-30 20:08:18 +00:00
Bård Skaflestad
ecdd4f06c1 Initial, incomplete, gateway routine to basis function assembly. 2010-09-30 16:11:57 +00:00
Atgeirr Flø Rasmussen
ac1de1e360 First attempt at gravity and boundary conditions. Does not seem to work yet. 2010-09-30 13:55:26 +00:00
Bård Skaflestad
d3db74115d Add a word of caution on BC (flux) values in assemble() method. 2010-09-30 07:53:07 +00:00
Atgeirr Flø Rasmussen
9a408dc319 Added some simple state management to prevent certain call order errors. 2010-09-30 07:35:28 +00:00
Bård Skaflestad
5826cc1c5e M-x delete-trailing-whitespace . 2010-09-29 16:37:39 +00:00
Bård Skaflestad
ec5456011b Ignore files generated by Autotools suite. 2010-09-29 13:05:33 +00:00
Bård Skaflestad
65938abe93 Split MEX support out of libmimetic and into two separate dirs. 2010-09-29 09:42:03 +00:00
Bård Skaflestad
900041729b Remove disabled code. 2010-09-29 09:41:09 +00:00
Bård Skaflestad
1982240882 - We hereby nominate indexing by 2 in pimpl->cwells as one of the
worst decisions ever.  Fix yet another fall-out from this decision
    in the global assembly of well contributions.  Possibly the final
    *extant* of these, but further such changes will likely be
    introduced whenever we make a change.

    Revision needed.

  - Use correct sign when assembling total rate constraints.  Target
    values (currently) denote *injection* fluxes.
2010-09-29 09:31:50 +00:00