mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
BlackoilModelEbosNldd: rename to BlackoilModelNldd
This commit is contained in:
@@ -438,7 +438,7 @@ list (APPEND PUBLIC_HEADER_FILES
|
||||
opm/simulators/flow/countGlobalCells.hpp
|
||||
opm/simulators/flow/priVarsPacking.hpp
|
||||
opm/simulators/flow/BlackoilModelEbos.hpp
|
||||
opm/simulators/flow/BlackoilModelEbosNldd.hpp
|
||||
opm/simulators/flow/BlackoilModelNldd.hpp
|
||||
opm/simulators/flow/BlackoilModelParameters.hpp
|
||||
opm/simulators/flow/Banners.hpp
|
||||
opm/simulators/flow/ConvergenceOutputConfiguration.hpp
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
|
||||
#include <opm/simulators/aquifers/AquiferGridUtils.hpp>
|
||||
#include <opm/simulators/aquifers/BlackoilAquiferModel.hpp>
|
||||
#include <opm/simulators/flow/BlackoilModelEbosNldd.hpp>
|
||||
#include <opm/simulators/flow/BlackoilModelNldd.hpp>
|
||||
#include <opm/simulators/flow/BlackoilModelParameters.hpp>
|
||||
#include <opm/simulators/flow/countGlobalCells.hpp>
|
||||
#include <opm/simulators/flow/NonlinearSolverEbos.hpp>
|
||||
@@ -251,7 +251,7 @@ namespace Opm {
|
||||
if (terminal_output) {
|
||||
OpmLog::info("Using Non-Linear Domain Decomposition solver (nldd).");
|
||||
}
|
||||
nlddSolver_ = std::make_unique<BlackoilModelEbosNldd<TypeTag>>(*this);
|
||||
nlddSolver_ = std::make_unique<BlackoilModelNldd<TypeTag>>(*this);
|
||||
} else if (param_.nonlinear_solver_ == "newton") {
|
||||
if (terminal_output) {
|
||||
OpmLog::info("Using Newton nonlinear solver.");
|
||||
@@ -1125,7 +1125,7 @@ namespace Opm {
|
||||
std::vector<StepReport> convergence_reports_;
|
||||
ComponentName compNames_{};
|
||||
|
||||
std::unique_ptr<BlackoilModelEbosNldd<TypeTag>> nlddSolver_; //!< Non-linear DD solver
|
||||
std::unique_ptr<BlackoilModelNldd<TypeTag>> nlddSolver_; //!< Non-linear DD solver
|
||||
|
||||
public:
|
||||
/// return the StandardWells object
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
along with OPM. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef OPM_BLACKOILMODELEBOS_NLDD_HEADER_INCLUDED
|
||||
#define OPM_BLACKOILMODELEBOS_NLDD_HEADER_INCLUDED
|
||||
#ifndef OPM_BLACKOILMODEL_NLDD_HEADER_INCLUDED
|
||||
#define OPM_BLACKOILMODEL_NLDD_HEADER_INCLUDED
|
||||
|
||||
#include <dune/common/timer.hh>
|
||||
|
||||
@@ -75,7 +75,7 @@ template<class TypeTag> class BlackoilModelEbos;
|
||||
|
||||
/// A NLDD implementation for three-phase black oil.
|
||||
template <class TypeTag>
|
||||
class BlackoilModelEbosNldd {
|
||||
class BlackoilModelNldd {
|
||||
public:
|
||||
using ElementContext = GetPropType<TypeTag, Properties::ElementContext>;
|
||||
using FluidSystem = GetPropType<TypeTag, Properties::FluidSystem>;
|
||||
@@ -96,7 +96,7 @@ public:
|
||||
//! \param model BlackOil model to solve for
|
||||
//! \param param param Model parameters
|
||||
//! \param compNames Names of the solution components
|
||||
BlackoilModelEbosNldd(BlackoilModelEbos<TypeTag>& model)
|
||||
BlackoilModelNldd(BlackoilModelEbos<TypeTag>& model)
|
||||
: model_(model), rank_(model_.ebosSimulator().vanguard().grid().comm().rank())
|
||||
{
|
||||
// Create partitions.
|
||||
@@ -968,4 +968,4 @@ private:
|
||||
|
||||
} // namespace Opm
|
||||
|
||||
#endif // OPM_BLACKOILMODELEBOS_NLDD_HEADER_INCLUDED
|
||||
#endif // OPM_BLACKOILMODEL_NLDD_HEADER_INCLUDED
|
||||
Reference in New Issue
Block a user