Commit Graph
94 Commits
Author SHA1 Message Date
Liu Ming 81f6c2dd8e rename ParseMode as ParseContext. 2016-03-17 09:57:59 +08:00
Liu Ming 0a5be9ba52 rename ParseMode in examples folder. 2016-03-17 09:46:12 +08:00
Liu Ming d943cbfe2a rename ParseMode as ParseContext. 2016-03-17 08:56:38 +08:00
Liu Ming 897aa67b89 use two slashes for comments inside functions. 2016-03-11 17:19:39 +08:00
Liu Ming 26e18bdcc4 use error variable. 2016-03-11 17:15:32 +08:00
Liu Ming aa32349f19 fix saturation family bug. 2016-03-11 17:13:40 +08:00
Liu Ming eafa6e2d9a fix indentation and fluid system issues. 2016-03-11 17:03:31 +08:00
Liu Ming 47fefe9e3a Merge remote branch 'remotes/opm/master' into solvent-diagnostics 2016-03-10 14:38:22 +08:00
Liu Ming b7972eb01c Add solvent saturation functions support. 2016-03-10 14:32:43 +08:00
Liu Ming 95d65222fa Add solvent to fluid system. 2016-03-10 11:17:18 +08:00
Liu Ming 58f53cae2a make grid as template parameter. 2016-03-04 09:09:38 +08:00
Liu Ming e12ca5a825 change .LOG to .SATFUNCLOG. 2016-03-02 14:58:37 +08:00
Liu Ming 61ebad5bba use standard filename for output log file. 2016-02-19 09:35:15 +08:00
Liu Ming 10baa52828 Omit some usages of to_string function. 2016-01-25 11:18:56 +08:00
Liu Ming 56868d8a6e Add more parser mode options. 2016-01-25 11:13:19 +08:00
Liu Ming 9e9287f20d change headline to saturation functions diagnostics. 2016-01-25 11:00:23 +08:00
Liu Ming 039f9ce1cc Format output and add SATNUM for scaled saturation endpoints. 2016-01-25 10:58:50 +08:00
Liu Ming 229282c310 fix bugs: counter warning as error. 2016-01-25 09:38:55 +08:00
Liu Ming 009f1b101b Merge remote branch 'remotes/opm/master' into update_relperm_diagnostics
Conflicts:
	opm/core/props/satfunc/RelpermDiagnostics.cpp
2016-01-22 13:04:01 +08:00
Liu Ming 8e397ef7ce fix typo. 2016-01-21 16:10:31 +08:00
Liu Ming ce0ec1e466 remove comments. 2016-01-21 14:04:01 +08:00
Liu Ming dd9b607c99 make const as more as possible 2016-01-21 14:01:02 +08:00
Liu Ming 743f17169d saturation region should start with 1. 2016-01-21 13:47:57 +08:00
Liu Ming c02c93ce1b fix formatting and grammar issues. 2016-01-21 13:45:32 +08:00
Liu Ming 2f2bd8a955 Add region number for output and output summary msg to streamLog 2016-01-18 11:10:51 +08:00
Liu Ming 682d0a7d1f change error to warning due to eclipse manual. 2016-01-18 11:10:36 +08:00
Liu Ming 3bce4e72b9 Add region number for unscaled endpoints. 2016-01-18 11:10:26 +08:00
Liu Ming 5e234fcd21 1. use scaled_messages_ to store scaled endpoints infor.
2. format the terminal output messages.
2016-01-18 11:10:14 +08:00
Liu Ming 1f809cf3d5 Add counter for numbering warning, error, proble, and bugs. 2016-01-18 11:10:04 +08:00
Liu Ming 3e143907d3 For that break clipse rules should raise an error. 2016-01-18 11:09:50 +08:00
Liu Ming f38fe6d91b add cell index for scaled endpoints error messages output. 2016-01-18 11:09:02 +08:00
Liu Ming 5d50776d1b fix relperm diagnostics tests issue. 2016-01-11 16:05:33 +08:00
Liu Ming 8605675199 make the constructor as explicit. 2015-12-09 16:51:07 +08:00
Liu Ming ef203a1d04 Merge remote branch 'remotes/opm/master' into relpermDiagnostics
Conflicts:
	CMakeLists_files.cmake
2015-12-08 16:08:02 +08:00
Liu Ming 8d393ac816 remove unused object. 2015-12-08 16:02:36 +08:00
Liu Ming 4790c2a2eb Add simple tests. 2015-12-02 10:59:13 +08:00
Liu Ming 252af19e4b Use OpmLog to output messages.
return messages and opmLog.
2015-12-02 10:58:06 +08:00
Liu Ming 944e1565fd rename variables and remove some unnecessary check and comments. 2015-12-01 13:49:49 +08:00
Liu Ming 780292875a remove unused functions and comments, add documentations to diagnosis(). 2015-11-30 10:52:34 +08:00
Liu Ming 91e14bec36 1. remove eclState from phaseCheck_ function.
2. rename messager_ to messages_.
3. change 0 and 1 to 0.0 and 1.0
4. change unsigned to int.
2015-11-30 10:42:57 +08:00
Liu Ming 544c7c24f9 reorder function and make more whitespace. 2015-11-30 10:26:59 +08:00
Liu Ming 5cfc3961db make enum as private members. 2015-11-30 10:20:43 +08:00
Liu Ming 6d06c36f64 1. Move implemtation to .cpp file.
2. Delete constructors.
3. Add config.h
2015-11-30 10:11:43 +08:00
Liu Ming 05ebcc2067 Fix bugs and remove reptetitive messagers. 2015-11-27 10:47:04 +08:00
Liu Ming 839d2e0471 Add NEXUS scaled endpoints consistency check. 2015-11-26 16:32:17 +08:00
Liu Ming e600383589 Check scaled endpoints mobility. 2015-11-26 15:40:40 +08:00
Liu Ming df6043ace6 add endpoints scaling consistency check. 2015-11-26 15:22:51 +08:00
Liu Ming 89d688d0f8 make use of fluidSystem. 2015-11-20 11:04:50 +08:00
Liu Ming 9428c829c3 unify the output messages. 2015-11-20 10:57:13 +08:00
Liu Ming 57f4348f6d clear up unused functions. Make some functions ad private member. 2015-11-19 16:24:09 +08:00
Liu Ming c128e218da use commandline instead of paramGroup. 2015-11-19 16:08:26 +08:00
Liu Ming 8810a47215 fix typo and output message. 2015-11-19 13:51:03 +08:00
Liu Ming 9e7d287212 use more relax ParseMode. 2015-11-19 13:31:19 +08:00
Liu Ming 4d2c656a72 clear message output. 2015-11-19 13:31:02 +08:00
Liu Ming 5938bbc74b solve git cherry-pick conflict. 2015-11-19 11:05:43 +08:00
Liu Ming 26b680970f Use messager container to store error message.
Conflicts:

	opm/core/props/satfunc/RelpermDiagnostics.hpp
