mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
changing FlowNewtonMethod to be FlowExpNewtonMethod
as requested by reviewer.
This commit is contained in:
parent
729be2c658
commit
cd14204727
@ -23,10 +23,10 @@
|
||||
/*!
|
||||
* \file
|
||||
*
|
||||
* \copydoc Opm::FlowNewtonMethod
|
||||
* \copydoc Opm::FlowExpNewtonMethod
|
||||
*/
|
||||
#ifndef OPM_FLOW_NEWTON_METHOD_HPP
|
||||
#define OPM_FLOW_NEWTON_METHOD_HPP
|
||||
#ifndef OPM_FLOW_EXP_NEWTON_METHOD_HPP
|
||||
#define OPM_FLOW_EXP_NEWTON_METHOD_HPP
|
||||
|
||||
#include <opm/common/Exceptions.hpp>
|
||||
#include <opm/common/OpmLog/OpmLog.hpp>
|
||||
@ -65,7 +65,7 @@ namespace Opm {
|
||||
* \brief A newton solver.
|
||||
*/
|
||||
template <class TypeTag>
|
||||
class FlowNewtonMethod : public BlackOilNewtonMethod<TypeTag>
|
||||
class FlowExpNewtonMethod : public BlackOilNewtonMethod<TypeTag>
|
||||
{
|
||||
using ParentType = BlackOilNewtonMethod<TypeTag>;
|
||||
using DiscNewtonMethod = GetPropType<TypeTag, Properties::DiscNewtonMethod>;
|
||||
@ -92,7 +92,7 @@ class FlowNewtonMethod : public BlackOilNewtonMethod<TypeTag>
|
||||
friend ParentType;
|
||||
|
||||
public:
|
||||
explicit FlowNewtonMethod(Simulator& simulator) : ParentType(simulator)
|
||||
explicit FlowExpNewtonMethod(Simulator& simulator) : ParentType(simulator)
|
||||
{
|
||||
errorPvFraction_ = 1.0;
|
||||
relaxedMaxPvFraction_ = Parameters::get<TypeTag, Properties::EclNewtonRelaxedVolumeFraction>();
|
@ -74,7 +74,7 @@ struct WellModel<TypeTag, TTag::FlowExpTypeTag> {
|
||||
|
||||
template<class TypeTag>
|
||||
struct NewtonMethod<TypeTag, TTag::FlowExpTypeTag> {
|
||||
using type = FlowNewtonMethod<TypeTag>;
|
||||
using type = FlowExpNewtonMethod<TypeTag>;
|
||||
};
|
||||
|
||||
// currently, flowexp uses the non-multisegment well model by default to avoid
|
||||
|
@ -17,7 +17,7 @@
|
||||
along with OPM. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "config.h"
|
||||
#include "flownewtonmethod.hpp"
|
||||
#include "FlowExpNewtonMethod.hpp"
|
||||
#include "flowexp.hpp"
|
||||
|
||||
#include <opm/models/discretization/common/tpfalinearizer.hh>
|
||||
|
Loading…
Reference in New Issue
Block a user