mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
drop macro EWOMS_REGISTER_PARAM
This commit is contained in:
@@ -373,33 +373,24 @@ public:
|
||||
{
|
||||
ParentType::registerParameters();
|
||||
|
||||
EWOMS_REGISTER_PARAM(TypeTag, Scalar, FluidSystemTemperatureLow,
|
||||
"The lower temperature [K] for tabulation of the "
|
||||
"fluid system");
|
||||
EWOMS_REGISTER_PARAM(TypeTag, Scalar, FluidSystemTemperatureHigh,
|
||||
"The upper temperature [K] for tabulation of the "
|
||||
"fluid system");
|
||||
EWOMS_REGISTER_PARAM(TypeTag, unsigned, FluidSystemNumTemperature,
|
||||
"The number of intervals between the lower and "
|
||||
"upper temperature");
|
||||
|
||||
EWOMS_REGISTER_PARAM(TypeTag, Scalar, FluidSystemPressureLow,
|
||||
"The lower pressure [Pa] for tabulation of the "
|
||||
"fluid system");
|
||||
EWOMS_REGISTER_PARAM(TypeTag, Scalar, FluidSystemPressureHigh,
|
||||
"The upper pressure [Pa] for tabulation of the "
|
||||
"fluid system");
|
||||
EWOMS_REGISTER_PARAM(TypeTag, unsigned, FluidSystemNumPressure,
|
||||
"The number of intervals between the lower and "
|
||||
"upper pressure");
|
||||
|
||||
EWOMS_REGISTER_PARAM(TypeTag, Scalar, Temperature,
|
||||
"The temperature [K] in the reservoir");
|
||||
EWOMS_REGISTER_PARAM(TypeTag, Scalar, MaxDepth,
|
||||
"The maximum depth [m] of the reservoir");
|
||||
EWOMS_REGISTER_PARAM(TypeTag, std::string, SimulationName,
|
||||
"The name of the simulation used for the output "
|
||||
"files");
|
||||
Parameters::registerParam<TypeTag, Properties::FluidSystemTemperatureLow>
|
||||
("The lower temperature [K] for tabulation of the fluid system");
|
||||
Parameters::registerParam<TypeTag, Properties::FluidSystemTemperatureHigh>
|
||||
("The upper temperature [K] for tabulation of the fluid system");
|
||||
Parameters::registerParam<TypeTag, Properties::FluidSystemNumTemperature>
|
||||
("The number of intervals between the lower and upper temperature");
|
||||
Parameters::registerParam<TypeTag, Properties::FluidSystemPressureLow>
|
||||
("The lower pressure [Pa] for tabulation of the fluid system");
|
||||
Parameters::registerParam<TypeTag, Properties::FluidSystemPressureHigh>
|
||||
("The upper pressure [Pa] for tabulation of the fluid system");
|
||||
Parameters::registerParam<TypeTag, Properties::FluidSystemNumPressure>
|
||||
("The number of intervals between the lower and upper pressure");
|
||||
Parameters::registerParam<TypeTag, Properties::Temperature>
|
||||
("The temperature [K] in the reservoir");
|
||||
Parameters::registerParam<TypeTag, Properties::MaxDepth>
|
||||
("The maximum depth [m] of the reservoir");
|
||||
Parameters::registerParam<TypeTag, Properties::SimulationName>
|
||||
("The name of the simulation used for the output files");
|
||||
}
|
||||
|
||||
/*!
|
||||
|
||||
@@ -407,17 +407,14 @@ public:
|
||||
{
|
||||
ParentType::registerParameters();
|
||||
|
||||
EWOMS_REGISTER_PARAM(TypeTag, Scalar, Temperature,
|
||||
"The temperature [K] in the reservoir");
|
||||
EWOMS_REGISTER_PARAM(TypeTag, Scalar, Initialpressure,
|
||||
"The initial pressure [Pa s] in the reservoir");
|
||||
EWOMS_REGISTER_PARAM(TypeTag,
|
||||
std::string,
|
||||
SimulationName,
|
||||
"The name of the simulation used for the output "
|
||||
"files");
|
||||
EWOMS_REGISTER_PARAM(TypeTag, Scalar, EpisodeLength,
|
||||
"Time interval [s] for episode length");
|
||||
Parameters::registerParam<TypeTag, Properties::Temperature>
|
||||
("The temperature [K] in the reservoir");
|
||||
Parameters::registerParam<TypeTag, Properties::Initialpressure>
|
||||
("The initial pressure [Pa s] in the reservoir");
|
||||
Parameters::registerParam<TypeTag, Properties::SimulationName>
|
||||
("The name of the simulation used for the output files");
|
||||
Parameters::registerParam<TypeTag, Properties::EpisodeLength>
|
||||
("Time interval [s] for episode length");
|
||||
}
|
||||
|
||||
/*!
|
||||
|
||||
@@ -305,9 +305,8 @@ public:
|
||||
{
|
||||
ParentType::registerParameters();
|
||||
|
||||
EWOMS_REGISTER_PARAM(TypeTag, Scalar, InitialWaterSaturation,
|
||||
"The initial saturation in the domain [] of the "
|
||||
"wetting phase");
|
||||
Parameters::registerParam<TypeTag, Properties::InitialWaterSaturation>
|
||||
("The initial saturation in the domain [] of the wetting phase");
|
||||
}
|
||||
|
||||
/*!
|
||||
|
||||
@@ -263,36 +263,29 @@ public:
|
||||
{
|
||||
ParentType::registerParameters();
|
||||
|
||||
EWOMS_REGISTER_PARAM(TypeTag, Scalar, LensLowerLeftX,
|
||||
"The x-coordinate of the lens' lower-left corner "
|
||||
"[m].");
|
||||
EWOMS_REGISTER_PARAM(TypeTag, Scalar, LensUpperRightX,
|
||||
"The x-coordinate of the lens' upper-right corner "
|
||||
"[m].");
|
||||
Parameters::registerParam<TypeTag, Properties::LensLowerLeftX>
|
||||
("The x-coordinate of the lens' lower-left corner [m].");
|
||||
Parameters::registerParam<TypeTag, Properties::LensUpperRightX>
|
||||
("The x-coordinate of the lens' upper-right corner [m].");
|
||||
|
||||
if (dimWorld > 1) {
|
||||
EWOMS_REGISTER_PARAM(TypeTag, Scalar, LensLowerLeftY,
|
||||
"The y-coordinate of the lens' lower-left "
|
||||
"corner [m].");
|
||||
EWOMS_REGISTER_PARAM(TypeTag, Scalar, LensUpperRightY,
|
||||
"The y-coordinate of the lens' upper-right "
|
||||
"corner [m].");
|
||||
Parameters::registerParam<TypeTag, Properties::LensLowerLeftY>
|
||||
("The y-coordinate of the lens' lower-left corner [m].");
|
||||
Parameters::registerParam<TypeTag, Properties::LensUpperRightY>
|
||||
("The y-coordinate of the lens' upper-right corner [m].");
|
||||
}
|
||||
|
||||
if (dimWorld > 2) {
|
||||
EWOMS_REGISTER_PARAM(TypeTag, Scalar, LensLowerLeftZ,
|
||||
"The z-coordinate of the lens' lower-left "
|
||||
"corner [m].");
|
||||
EWOMS_REGISTER_PARAM(TypeTag, Scalar, LensUpperRightZ,
|
||||
"The z-coordinate of the lens' upper-right "
|
||||
"corner [m].");
|
||||
Parameters::registerParam<TypeTag, Properties::LensLowerLeftZ>
|
||||
("The z-coordinate of the lens' lower-left corner [m].");
|
||||
Parameters::registerParam<TypeTag, Properties::LensUpperRightZ>
|
||||
("The z-coordinate of the lens' upper-right corner [m].");
|
||||
}
|
||||
|
||||
EWOMS_REGISTER_PARAM(TypeTag, Scalar, Permeability,
|
||||
"The intrinsic permeability [m^2] of the ambient "
|
||||
"material.");
|
||||
EWOMS_REGISTER_PARAM(TypeTag, Scalar, PermeabilityLens,
|
||||
"The intrinsic permeability [m^2] of the lens.");
|
||||
Parameters::registerParam<TypeTag, Properties::Permeability>
|
||||
("The intrinsic permeability [m^2] of the ambient material.");
|
||||
Parameters::registerParam<TypeTag, Properties::PermeabilityLens>
|
||||
("The intrinsic permeability [m^2] of the lens.");
|
||||
}
|
||||
|
||||
/*!
|
||||
|
||||
@@ -362,26 +362,20 @@ public:
|
||||
{
|
||||
ParentType::registerParameters();
|
||||
|
||||
EWOMS_REGISTER_PARAM(TypeTag, Scalar, LensLowerLeftX,
|
||||
"The x-coordinate of the lens' lower-left corner "
|
||||
"[m].");
|
||||
EWOMS_REGISTER_PARAM(TypeTag, Scalar, LensLowerLeftY,
|
||||
"The y-coordinate of the lens' lower-left corner "
|
||||
"[m].");
|
||||
EWOMS_REGISTER_PARAM(TypeTag, Scalar, LensUpperRightX,
|
||||
"The x-coordinate of the lens' upper-right corner "
|
||||
"[m].");
|
||||
EWOMS_REGISTER_PARAM(TypeTag, Scalar, LensUpperRightY,
|
||||
"The y-coordinate of the lens' upper-right corner "
|
||||
"[m].");
|
||||
Parameters::registerParam<TypeTag, Properties::LensLowerLeftX>
|
||||
("The x-coordinate of the lens' lower-left corner [m].");
|
||||
Parameters::registerParam<TypeTag, Properties::LensLowerLeftY>
|
||||
("The y-coordinate of the lens' lower-left corner [m].");
|
||||
Parameters::registerParam<TypeTag, Properties::LensUpperRightX>
|
||||
("The x-coordinate of the lens' upper-right corner [m].");
|
||||
Parameters::registerParam<TypeTag, Properties::LensUpperRightY>
|
||||
("The y-coordinate of the lens' upper-right corner [m].");
|
||||
|
||||
if (dimWorld == 3) {
|
||||
EWOMS_REGISTER_PARAM(TypeTag, Scalar, LensLowerLeftZ,
|
||||
"The z-coordinate of the lens' lower-left "
|
||||
"corner [m].");
|
||||
EWOMS_REGISTER_PARAM(TypeTag, Scalar, LensUpperRightZ,
|
||||
"The z-coordinate of the lens' upper-right "
|
||||
"corner [m].");
|
||||
Parameters::registerParam<TypeTag, Properties::LensLowerLeftZ>
|
||||
("The z-coordinate of the lens' lower-left corner [m].");
|
||||
Parameters::registerParam<TypeTag, Properties::LensUpperRightZ>
|
||||
("The z-coordinate of the lens' upper-right corner [m].");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -426,13 +426,13 @@ public:
|
||||
{
|
||||
ParentType::registerParameters();
|
||||
|
||||
EWOMS_REGISTER_PARAM(TypeTag, Scalar, Temperature,
|
||||
"The temperature [K] in the reservoir");
|
||||
EWOMS_REGISTER_PARAM(TypeTag, Scalar, MaxDepth,
|
||||
"The maximum depth [m] of the reservoir");
|
||||
EWOMS_REGISTER_PARAM(TypeTag, Scalar, WellWidth,
|
||||
"The width of producer/injector wells as a fraction of the width"
|
||||
" of the spatial domain");
|
||||
Parameters::registerParam<TypeTag, Properties::Temperature>
|
||||
("The temperature [K] in the reservoir");
|
||||
Parameters::registerParam<TypeTag, Properties::MaxDepth>
|
||||
("The maximum depth [m] of the reservoir");
|
||||
Parameters::registerParam<TypeTag, Properties::WellWidth>
|
||||
("The width of producer/injector wells as a fraction of the width"
|
||||
" of the spatial domain");
|
||||
}
|
||||
|
||||
/*!
|
||||
|
||||
Reference in New Issue
Block a user