2015-11-19 11:00:21 +08:00
Liu Ming 1db1bf6fd6 initial RelpermDiagnostics. 2015-11-19 09:21:00 +08:00
Liu Ming b2390e2662 Fix FaceDir issues, deeper z should be ZPlus.
Fix whitespaces.
2015-10-19 15:24:28 +08:00
Liu Ming ad819422b4 use range-for-loop to access cellfaces array. 2015-10-15 14:39:25 +08:00
Liu Ming 1c2b04f150 add comments and some minor changes. 2015-10-15 12:59:10 +08:00
Liu Ming ca87064f47 refactor interface_ function. 2015-10-15 10:36:59 +08:00
Liu Ming 60db229072 use namespace in the function and remove unused variables. 2015-10-15 10:24:41 +08:00
Liu Ming 30b7842c5d use opm-common ErrorMarcos. 2015-10-13 15:13:14 +08:00
Liu Ming 427c5b7afd use PinchMode instead of string. 2015-10-09 16:30:39 +08:00
Liu Ming 8788563088 fix actnum with cartesian grid issue. 2015-10-09 13:44:11 +08:00
Liu Ming 42eb5ed830 add files to cmake file list. 2015-10-09 10:33:52 +08:00
Liu Ming d8ccd32716 Add tests case for pinch processor. 2015-10-09 10:33:21 +08:00
Liu Ming 8beccf431f remove PINCH item 2 support. 2015-10-09 10:32:57 +08:00
Liu Ming fc263590ea Merge remote branch 'remotes/opm/master' into pinchprocessor 2015-10-09 09:42:50 +08:00
Liu Ming f50885112e Add PinchProcessor.hpp to cmake file list. 2015-09-30 15:32:18 +08:00
Liu Ming 0d0abcd396 remove unused variables. 2015-09-30 14:05:09 +08:00
Liu Ming 0667203879 Use std function to get the index of value in vector. 2015-09-30 14:04:49 +08:00
Liu Ming 043dc83667 use std::numeric_limits instead of the constant big value. 2015-09-30 14:04:30 +08:00
Liu Ming 1eda852cca - rename functions and variables.
- add comments.
- add NNC object.
2015-09-30 14:04:00 +08:00
Liu Ming 82701040b2 Add PinchProcessor for keyword PINCH and MINPV. 2015-09-30 14:03:22 +08:00
Liu Ming ea98e431bc adapt to api changes of opm-parser. 2015-02-12 16:04:41 +08:00
Liu Ming 4d7309b1bf Support minpvf. 2015-02-09 11:25:09 +08:00
Liu Ming 4cb4b09a32 add HAVE_PETSC for config.h 2014-07-08 11:03:26 +08:00
Liu Ming f9eecfb015 if no petsc installed, we should remove petsc related files from cmake file
list.
2014-07-08 11:02:07 +08:00
Liu Ming 53c539de6a use block{} guarantee for if and for statements. 2014-07-08 11:00:19 +08:00
Liu Ming d8962ff1ce Add HAVE_PETSC macro. 2014-07-08 10:58:39 +08:00
Liu Ming 399a8f6884 use malloc instead of calloc and rename functions. 2014-05-23 11:11:07 +08:00
Liu Ming afe51ae669 rename the private member. 2014-05-23 11:10:22 +08:00
Liu Ming 05d3f73390 use unordered_map for "string-enum" translations. 2014-05-23 11:09:04 +08:00
Liu Ming 1d75fdba58 Fix duplication errors. 2014-05-16 15:06:14 +08:00
Liu Ming 55f348e4cd Throw information for Petsc. 2014-05-16 15:02:49 +08:00
Liu Ming 8820781158 Test Petsc. 2014-05-16 14:55:23 +08:00
Liu Ming 46fca4d9fc Initialize Petsc from constructor.
Remove private members for initializing Petsc.
2014-05-16 14:53:49 +08:00
Liu Ming a0bf6042da Let opm-core find Petsc if PETSC_ROOT is specified. 2014-05-16 14:43:28 +08:00
Liu Ming fbfaf2aec1 cmake Module for finding Petsc. 2014-05-16 14:43:04 +08:00
Liu Ming 34dfb85919 Add Petsc to OPM. 2014-05-16 14:41:51 +08:00
Liu Ming 5fff1d25dc Read keyword PLYSHEAR. 2014-03-14 15:34:38 +08:00
Liu Ming 25dd2fadaa qq 2013-06-25 16:01:14 +08:00
Liu Ming 70eebfdad8 test for new files 2013-06-25 15:52:35 +08:00