mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-09-05 04:40:19 -05:00
changed: remove embedded 'parameters' namespace in ParamGroup
inconsistent and unnecessary. this is purely a cosmetic change, the only exception was a function with the generic name 'split', which was renamed to splitParam to avoid confusion.
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
namespace Opm
|
||||
{
|
||||
|
||||
BlackoilPropertiesBasic::BlackoilPropertiesBasic(const parameter::ParameterGroup& param,
|
||||
BlackoilPropertiesBasic::BlackoilPropertiesBasic(const ParameterGroup& param,
|
||||
const int dim,
|
||||
const int num_cells)
|
||||
{
|
||||
|
||||
@@ -43,7 +43,7 @@ namespace Opm
|
||||
/// - mu1, mu2, mu3 (1.0) -- Viscosity in cP
|
||||
/// - porosity (1.0) -- Porosity
|
||||
/// - permeability (100.0) -- Permeability in mD
|
||||
BlackoilPropertiesBasic(const parameter::ParameterGroup& param,
|
||||
BlackoilPropertiesBasic(const ParameterGroup& param,
|
||||
const int dim,
|
||||
const int num_cells);
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ namespace Opm
|
||||
BlackoilPropertiesFromDeck::BlackoilPropertiesFromDeck(const Opm::Deck& deck,
|
||||
const Opm::EclipseState& eclState,
|
||||
const UnstructuredGrid& grid,
|
||||
const parameter::ParameterGroup& param,
|
||||
const ParameterGroup& param,
|
||||
bool init_rock)
|
||||
{
|
||||
std::vector<int> compressedToCartesianIdx
|
||||
@@ -81,7 +81,7 @@ namespace Opm
|
||||
int number_of_cells,
|
||||
const int* global_cell,
|
||||
const int* cart_dims,
|
||||
const parameter::ParameterGroup& param,
|
||||
const ParameterGroup& param,
|
||||
bool init_rock)
|
||||
{
|
||||
std::vector<int> compressedToCartesianIdx
|
||||
@@ -106,7 +106,7 @@ namespace Opm
|
||||
int number_of_cells,
|
||||
const int* global_cell,
|
||||
const int* cart_dims,
|
||||
const parameter::ParameterGroup& param,
|
||||
const ParameterGroup& param,
|
||||
bool init_rock)
|
||||
{
|
||||
init(deck,
|
||||
@@ -151,7 +151,7 @@ namespace Opm
|
||||
int number_of_cells,
|
||||
const int* global_cell,
|
||||
const int* cart_dims,
|
||||
const parameter::ParameterGroup& param,
|
||||
const ParameterGroup& param,
|
||||
bool init_rock)
|
||||
{
|
||||
// retrieve the cell specific PVT table index from the deck
|
||||
|
||||
@@ -68,7 +68,7 @@ namespace Opm
|
||||
BlackoilPropertiesFromDeck(const Opm::Deck& deck,
|
||||
const Opm::EclipseState& eclState,
|
||||
const UnstructuredGrid& grid,
|
||||
const parameter::ParameterGroup& param,
|
||||
const ParameterGroup& param,
|
||||
bool init_rock=true);
|
||||
|
||||
BlackoilPropertiesFromDeck(const Opm::Deck& deck,
|
||||
@@ -83,7 +83,7 @@ namespace Opm
|
||||
int number_of_cells,
|
||||
const int* global_cell,
|
||||
const int* cart_dims,
|
||||
const parameter::ParameterGroup& param,
|
||||
const ParameterGroup& param,
|
||||
bool init_rock=true);
|
||||
|
||||
BlackoilPropertiesFromDeck(const Opm::Deck& deck,
|
||||
@@ -92,7 +92,7 @@ namespace Opm
|
||||
int number_of_cells,
|
||||
const int* global_cell,
|
||||
const int* cart_dims,
|
||||
const parameter::ParameterGroup& param,
|
||||
const ParameterGroup& param,
|
||||
bool init_rock=true);
|
||||
|
||||
/// Destructor.
|
||||
@@ -304,7 +304,7 @@ namespace Opm
|
||||
int number_of_cells,
|
||||
const int* global_cell,
|
||||
const int* cart_dims,
|
||||
const parameter::ParameterGroup& param,
|
||||
const ParameterGroup& param,
|
||||
bool init_rock);
|
||||
|
||||
RockFromDeck rock_;
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
namespace Opm
|
||||
{
|
||||
|
||||
IncompPropertiesBasic::IncompPropertiesBasic(const parameter::ParameterGroup& param,
|
||||
IncompPropertiesBasic::IncompPropertiesBasic(const ParameterGroup& param,
|
||||
const int dim,
|
||||
const int num_cells)
|
||||
{
|
||||
|
||||
@@ -51,7 +51,7 @@ namespace Opm
|
||||
/// - \c mu1 \c mu2, \c mu3 (1.0) -- Viscosity in cP.
|
||||
/// - \c porosity (1.0) -- Porosity.
|
||||
/// - \c permeability (100.0) -- Permeability in mD.
|
||||
IncompPropertiesBasic(const parameter::ParameterGroup& param,
|
||||
IncompPropertiesBasic(const ParameterGroup& param,
|
||||
const int dim,
|
||||
const int num_cells);
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ namespace Opm
|
||||
}
|
||||
|
||||
|
||||
void PvtPropertiesBasic::init(const parameter::ParameterGroup& param)
|
||||
void PvtPropertiesBasic::init(const ParameterGroup& param)
|
||||
{
|
||||
int num_phases = param.getDefault("num_phases", 2);
|
||||
if (num_phases > 3 || num_phases < 1) {
|
||||
|
||||
@@ -44,7 +44,7 @@ namespace Opm
|
||||
/// - num_phases (2) -- Must be 1, 2 or 3.
|
||||
/// - rho1, rho2, rho3 (1.0e3) -- Density in kg/m^3
|
||||
/// - mu1, mu2, mu3 (1.0) -- Viscosity in cP
|
||||
void init(const parameter::ParameterGroup& param);
|
||||
void init(const ParameterGroup& param);
|
||||
|
||||
/// Initialize from arguments.
|
||||
/// Basic multi phase fluid pvt properties.
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
namespace Opm
|
||||
{
|
||||
|
||||
RockCompressibility::RockCompressibility(const parameter::ParameterGroup& param)
|
||||
RockCompressibility::RockCompressibility(const ParameterGroup& param)
|
||||
: pref_(0.0),
|
||||
rock_comp_(0.0)
|
||||
{
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
namespace Opm
|
||||
{
|
||||
|
||||
namespace parameter { class ParameterGroup; }
|
||||
class ParameterGroup;
|
||||
|
||||
class RockCompressibility
|
||||
{
|
||||
@@ -41,7 +41,7 @@ namespace Opm
|
||||
/// Accepts the following parameters (with defaults).
|
||||
/// rock_compressibility_pref (100.0) [given in bar]
|
||||
/// rock_compressibility (0.0) [given in bar^{-1}]
|
||||
RockCompressibility(const parameter::ParameterGroup& param);
|
||||
RockCompressibility(const ParameterGroup& param);
|
||||
|
||||
/// Returns true if there are compressibility effects.
|
||||
bool isActive() const;
|
||||
|
||||
@@ -108,7 +108,7 @@ namespace Opm
|
||||
|
||||
|
||||
/// Initialize from parameters.
|
||||
void SaturationPropsBasic::init(const parameter::ParameterGroup& param)
|
||||
void SaturationPropsBasic::init(const ParameterGroup& param)
|
||||
{
|
||||
int num_phases = param.getDefault("num_phases", 2);
|
||||
if (num_phases > 2 || num_phases < 1) {
|
||||
|
||||
@@ -43,7 +43,7 @@ namespace Opm
|
||||
/// The following parameters are accepted (defaults):
|
||||
/// - num_phases (2) -- Must be 1 or 2.
|
||||
/// - relperm_func ("Linear") -- Must be "Constant", "Linear" or "Quadratic".
|
||||
void init(const parameter::ParameterGroup& param);
|
||||
void init(const ParameterGroup& param);
|
||||
|
||||
enum RelPermFunc { Constant, Linear, Quadratic };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user